Hi All ,
I have a plugin which uses the webwork module , when the action is completed I do some validation and based on that provide an error message view (Velocity template) , However for one case I am getting the error message as "Oh No , Error !" .. This message is not defined in my plugin .
Can someone please explain why i am getting this message instead of my custom message ?
Thank you :)
Community moderators have prevented the ability to post new answers.
The Oh No error is usually when something went wrong during the action code. The action method doFoo is supposed to get to where it returns a string that is the name of the resource in your action element, e.g. myerror.vm
Short term, add some debugging output to the log file to check you are reaching the return statement of your action method. Check what string is returned and that it matches what you defined in atlassian-plugin.xml
I have this statement in a velicity template used by a recipe in my book. An "error" view for some action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May be @Jobin can help me out , I found this while searching .. Is this some kind of default error message ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.