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

Concept.log shoule not be null when we deserialize a concept from a xml file

    XMLWordPrintable

    Details

      Description

      The detail description of this ticket can be seen through url:
      http://n2.nabble.com/Deserializing-the-Log-Property-on-Concept-class-tc3904744.html#none

      And now, the only method which i have know is that adding a method "readResolve" in class "Concept". And in "readResolve", i will reassign Concept.log with value "LogFactory.getLog(this.getClass());"

      But, i think maybe this resolution is a bit ugly, because it will modify the Code Base of Openmrs branch.

      So anyone have idea with this question?

        Attachments

        1. 2145.patch
          0.7 kB
        2. changeLogToBeStatic.patch
          0.4 kB
        3. staticFinalAndNoTransient.patch
          0.4 kB

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: