-
Type: Bug
-
Status: Open (View Workflow)
-
Priority: Critical
-
Resolution: Unresolved
-
Affects Version/s: 0.20 Swallows
-
Fix Version/s: backlog
-
Labels:None
Precondition:
- two users has been created; User1 is loggen in in Browser1 and User2 in Browser2;
- some section has been created
- both users open the page with forum structure
Steps:
- User1 delete section
- User2 delete section
As a result, error message about JCommune notification appears
Note that this section will not disappear until you clik F5; if you just opening other pages like Users forum structure page will not be refreshed.
Expected, that page will be refreshed after going to other pages
Note the same issue can be reproduced when one user tries to remove a branch/component/(or create new branch in the deleted section/create several components/create section/branch in the deleted component, so on), which was already deleted the other user.
Exceptions appears in somecases like
on editing branches/section for ex:
Could not execute JDBC batch update; SQL [/* create one-to-many row org.jtalks.common.model.entity.Section.branches */ update BRANCHES set SECTION_ID=?, POSITION=? where BRANCH_ID=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update[SQL: 1452, 23000]
on deleting component
Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
- is blocked by
-
POULPE-365 Calling reindexing of JCommune search engine
- Closed
-
POULPE-378 Notify JCommune about deleting its content
- Closed
- relates to
-
POULPE-415 It is possible to create several Forum Components
- Closed
-
POULPE-412 An unexpected exception appears when a user tries deleting a Branch by double-clicking the mouse
- Closed
-
POULPE-451 Custom error handling window
- Closed