volto icon indicating copy to clipboard operation
volto copied to clipboard

Fix history page error for unauthenticated

Open reebalazs opened this issue 2 years ago • 2 comments

Was SSR error:

TypeError: Cannot read properties of null (reading 'title')
    at Function.module.exports../node_modules/@plone/volto/src/components/manage/History/History.jsx.__webpack_exports__.default.Object.getHistory [as mapToProps] (/Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/@plone/volto/src/components/manage/History/History.jsx:302:1)
    at mapToPropsProxy (/Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/react-redux/lib/connect/wrapMapToProps.js:53:46)
    at Function.detectFactoryAndVerify (/Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/react-redux/lib/connect/wrapMapToProps.js:62:19)
    at mapToPropsProxy (/Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/react-redux/lib/connect/wrapMapToProps.js:53:46)
    at handleFirstCall (/Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/react-redux/lib/connect/selectorFactory.js:34:18)
    at pureFinalPropsSelector (/Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/react-redux/lib/connect/selectorFactory.js:75:81)
    at /Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/react-redux/lib/components/connectAdvanced.js:333:16
    at Object.useMemo (/Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/react-dom/cjs/react-dom-server.node.development.js:1582:19)
    at useMemo (/Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/react/cjs/react.development.js:1532:21)
    at ConnectFunction (/Users/ree/work/kitconcept/fzj-dlr/dlr-internet/frontend/node_modules/react-redux/lib/components/connectAdvanced.js:318:30)

reebalazs avatar Sep 28 '22 15:09 reebalazs

Deploy Preview for volto canceled.

Name Link
Latest commit 726f53c43f8ffb6330c6827c52ed7caeb8b74a68
Latest deploy log https://app.netlify.com/sites/volto/deploys/633ea1ba2f7aaa00094fdcd7

netlify[bot] avatar Sep 28 '22 15:09 netlify[bot]



Test summary

360 0 15 0


Run details

Project Volto
Status Passed
Commit eadf4930ae
Started Oct 5, 2022 11:40 AM
Ended Oct 5, 2022 11:52 AM
Duration 12:06 💡
OS Linux Ubuntu - 20.04
Browser Chrome 106

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

cypress[bot] avatar Sep 28 '22 15:09 cypress[bot]