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

GrailsTagException: Error executing tag <g:render>: Error executing tag <g:userRole>: java.lang.StackOverflowError at... #2278

Open
sentry-io bot opened this issue Mar 16, 2021 · 1 comment
Assignees
Labels
type: bug Addresses unintended behaviours of the app
Milestone

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 16, 2021

Sentry Issue: OPENBOXES-DEMO-1-1DX

GrailsTagException: Error executing tag <g:render>: Error executing tag <g:userRole>: java.lang.StackOverflowError at /WEB-INF/grails-app/views/common/_header.gsp:24 at /WEB-INF/grails-app/views/layouts/custom.gsp:105
  File "org.pih.warehouse.product.Category$getParents$0", in callCurrent
  File "org.pih.warehouse.product.Category", line 114, in getParents
  File "org.pih.warehouse.product.Category$getParents$0", in callCurrent
  File "org.pih.warehouse.product.Category", line 114, in getParents
  File "org.pih.warehouse.product.Category$getParents$0", in callCurrent
...
(245 additional frame(s) were not displayed)

Error processing GSP: Error executing tag <g:render>: Error executing tag <g:userRole>: java.lang.StackOverflowError at /WEB-INF/grails-app/views/common/_header.gsp:24 at /WEB-INF/grails-app/views/layouts/custom.gsp:105
@jmiranda
Copy link
Member

I initially thought this was a bigger issue than it is. But this occurs when moving a parent category to be the child of one of its children. The save is not persisted to the database due to the StackOverflowError but we should handle this as a validation.

@jmiranda jmiranda added this to the 0.8.16 milestone Mar 16, 2021
@jmiranda jmiranda added the type: bug Addresses unintended behaviours of the app label Jun 15, 2021
@jmiranda jmiranda modified the milestones: 0.8.16, 0.8.17 Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Addresses unintended behaviours of the app
Development

No branches or pull requests

1 participant