[wp-trac] [WordPress Trac] #45253: "Unhandled promise rejection" in 5.0-RC2

WordPress Trac noreply at wordpress.org
Fri Mar 1 10:48:20 UTC 2019


#45253: "Unhandled promise rejection" in 5.0-RC2
-------------------------------------+-------------------------
 Reporter:  jsmoriss                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  5.1.1
Component:  Editor                   |     Version:  5.0
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+-------------------------

Comment (by ryankienstra):

 **45253.diff Seems To Fix This**

 **Steps To Reproduce**
 1. Clone the WPSSO plugin, and checkout this commit:
 `git clone https://github.com/SurniaUlula/wpsso.git`
 `git checkout 50f78`
 2. Activate WPSSO
 3. Create a new post
 4. Click "Save Draft"
 5. Expected: the post saves
 6. Actual: as reported earlier, there's an 'Uncaught (in promise)' error
 in the JS console

 **With 45253.diff applied**
 When @Chouby's `45253.diff` is applied, there is no console error

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


More information about the wp-trac mailing list