[OpenVPMS Developers] [JIRA] Created: (OVPMS-1034) Provide more descriptive error message when an object being edited is deleted by another user

Message from Tim Anderson (JIRA) jira@openvpms.org

Provide more descriptive error message when an object being edited is deleted by another user ---------------------------------------------------------------------------------------------

Key: OVPMS-1034 URL: https://openvpms.atlassian.net/browse/OVPMS-1034 Project: VPMS Web Application Issue Type: Improvement Components: User Interface Affects Versions: 1.5-beta-1 Reporter: Tim Anderson Assignee: Tony De Keizer Priority: Minor Fix For: 1.5

When an object being edited is deleted by another user, the subsequent attempt to save produces an error message like: {quote} Failed to save object Act[id=70424,archetypeId=act.customerAppointment.1.0,linkId=1f0f5e5a-5e45-11e0-8777-93081fe58080,version=2,name=Appointment,title=<null>,activityStartTime=2011-04-04 10:00:00.0,activityEndTime=2011-04-04 10:15:00.0,reason=CHECKUP,status=BILLED,participations=[Participation[id=177387,archetypeId=participation.customer.1.0,linkId=1f10e4fd-5e45-11e0-8777-93081fe58080,version=2,name=<null>], Participation[id=177388,archetypeId=participation.appointmentType.1.0,linkId=1f10bdec-5e45-11e0-8777-93081fe58080,version=1,name=<null>], Participation[id=177389,archetypeId=participation.schedule.1.0,linkId=1f0f5e5b-5e45-11e0-8777-93081fe58080,version=1,name=<null>], Participation[id=177390,archetypeId=participation.author.1.0,linkId=1f0f5e59-5e45-11e0-8777-93081fe58080,version=1,name=<null>], Participation[id=177400,archetypeId=participation.patient.1.0,linkId=112035e3-5e46-11e0-8777-93081fe58080,version=1,name=<null>]],sourceActRelationships=[],targetActRelationships=[]] {quote}

To reproduce: 1. open 2 browsers, A and B 2. create and save an appointment in browser A 3. edit the appointment in browser B 4. delete the appointment in browser A 5. attempt to save the appointment in browser B

An error dialog with a message similar to the above will be displayed, and the option to report the error given.

This should be changed so that: * a descriptive error message is displayed * error reporting is suppressed

-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://openvpms.atlassian.net/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf

Syndicate content