beaverbuilder / assistant

A tool for seeing what's happening inside WordPress and quickly navigating between pages & posts.
31 stars 5 forks source link

Content App: updating checkboxes results in JS error #480

Open codente opened 2 months ago

codente commented 2 months ago
  1. Open the content app.
  2. Click on Edit Post
  3. Change the categories and update.
  4. Repeat step 3 by updating the categories again If you refresh the page while on the edit screen, it will work fine.

This issue can also occur with other checkboxes, such as those in the “Discussion” section of the edit post.

react-dom.min.js?ver=18.3.1:2 Uncaught 
TypeError: Cannot read properties of undefined (reading 'validate')
    at vendor-bb-forms.js?ver=1.4.9.2:1:6126
    at Array.map (<anonymous>)
    at _ (vendor-bb-forms.js?ver=1.4.9.2:1:6005)
    at Object.De (react-dom.min.js?ver=18.3.1:2:16716)
    at Be (react-dom.min.js?ver=18.3.1:2:16870)
    at react-dom.min.js?ver=18.3.1:2:36731
    at Ir (react-dom.min.js?ver=18.3.1:2:36825)
    at Ur (react-dom.min.js?ver=18.3.1:2:37239)
    at react-dom.min.js?ver=18.3.1:2:42667
    at ss (react-dom.min.js?ver=18.3.1:2:105954)

This is not new to the Code App release build. It happens in 1.4.9.2 as well.

brian-flm commented 2 weeks ago

I'm not able to reproduce this issue with the latest version of assistant. If I uncheck Uncategorized I don't get any errors in the console. I don't get any errors if I click publish either.

image

codente commented 2 weeks ago

I also cannot reproduce. So I will close!

codente commented 1 week ago

New steps added to issue.