React FAQs Error #4481
Labels
sample: react-faqs
status:no-recent-activity
type:bug-suspected
Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Disclaimer
Yes
Sample
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-faqs
Contributor(s)
@arunkumarperumal
What happened?
I'm able to build and load the sample into my sharepoint online environment. After I enter in a few categories and associated FAQs, I get the following error:
ERROR:
Cannot read properties of undefined (reading 'map')
CALL STACK:
TypeError: Cannot read properties of undefined (reading 'map')
at https://[my url]/sites/appcatalog/ClientSideAssets/ad8bfeaa-1ae0-4bf1-b395-b9d863d62d7c/fa-qs-web-part_2fb7bd236a98b12f8e7c.js:2:144997
at Array.map ()
at t.render (https://[my url]/sites/appcatalog/ClientSideAssets/ad8bfeaa-1ae0-4bf1-b395-b9d863d62d7c/fa-qs-web-part_2fb7bd236a98b12f8e7c.js:2:144895)
at Bo (https://res-1.cdn.office.net/files/sp-client/react-dom-16-bundle_none_b1ebc9c6c87762929de1.js:2:75920)
at No (https://res-1.cdn.office.net/files/sp-client/react-dom-16-bundle_none_b1ebc9c6c87762929de1.js:2:75715)
at ys (https://res-1.cdn.office.net/files/sp-client/react-dom-16-bundle_none_b1ebc9c6c87762929de1.js:2:111184)
at pc (https://res-1.cdn.office.net/files/sp-client/react-dom-16-bundle_none_b1ebc9c6c87762929de1.js:2:102665)
at uc (https://res-1.cdn.office.net/files/sp-client/react-dom-16-bundle_none_b1ebc9c6c87762929de1.js:2:102590)
at ac (https://res-1.cdn.office.net/files/sp-client/react-dom-16-bundle_none_b1ebc9c6c87762929de1.js:2:99620)
at Zs (https://res-1.cdn.office.net/files/sp-client/react-dom-16-bundle_none_b1ebc9c6c87762929de1.js:2:96388)
Steps to reproduce
1.Create a FAQ category
2. Create a FAQ
3. Republish the sharepoint page
Expected behavior
I expected the faqs to show without error.
Target SharePoint environment
SharePoint Online
Developer environment
None
Browsers
What version of Node.js is currently installed on your workstation?
14
What version of Node.js is required by the sample?
14
Paste the results of SPFx doctor
N/A
Additional environment details
No response
The text was updated successfully, but these errors were encountered: