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

Few PropertyEditor getAsText return null if value is null

    XMLWordPrintable

    Details

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

      Description

      A few PropertyEditors

      • ConceptAttributeTypeEditor.java
      • LocationAttributeTypeEditor.java
      • LocationEditor.java
      • LocationTagEditor.java

      getAsText() return null if value is null, > 30 PropertyEditors return an empty string in that case.

      This is also chosen by the PropertyEditors implemented by spring:

      https://github.com/spring-projects/spring-framework/blob/master/spring-beans/src/main/java/org/springframework/beans/propertyeditors/CharArrayPropertyEditor.java

        Attachments

          Activity

            People

            Assignee:
            teleivo Ivo Ulrich
            Reporter:
            teleivo Ivo Ulrich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: