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

NullPointerException at org.openmrs.util.Format#format(Date, Locale, Format.FORMAT_TYPE)

    Details

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

      Description

      org.openmrs.util.Format#format(Date, Locale, Format.FORMAT_TYPE) should return null when one of its argument is null, rather than returning an empty string or throwing a NullPointerException.

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  ldf92 Dengfeng Li
                  Reporter:
                  ldf92 Dengfeng Li
                  Watchers:
                  Daniel Kayiwa, Darius Jazayeri, Dengfeng Li
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 30 minutes
                    30m
                    Remaining:
                    Remaining Estimate - 30 minutes
                    30m
                    Logged:
                    Time Spent - Not Specified
                    Not Specified