[wp-trac] [WordPress Trac] #42069: Saving metadata fails (randomly) if equal value already exists

WordPress Trac noreply at wordpress.org
Wed Oct 17 17:10:05 UTC 2018


#42069: Saving metadata fails (randomly) if equal value already exists
---------------------------------------------+-----------------------
 Reporter:  JVel                             |       Owner:  (none)
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  5.0
Component:  REST API                         |     Version:  4.8.2
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------
Changes (by boonebgorges):

 * keywords:  has-patch needs-testing has-unit-tests => has-patch has-unit-
     tests commit


Comment:

 Thanks for catching that in [attachment:"42069.8.diff"],
 @TimothyBlynJacobs . I've just added [attachment:"42069.9.diff"] , which
 includes the following mods to 8.diff:

 - Coding standards fixes
 - Added missing `@ticket` annotation on new test
 - Adds a small amount of logic to the test class constructor so that
 errors are not thrown if the tests are run in isolation (eg using `--group
 42069`)

 I think this is ready for commit, which either I can do, or a member of
 the REST API team.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42069#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list