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)
#2
@
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for the report, @ilhamum.
Can you post the exact code you're using?