-
Type:
Bug
-
Status: CLOSED
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 19.2, 20.0 [Tentative]
-
Fix Version/s: 19.3, 20.0 [Tentative]
-
Component/s: Forums Tool
-
Labels:None
-
Environment:Sakai nightly 19.2/20
-
19 status:Verified
-
Test Plan:
To replicate, create 2 sites on master with the Forums tool.
In the second site, create an additional Forum besides the default forum thats automatically in the site and leave the forum as a draft. I also created two topics under that forum and made one draft and one not draft.
In the first site, create an additional Forum and enter some text in the full description area. Create 4 topics under that forum, a couple with text in the full description as well.
Go back to the second site and use Import from Site->Replace->Forums and select the first site to import from.
The data does not import and an error is printed in the logs. I've attached the stack to the JIRA.
ERROR [pool-5-thread-5] org.sakaiproject.component.app.messageforums.DiscussionForumServiceImpl.transferCopyEntities detached entity passed to persist: org.sakaiproject.component.app.messageforums.dao.hibernate.OpenForumImpl; nested exception is org.hibernate.PersistentObjectException: detached entity passed to persist: org.sakaiproject.component.app.messageforums.dao.hibernate.OpenForumImpl org.springframework.dao.InvalidDataAccessApiUsageException: detached entity passed to persist: org.sakaiproject.component.app.messageforums.dao.hibernate.OpenForumImpl; nested exception is org.hibernate.PersistentObjectException: detached entity passed to persist: org.sakaiproject.component.app.messageforums.dao.hibernate.OpenForumImpl at org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:187) at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:344) at org.springframework.orm.hibernate4.HibernateTemplate.execute(HibernateTemplate.java:296) at org.sakaiproject.component.common.type.TypeManagerImpl.getType(TypeManagerImpl.java:171)
- relates to
-
SAK-41360 Rubrics are not importing when doing a site import
-
- RESOLVED
-