Make WordPress Core

Opened 10 years ago

Closed 6 years ago

#39902 closed defect (bug) (invalid)

wordpress-tests-lib : factory->post->create_object not working on mysql Ver 14.14 Distrib 5.7.16

Reported by: ilhamum Owned by:
Priority: normal Milestone:
Component: Build/Test Tools Version: 4.7.2
Severity: normal Keywords: reporter-feedback close
Cc: Focuses:

Description

Hello,

The function factory->post->create_object is not working on mysql Ver 14.14 Distrib 5.7.16.
When I try to insert a new post, it return 0 as the Id and doesn't insert the post.
I suspected that it has to do with mysql version, and when I forced mysql version to 5.6.24 on my docker image, it just worked fine.

Thanks

Change History (3)

#1 @johnbillion
10 years ago

  • Component GeneralBuild/Test Tools
  • Keywords reporter-feedback added

Thanks for the report, @ilhamum.

Can you post the exact code you're using?

#2 @hellofromTonya
6 years ago

  • Keywords close added

Hello @ilhamum,

Welcome to WordPress Trac!

Does this problem persist for you today? If yes, can you please provide us with feedback? As John notes:

Can you post the exact code you're using?

Why? It will help us to investigate.

Marking this ticket as a close candidate pending reporter feedback.

#3 @johnbillion
6 years ago

  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

Closing this off as we've had no other reports since. Please do feel free to reopen this ticket if you have some code to reproduce the problem.

Note: See TracTickets for help on using tickets.