Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal js-error in publish-panel for unpublished article #347

Open
antonborgstrom opened this issue Feb 16, 2024 · 1 comment
Open

Fatal js-error in publish-panel for unpublished article #347

antonborgstrom opened this issue Feb 16, 2024 · 1 comment

Comments

@antonborgstrom
Copy link

When opening the publish-panel for an unpublished article, the page crash with the following error in console:
angular.js:14800 TypeError: Cannot read properties of undefined (reading 'hidden') at t.render (Switch.js:71:30) at Fn (react-dom.production.min.js:173:192) at Rn (react-dom.production.min.js:172:282) at Bl (react-dom.production.min.js:247:361) at Er (react-dom.production.min.js:216:164) at br (react-dom.production.min.js:210:471) at pr (react-dom.production.min.js:206:372) at react-dom.production.min.js:114:115 at t.unstable_runWithPriority (scheduler.production.min.js:20:134) at St (react-dom.production.min.js:113:325) at Pt (react-dom.production.min.js:114:61) at Tt (react-dom.production.min.js:113:476) at ur (react-dom.production.min.js:204:235) at Object.enqueueSetState (react-dom.production.min.js:127:237) at i.setState (react.production.min.js:13:231) at PublishPane.jsx:69:23 'Possibly unhandled rejection: {}'

The error is traced back to Switch.js:71:30 in webpack:///node_modules/superdesk-ui-framework/react/components/Switch.js

@IvanJelicSF
Copy link
Collaborator

Hey there @antonborgstrom, thanks for the feedback! Can you please share versions for both Superdesk and Superdesk Publisher plugin you are using, as we can't reproduce this on our instances? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants