-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 0.17 Swallows
-
Fix Version/s: 0.18 Swallows, 1.5 Swallows, 1.4 Swallows
-
Labels:None
Scenario 1
- Go to JCommune - Forum Structure, press "Create a Section"
- Enter a valid Section name
- Enter 256 symbols in "Description" field
- Press "Save"
As a result the following exception is shown:could not insert: [org.jtalks.poulpe.model.entity.PoulpeSection]; SQL [/* insert org.jtalks.poulpe.model.entity.PoulpeSection */ insert into SECTIONS (UUID, NAME, DESCRIPTION) values (?, ?, ?)]; nested exception is org.hibernate.exception.DataException: could not insert: [org.jtalks.poulpe.model.entity.PoulpeSection][SQL: 1406, 22001]
Expected result: it is possible to create a section with Description lenght in (0;256] and the message "This field may not contain more than 256 symbols" should be shown if 256 symbols are entered
Scenario 2
- Go to JCommune - Forum Structure, press "Create a Section"
- Enter a valid Section name
- Enter more than 256 symbols in "Description" field
- Press "Save"
- Select this Section and press "Edit"
As a Result, "Editing a Section" window is opened with empty Description field
Expected result: it is not possible to enter more than 256 symbols to the Description field, the message "This field may not contain more than 256 symbols" should be shown
The same behavior happens when trying to enter more then 256 symbols to the Description field of a Branch.
- relates to
-
POULPE-328 Exception is shown on creating a branch with incorrect name
- Closed