Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#25632 closed defect (bug) (wontfix)

post_parent out of range error in unit tests

Reported by: atimmer Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.7
Component: Unit Tests Keywords:
Focuses: Cc:


in tests/post/attachments.php

Out of range value for column 'post_parent', the function _make_attachment() uses a default value of -1.

Attachments (1)

25632.1.diff (455 bytes) - added by atimmer 2 years ago.

Download all attachments as: .zip

Change History (4)

2 years ago

#1 @atimmer
2 years ago

  • Keywords close added; has-patch removed
  • Resolution set to wontfix
  • Status changed from new to closed

This is caused by mysql strict mode, WordPress doesn't support mysql strict mode.

Last edited 2 years ago by atimmer (previous) (diff)

#2 @SergeyBiryukov
2 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted

#3 @SergeyBiryukov
2 years ago

  • Version changed from trunk to 3.7
Note: See TracTickets for help on using tickets.