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

Cannot save an address due to transient object exception #208

Closed
berny6969 opened this issue Jul 30, 2017 · 1 comment
Closed

Cannot save an address due to transient object exception #208

berny6969 opened this issue Jul 30, 2017 · 1 comment
Assignees
Milestone

Comments

@berny6969
Copy link

berny6969 commented Jul 30, 2017

when save address of location get this error

but sometimes save address perfect 👍

Versión de Grails: 1.3.7 | Versión de la aplicación: 0.7.20 | Branch: master | Número de compilación: v0.7.18-48-g6266629

org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.pih.warehouse.core.Address

at org.pih.warehouse.inventory.InventoryService$$EnhancerByCGLIB$$75aed8a8.saveLocation(<generated>)

at org.pih.warehouse.inventory.InventoryService$saveLocation.call(Unknown Source)

at org.pih.warehouse.core.LocationController$_closure5.doCall(LocationController.groovy:109)

at org.pih.warehouse.core.LocationController$_closure5.doCall(LocationController.groovy)

at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)

at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)
@jmiranda jmiranda self-assigned this Jul 30, 2017
@jmiranda jmiranda added this to the 0.7.22 milestone Jul 30, 2017
@jmiranda
Copy link
Member

Thank you for submitting a bug report. I've seen this bug a few times in the past and will try to fix it in the next maintenance release.

@jmiranda jmiranda changed the title org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.pih.warehouse.core.Address Cannot save an address due to transient object exception Aug 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants