[HOOKSAPI-1] Change param position in exception format Created: 28/Mar/23  Updated: 19/Jul/23  Resolved: 19/Jul/23

Status: Closed
Project: Hooks API incubator
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.1

Type: Task Priority: Low
Reporter: Yen Lac Tue Assignee: Raphael Falvo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 10m
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Team: Services

 Description   

Problem:

Wrong position for params format in info.magnolia.workflow.hooks.core.CommandBasedHook  

String.format("Unable to find the command '%s' in the catalog '%s'",
                            this.getDefinition().getCatalog(), this.getDefinition().getCommandName())

Solution:

Change params position

 String.format("Unable to find the command '%s' in the catalog '%s'",
                         this.getDefinition().getCommandName(), this.getDefinition().getCatalog()) 

 

 


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