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

Wekan v5.78: Mermaid Diagram error: Maximum call stack size exceeded #4251

Closed
xet7 opened this issue Dec 21, 2021 · 10 comments
Closed

Wekan v5.78: Mermaid Diagram error: Maximum call stack size exceeded #4251

xet7 opened this issue Dec 21, 2021 · 10 comments
Labels

Comments

@xet7
Copy link
Member

xet7 commented Dec 21, 2021

Hi,
it seems I'm getting this error about https://github.com/wekan/wekan/wiki/Mermaid-Diagram, it could be related to Mermaid issue mermaid-js/mermaid#421

Uncaught RangeError: Maximum call stack size exceeded.
    at Function.Sizzle [as find] (mermaid.esm.min.mjs:2)
    at jQuery.fn.init.find (mermaid.esm.min.mjs:2)
    at HTMLBodyElement.wrapper (dombackend.js:47)
    at Function.Sizzle [as find] (mermaid.esm.min.mjs:2)
    at jQuery.fn.init.find (mermaid.esm.min.mjs:2)
    at HTMLBodyElement.wrapper (dombackend.js:47)
    at Function.Sizzle [as find] (mermaid.esm.min.mjs:2)
    at jQuery.fn.init.find (mermaid.esm.min.mjs:2)
    at HTMLBodyElement.wrapper (dombackend.js:47)
    at Function.Sizzle [as find] (mermaid.esm.min.mjs:2)

This could be related to:

Does someone use Mermaid diagram? I presume that it could be possible. I'll think can this be fixed. PRs welcome.

@xet7 xet7 added the Bug label Dec 21, 2021
@xet7
Copy link
Member Author

xet7 commented Dec 21, 2021

Maybe I'll check what version of Mermaid WeKan has, and check is there newer version of Mermaid?

xet7 added a commit that referenced this issue Dec 22, 2021
xet7 added a commit that referenced this issue Dec 22, 2021
…g to newest Mermaid it still has bug #4251

Thanks to xet7 !
@xet7 xet7 closed this as completed in 443b40c Dec 22, 2021
@xet7
Copy link
Member Author

xet7 commented Dec 22, 2021

I added Mermaid diagram back, after figuring out correct dependencies.

@aboire
Copy link

aboire commented Feb 9, 2022

I still get the error when I update to 6.05
Uncaught RangeError: Maximum call stack size exceeded. at Function.Sizzle [as find] (mermaid.esm.min.mjs:2:1100602) at jQuery.fn.init.find (mermaid.esm.min.mjs:2:1100602) at HTMLBodyElement.wrapper (dombackend.js:47:28) at Function.Sizzle [as find] (mermaid.esm.min.mjs:2:1100602) at jQuery.fn.init.find (mermaid.esm.min.mjs:2:1100602) at HTMLBodyElement.wrapper (dombackend.js:47:28) at Function.Sizzle [as find] (mermaid.esm.min.mjs:2:1100602) at jQuery.fn.init.find (mermaid.esm.min.mjs:2:1100602) at HTMLBodyElement.wrapper (dombackend.js:47:28) at Function.Sizzle [as find] (mermaid.esm.min.mjs:2:1100602)

@xet7
Copy link
Member Author

xet7 commented Feb 9, 2022

@aboire

@xet7 xet7 reopened this Feb 9, 2022
@xet7
Copy link
Member Author

xet7 commented Feb 9, 2022

@aboire

What platform? Source/Snap/UCS/Docker/Sandstorm?

@aboire
Copy link

aboire commented Feb 9, 2022

it's source

@CardYZ
Copy link

CardYZ commented Apr 13, 2022

I still get the error when I update to 6.18
docker pull wekanteam/wekan:v6.18
622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:122

   Uncaught RangeError: Maximum call stack size exceeded.
at Function.it [as find] (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:122:2707)
at d.fn.init.find (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:122:19702)
at HTMLBodyElement.s (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:221:1481)
at Function.it [as find] (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:122:2931)
at d.fn.init.find (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:122:19702)
at HTMLBodyElement.s (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:221:1481)
at Function.it [as find] (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:122:2707)
at d.fn.init.find (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:122:19702)
at HTMLBodyElement.s (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:221:1481)
at Function.it [as find] (622536a0b3f5738f4b31ca76994e94ecb89fc7a6.js?meteor_js_resource=true:122:2931)

@CardYZ
Copy link

CardYZ commented Apr 13, 2022

On the login page

@xet7
Copy link
Member Author

xet7 commented May 17, 2022

Fixed at 072778b

Related #4512

@xet7 xet7 closed this as completed May 17, 2022
xet7 added a commit that referenced this issue Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants