[wp-trac] [WordPress Trac] #56260: In case of missing primary key on wp_posts, Media uploader gives false feedback indicating folder permissions are missing, where in fact database structure is malformed.

WordPress Trac noreply at wordpress.org
Wed Oct 26 15:43:29 UTC 2022


#56260: In case of missing primary key on wp_posts, Media uploader gives false
feedback indicating folder permissions are missing, where in fact database
structure is malformed.
--------------------------+------------------------------
 Reporter:  harryfear     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:
 Severity:  minor         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by antpb):

 * component:  Media => Database


Comment:

 It seems this has bigger problems outside of media if the database is
 broken in this way. It may be an issue with the repair logic not catching
 the missing primary key.

 Moving this to Database to ensure the right folks to verify can have
 visibility.

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


More information about the wp-trac mailing list