Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-74

Editing the name of a PersonAttributeType does not change related global properties

    XMLWordPrintable

    Details

    • Complexity:
      Undetermined

      Description

      The following global properties store comma-separated lists of PersonAttributeType names:

      public static final String GLOBAL_PROPERTY_PATIENT_LISTING_ATTRIBUTES = "patient.listingAttributeTypes";
      public static final String GLOBAL_PROPERTY_PATIENT_VIEWING_ATTRIBUTES = "patient.viewingAttributeTypes";
      public static final String GLOBAL_PROPERTY_PATIENT_HEADER_ATTRIBUTES = "patient.headerAttributeTypes";
      public static final String GLOBAL_PROPERTY_USER_LISTING_ATTRIBUTES = "user.listingAttributeTypes";
      public static final String GLOBAL_PROPERTY_USER_VIEWING_ATTRIBUTES = "user.viewingAttributeTypes";
      public static final String GLOBAL_PROPERTY_USER_HEADER_ATTRIBUTES = "user.headerAttributeTypes";
      

      Changing the name of an existing PersonAttributeType should change any of these global props that reference that one.

      (Maybe the right thing to do is to make these be comma-separated lists of PersonAttributeType ids.)

      See TRAC-2158.

        Attachments

          Activity

            People

            Assignee:
            luzhuangwei Zhuangwei Lu [X] (Inactive)
            Reporter:
            darius Darius Jazayeri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: