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

React FAQs Error #4481

Closed
1 of 9 tasks
nmjayhawk opened this issue Nov 23, 2023 · 3 comments
Closed
1 of 9 tasks

React FAQs Error #4481

nmjayhawk opened this issue Nov 23, 2023 · 3 comments
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

Comments

@nmjayhawk
Copy link

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

  • Internet Explorer
  • Microsoft Edge
  • Google Chrome
  • FireFox
  • Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

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

@nmjayhawk nmjayhawk added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label Nov 23, 2023
@ghost
Copy link

ghost commented Nov 23, 2023

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Copy link

github-actions bot commented Mar 5, 2024

This issue has been marked as stale due to no progress in over 90 days. If you are still experiencing this issue, please provide additional information so we can help you resolve it.

Copy link

Closing this issue due to lack of activity. If you are still encountering this issue, please do not hesitate to open a new issue. Make sure to follow the guidance on how to create good issues to increase your chances of getting the help you deserve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants