WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 5 months 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:
Milestone: Priority: normal
Severity: normal Version: 4.7.2
Component: Build/Test Tools Keywords: reporter-feedback close
Focuses: Cc:

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
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?

#2 @hellofromTonya
5 months 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
5 months 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.