BV Commerce Forum
»
BV Commerce Support
»
General Support
»
297 OPEN:Cart doesn't display multiple workflow orders correctly.
Rank: Member
Joined: 10/17/2006(UTC) Posts: 66
|
It seems that if you click checkout on the CART.ASPX page, and there are multiple workflow errors, not all the errors are reported to the user. I'd like the user to see all the errors that are marked customerVisible. Not just the last one. It looks to me as if this code (below) overwrites the message repeatedly, so only the last error is shown. The problem occurs when there is more than one customer message in c.Errors. Code: For Each msg As BusinessRules.WorkflowMessage In c.Errors EventLog.LogEvent(msg.Name, msg.Description, Metrics.EventLogSeverity.Error) If msg.CustomerVisible Then customerMessageFound = True MessageBox1.ShowError(msg.Description) End If Next
I think it would be cool, too, to avoid all the code duplication and have a method that handles all this logic: MessageBox1.ShowMessages( c.Errors) (Sorry if this is a duplicate post. I thought I posted this before, but I don't see it).
|
|
|
|
Rank: Member
Joined: 3/1/2006(UTC) Posts: 1,142
|
|
Justin Etheredge Senior Software Engineer BVSoftware |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.