viadee/sonarQuest

GM / Marketplace / Creating new items

Christoph-Meyer opened this issue · 2 comments

When editing a new item and hitting save, the following exception is thrown. Saving the item does not work.

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : com.viadee.sonarquest.entities.Artefact.minLevel -> com.viadee.sonarquest.entities.Level; nested exception is java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing : com.viadee.sonarquest.entities.Artefact.minLevel -> com.viadee.sonarquest.entities.Level
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)

Just noticed that it is also not possible to create an artefact without any powers. That should also be fixed.