Uploaded image for project: 'Metadata Sharing Module'
  1. Metadata Sharing Module
  2. META-226

getDeproxiedClass does not work right in OpenMRS 1.9

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: 1.0.7
    • Fix Version/s: 1.0.8
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      In OpenMRS 1.9 we switch to a newer version of Hibernate that uses javassist proxies instead of cglib proxies. MDS has a ClassUtil.getDeproxiedClass(Class) method that strips off the part of the classname after the $, but this isn't sufficient in OpenMRS 1.9 because javassist does things like: "org.openmrs.ConceptDatatype_$$_javassist_65".

      I assume this should be as easy as stripping off "_$*" if it exists, and "$*" otherwise.

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  darius Darius Jazayeri
                  Reporter:
                  darius Darius Jazayeri
                  Watchers:
                  Darius Jazayeri, Rafal Korytkowski
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: