Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#39902 new defect (bug)

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

Reported by: ilhamum Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.2
Component: Build/Test Tools Keywords: reporter-feedback
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 (1)

#1 @johnbillion
4 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?

Note: See TracTickets for help on using tickets.