Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-15454

Date conversion error when using America/Sao_Paulo timezone because of daylight saving

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 5.0.3
    • Fix Version/s: 5.0.4
    • Component/s: Repository
    • Labels:
      None

      Description

      The problem happens in 3 different environments, Mac, Ubuntu and Windows Server, all with Java timezone configured as America/Sao_Paulo.

      For attributes of date type, conversion errors are thrown when I try to set some specific dates, like 2015/10/18 or 2014/10/19. Those are daylight saving starting dates.

      It's possible to reproduce the error using custom or OOTB content model.

      More information here https://github.com/JodaOrg/joda-time/issues/146

      The provided patch is not a complete fix but rather a stop gap as the assertion prevents the test from passing due to the timezone difference.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                douglascrp Douglas Cassiano Rodrigues Paes
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 2 hours, 10 minutes
                  2d 2h 10m

                    Structure Helper Panel