[wp-trac] [WordPress Trac] #37531: Plugin installation failure not reflected in the UI

WordPress Trac noreply at wordpress.org
Sun Jul 31 20:09:30 UTC 2016


#37531: Plugin installation failure not reflected in the UI
--------------------------+---------------------------------
 Reporter:  AronMS        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.6
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, administration
--------------------------+---------------------------------

Comment (by ocean90):

 Replying to [comment:3 ocean90]:
 > and in Chrome it freezes the screen, requires a hard refresh to
 continue.

 No freeze, it's the `.modal-open` class which gets added to the body
 element because the response is for missing credentials…

 {{{#!json
 {
   "success": false,
   "data": {
     "install": "plugin",
     "slug": "two-factor",
     "pluginName": "Two-Factor",
     "debug": [
       "Downloading install package from
 https:\/\/downloads.wordpress.org\/plugin\/two-factor.zip…",
       "Unpacking the package…",
       "Installing the plugin…",
       "Destination folder already exists. \/srv\/www\/wp-shared\/develop-
 plugins\/two-factor\/",
       "Plugin install failed."
     ],
     "errorCode": "unable_to_connect_to_filesystem",
     "errorMessage": "Unable to connect to the filesystem. Please confirm
 your credentials."
   }
 }
 }}}

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


More information about the wp-trac mailing list