[OFBiz] Users - Error messages in party manager app

Si Chen schen at graciousstyle.com
Tue Aug 31 16:31:06 EDT 2004


Hi David,

I tried removing the error message section in envsetup.jsp and 
errormsgs.ftl in party manager, but then the error messages won't 
display again.  What I did was try to update a credit card for a party 
with a blank first and last name, which should cause an exception.  I 
checked my envsetup.jsp, envsetup.bsh, and errormsgs.ftl against the svn 
main trunk, and they seem to be the same.  Is there something else 
required here?

Si

jira at ofbiz.org wrote:

> Message:
>
>   The following issue has been closed.
>
>   Resolver: David E. Jones
>       Date: Mon, 30 Aug 2004 8:23 AM
>
> After looking at the other apps this didn't look right, so instead of 
> applying this patch I just made it more consistent by removing the 
> error message section from envsetup.jsp which should work fine, so 
> that only the one in envsetup.bsh is run. Everything appears to be 
> going through the regions stuff in the Party Manager, so this should 
> be fine; it will be SO nice to get all of this updated though...
> ---------------------------------------------------------------------
> View the issue:
>  http://jira.undersunconsulting.com/browse/OFBIZ-9
>
> Here is an overview of the issue:
> ---------------------------------------------------------------------
>        Key: OFBIZ-9
>    Summary: Error messages not displayed properly in Party Manager JSP 
> pages
>       Type: Bug
>
>     Status: Closed
>   Priority: Major
> Resolution: FIXED
>
> Original Estimate: Unknown
> Time Spent: Unknown
>  Remaining: Unknown
>
>    Project: [OFBiz] Open For Business
> Components:             party
>   Fix Fors:
>             SVN
>   Versions:
>             SVN
>
>   Assignee: Jira Administrator
>   Reporter: Si Chen
>
>    Created: Fri, 20 Aug 2004 4:31 PM
>    Updated: Mon, 30 Aug 2004 8:23 AM
>
> Description:
> Error messages were not being displayed properly in Party Manager JSP 
> pages.  This is because party manager's envsetup.jsp was not looking 
> for the new error message attributes from the request.  Also, since 
> the regions framework for these jsp pages calls both envsetup.jsp and 
> envsetup.bsh, envsetup.jsp needs to put its error and event message 
> list under a different name back into the request for the errormsg.ftl 
> to use.  (Otherwise, envsetup.jsp and envsetup.bsh would somehow 
> conflict and cause the error and event messages to be null.)
>
>
> ---------------------------------------------------------------------
> JIRA INFORMATION:
> This message is automatically generated by JIRA.
>
> If you think it was sent incorrectly contact one of the administrators:
>   http://jira.undersunconsulting.com/secure/Administrators.jspa
>
> If you want more information on JIRA, or have a bug to report see:
>   http://www.atlassian.com/software/jira
>
>
> _______________________________________________
> Jira mailing list
> Jira at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/jira
>
>  
>


More information about the Users mailing list