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

[BUG] Cannot read properties of undefined (reading 'view') #1386

Closed
gabrielbalincaaeg opened this issue Sep 16, 2024 · 2 comments
Closed

[BUG] Cannot read properties of undefined (reading 'view') #1386

gabrielbalincaaeg opened this issue Sep 16, 2024 · 2 comments
Labels
bug Something isn't working fixed

Comments

@gabrielbalincaaeg
Copy link

Describe the bug

  • If the current view is a container view and is selected second time from side menu (from home not editor) we can see the next error in the browser console :
main.273c8160951ff866.js:329 ERROR TypeError: Cannot read properties of undefined (reading 'view')
    at r.onGoToPage (main.273c8160951ff866.js:3:77715)
    at main.273c8160951ff866.js:3:68497
    at kE (main.273c8160951ff866.js:329:2937189)
    at Object.V [as next] (main.273c8160951ff866.js:329:2937359)
    at T.next (main.273c8160951ff866.js:329:2770909)
    at I._next (main.273c8160951ff866.js:329:2770593)
    at I.next (main.273c8160951ff866.js:329:2770288)
    at main.273c8160951ff866.js:329:2768250
    at E (main.273c8160951ff866.js:329:2786464)
    at WD.next (main.273c8160951ff866.js:329:2768089)

To Reproduce
Steps to reproduce the behavior:

  1. Make 3 views, one a container view and two canvas/SVG.
  2. Add all of them in the navigation side menu
  3. Now go to the home screen (not editor) and select two times container view screen (if its the currently displayed screen), the error should be on the browser console.

Expected behavior
Selecting the second time a container view from navigation side menu should not generate any error.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • FUXA version: 1.2.0-1887
  • Node.js version: v18.20.4
  • npm version: 6.14.18
  • Platform/OS: Windows 10
  • Browser: Google Chrome Version 128.0.6613.114
@unocelli unocelli added the bug Something isn't working label Sep 27, 2024
@unocelli
Copy link
Member

Hi, Thanks for the report

unocelli pushed a commit that referenced this issue Sep 29, 2024
@unocelli unocelli added the fixed label Oct 27, 2024
@unocelli
Copy link
Member

I’m going to close this as resolved. let me know if you have any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants