[MGNLWORKFLOW-408] Update Unpublish rejection notification Created: 27/Dec/21  Updated: 26/Aug/22

Status: Open
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLWORKFLOW-369 Unpublish rejection message is not re... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: AuthorX improvements
Team: AuthorX

 Description   

Context:

Go through the scenario described in MGNLWORKFLOW-369

At the end, we will see the notification same as Publication request like below:

Expected result:

  • Should have a distinct message for Unpublish request
  • Consider "Unpublication request rejected ..." - note that "Unpublication" may not a correct word

Dev notes:

  • It's handled by RejectNotificationWorkItemHandler and I18n text from NotificationWorkItemHandlerDefinition#getSubject (the i18n key is workflow-jbpm.rejectNotification.subject).
  • But the logic above is same for both Publish and Unpublish rejection, need a way to distinguish them and create new i18n key for unpublish. 

Generated at Mon Feb 12 10:09:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.