Make WordPress Core

Opened 7 years ago

Closed 4 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's profile ilhamum Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7.2
Component: Build/Test Tools Keywords: reporter-feedback close
Focuses: Cc:



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.


Change History (3)

#1 @johnbillion
7 years ago

  • Component changed from General to Build/Test Tools
  • Keywords reporter-feedback added

Thanks for the report, @ilhamum.

Can you post the exact code you're using?

#2 @hellofromTonya
4 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
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

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.