Syllabus / unable to delete attachment from edit tab

Description

In Syllabus tool, create a new item.  

Add attachment to that item

Select Edit tab

Select Edit details

Select Remove under the attachment

A message appears asking to verify if you would like to remove the attachment and the attachment is listed twice.

Press Delete

The attachment is still included in the syllabus item

 

The only way to remove is to press the trash can icon next to the attachment on the main syllabus screen.

Activity

Show:

Andrea Schmidt March 14, 2020 at 11:22 AM

Verified on 21x: https://trunk-mysql.nightly.sakaiproject.org/, build: b2da05af

Andrea Schmidt March 14, 2020 at 11:17 AM

Verified on 20x: https://qa20-mysql.nightly.sakaiproject.org/, build: ab445167

Attachment is removed, but there is a console error still. Please merge https://sakaiproject.atlassian.net/browse/SAK-43383#icft=SAK-43383

Andrea Schmidt March 10, 2020 at 7:09 PM

Verified on 19x: https://qa19-mysql.nightly.sakaiproject.org/, build: 2480b46a 

Miguel Pellicer November 29, 2019 at 7:40 AM

Testing this Jira I found that the item appears twice in the confirmation page, fixed in SAK-42838.

Miguel Pellicer November 29, 2019 at 5:33 AM

Related to JPA and persistence:

29-Nov-2019 06:32:27.362 ERROR [http-nio-20013-exec-5] org.sakaiproject.tool.syllabus.SyllabusTool.processRemoveAttach org.sakaiproject.tool.syllabus.SyllabusTool@37968e53.processRemoveAttach() - java.lang.IllegalArgumentException: Removing a detached instance org.sakaiproject.component.app.syllabus.SyllabusAttachmentImpl#2
Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Environment

Sakai nightly 19/20
Created May 22, 2019 at 12:17 PM
Updated March 14, 2020 at 11:22 AM
Resolved December 3, 2019 at 9:29 AM

Flag notifications