[OFBiz] Dev - Error message hiding

David Jones jonesde at ofbiz.org
Tue Aug 3 09:44:38 EDT 2004


Rafiu,

I would recommend in cases like this that the problem be fixed rather  
than trying to suppress the error message. Chances are something is not  
functioning as it should if you are seeing messages like this.

-David


On Aug 3, 2004, at 7:12 AM, Rafiu Fakunle wrote:

> Hi Folks,
>
> How do I disable logging / gracefully handle such error messagse so  
> that they are hidden from the user:
>
> ERROR: Could not complete the Update a PostalAddress for party process  
> [problem invoking the [updatePartyContactMech] service with the map  
> named [context2] containing [{locale=en_GB, extension=null,  
> partyId=admin, newContactMechId=10012, infoString=null,  
> userLogin=[GenericEntity: 
> UserLogin][partyId,admin(java.lang.String)][disabledDateTime,null()][cr 
> eatedTxStamp,null()][passwordHint,long(java.lang.String)][successiveFai 
> ledLogins,0(java.lang.Long)][lastCurrencyUom,null()][lastLocale,null()] 
> [currentPassword,deaa44beefadfa067835b8da71db790f84bada1b(java.lang.Str 
> ing)][lastUpdatedStamp,2004-08-03  
> 13:46: 
> 17.511(java.sql.Timestamp)][enabled,Y(java.lang.String)][hasLoggedOut,N 
> (java.lang.String)][userLoginId,admin(java.lang.String)][lastUpdatedTxS 
> tamp,2004-08-03  
> 13:46:17.509(java.sql.Timestamp)][createdStamp,null()],  
> allowSolicitation=Y, contactMechId=10011,  
> contactMechTypeId=POSTAL_ADDRESS}]: Cannot start the transaction. (The  
> current transaction is marked for rollback, should stop immediately.)]
>
> This is an error output given  by the ecommece application when a user  
> tries to edit delivery information.
>
>
> Thanks,
>
> Rafiu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe at ofbiz.dev.java.net
> For additional commands, e-mail: dev-help at ofbiz.dev.java.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2363 bytes
Desc: not available
Url : http://lists.ofbiz.org/pipermail/dev/attachments/20040803/719756f8/smime.bin


More information about the Dev mailing list