-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 0.18 Swallows
-
Fix Version/s: 0.18 Swallows, 1.5 Swallows, 1.4 Swallows
-
Labels:None
-
Environment:
Mozilla Firefox, Opera, Google Chrome, Internet Explorer
Preconditions:
'Jcommune' user should exists and be added to some group in Poulpe(Registered User for ex).
Steps to reproduce:
- Navigate to the uat.jtalk.org/jcommune,
- Login to the system using admin/admin credential
- Navigate to the Jcommune - Forum Structure and perform 'Create section' action
- Create new 'TestBranch' related to the Section from step 3
- Give all nessesary permissions to the group of 'Jcommune' user (create topic, view topic,..)
- Navigate to the uat.jtalk.org/jcommune and login as 'Jcommune'
- Create New topic in the 'TestBranch'
- go to Poulpe again and try to delete TestBranch(or Section) from step 4
Actual: The admin user cannot delete Branch/Section. Exception occurs stating:
"Could not execute JDBC batch update; SQL [/* delete org.jtalks.poulpe.model.entity.PoulpeBranch */ delete from BRANCHES where BRANCH_ID=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update[SQL: 1451, 23000]"
Expected: The admin user is able to delete Branch/Section
- blocks
-
POULPE-286 Delete Branch and Section
- Closed
- is blocked by
-
JC-845 Sections and Branches should be eligible for deletion
- Closed