LP#914800: Create friendlier error message when attempting merge with user in collect... user/csharp/lp914800_user_merge_in_collections_error_text
authorChris Sharp <csharp@georgialibraries.org>
Wed, 10 Jun 2015 17:44:55 +0000 (13:44 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 10 Jun 2015 17:44:55 +0000 (13:44 -0400)
As suggested in the bug report, this maps a more informative message to that error text code
in ils_events.xml.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/extras/ils_events.xml

index cb860d4..e246238 100644 (file)
        <event code='7026' textcode='COPY_STATUS_LOST_AND_PAID'>
                <desc xml:lang="en-US">Copy is marked as lost and paid</desc>
        </event>
+    <event code='7027' textcode='MERGED_USER_IN_COLLECTIONS'>
+            <desc xml:lang="en-US">User is in collections and cannot be merged</desc>
+    </event>
 
 
        <!-- ================================================================ -->