KelvinTegelaar / CIPP

CIPP is a M365 multitenant management solution
https://cyberdrain.com / https://cipp.app
GNU Affero General Public License v3.0
810 stars 4.98k forks source link

Error when in Alerts or Alerts Wizard - Error Location Minified React error #31; #2488

Closed ParzivalMonkey closed 5 months ago

ParzivalMonkey commented 5 months ago

Description

When I go in to Scripted CIPP Alert then click one of the drop downs and click off it again without selecting anything it throws an error.

Steps to reproduce:

  1. Go to Tenant Administration
  2. Go to Alerts
  3. Click Add Alert
  4. Select Scripted CIPP Alert
  5. Under Alert Criteria click the "Select a Command" drop down
  6. Click off it again without selecting anything
**Error** 
-- | --
Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B0%2C%201%2C%202%2C%203%2C%204%2C%205%2C%206%2C%207%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
**Error Location**
Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B0%2C%201%2C%202%2C%203%2C%204%2C%205%2C%206%2C%207%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at t7 (https://cipp.XXX.xom/static/index-B_0CKRpY.js:39:57546) at _ (https://cipp.XXX.com/static/index-B_0CKRpY.js:39:62608) at Ai (https://cipp.XXX.com/static/index-B_0CKRpY.js:39:74390) at Cve (https://cipp.XXX.com/static/index-B_0CKRpY.js:39:118892) at Sve (https://cipp.XXX.com/static/index-B_0CKRpY.js:39:112868) at xwt (https://cipp.XXX.com/static/index-B_0CKRpY.js:39:112791) at m_ (https://cipp.XXX.com/static/index-B_0CKRpY.js:39:112640) at bD (https://cipp.XXX.com/static/index-B_0CKRpY.js:39:108984) at vte (https://cipp.XXX.com/static/index-B_0CKRpY.js:39:109793) at Su (https://cipp.XXX.com/static/index-B_0CKRpY.js:39:47994)

Happens every time on the latest CIPP and CIPP API version.

Environment data

Not-Sponsored
Front End: 5.7.0
Back End: 5.7.3
Tried Tenant Cache Clear: False (Doesnt seem to be tenant related)
Tried Token Cache Clear: False (Doesnt seem to be token related)
github-actions[bot] commented 5 months ago

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/ If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

ParzivalMonkey commented 5 months ago

I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.

ParzivalMonkey commented 5 months ago

"I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."

kris6673 commented 5 months ago

@JohnDuprey fixed this in dev