[MGNLFORUM-201] Do not allow / prevent deleting of the last (and only) message of a thread Created: 16/Dec/13  Updated: 19/Feb/14  Resolved: 10/Feb/14

Status: Closed
Project: Forum (closed)
Component/s: Admin-UI
Affects Version/s: 3.3
Fix Version/s: 3.3

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLFORUM-193 Create M5-App and a Content-App as 1s... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

The nodetype-def. says the a thread must have the properties first-message and last-messages, the value of these properties are nodes of type mgnl:message.
In M4.5, when a user tries to delete the last message, he get's an alert that this cannot be done.
Implement something similar in the M5-App to avoid the ugly exceptions.



 Comments   
Comment by Espen Jervidalo [ 10/Feb/14 ]

Use Availability here. The action should be greyed out.

Comment by Christoph Meier [ 10/Feb/14 ]

Response to comment from Espen from review:

Actually, i agree.
BUT. When the action is greyed outm it looks like a bug of the error. When it is implemented like it is NOW, the user receives the info the it is not allowed to delete the last message and never could come up with the idea that the UI has a bug concnerning this.
Andreas (UX) agrees, too, and recommends to let like it is now.
and: in M4.5 it was lke here, too.

Comment by Christoph Meier [ 17/Feb/14 ]

Note: On master-branch, changes concerning this ticket are committed against MGNLFORUM-193 and MGNLFORUM-215

Generated at Mon Feb 12 02:01:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.