Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-3011

Test encoding dates after year 9999 with Relaxed Extended JSON

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Extended JSON
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      • Sync BSON corpus datetime test to: specifications@876e790. This adds a test to check encoding a date after year 9999 with Relaxed Extended JSON.
      Show
      Summary of necessary driver changes Sync BSON corpus datetime test to: specifications@876e790 . This adds a test to check encoding a date after year 9999 with Relaxed Extended JSON.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5760 Duplicate
      CXX-3122 Works as Designed
      CSHARP-5340 Backlog
      GODRIVER-3379 Backlog
      JAVA-5652 Backlog
      NODE-6439 Needs Triage
      MOTOR-1377 Duplicate
      PYTHON-4884 Backlog
      PHPC-2471 In Code Review
      RUBY-3556 Backlog
      RUST-2057 Backlog
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5760 Duplicate CXX-3122 Works as Designed CSHARP-5340 Backlog GODRIVER-3379 Backlog JAVA-5652 Backlog NODE-6439 Needs Triage MOTOR-1377 Duplicate PYTHON-4884 Backlog PHPC-2471 In Code Review RUBY-3556 Backlog RUST-2057 Backlog

      Summary

      Test encoding dates after year 9999 with Relaxed Extended JSON

      Motivation

      Who is the affected end user?

      Users encoding BSON to Relaxed Extended JSON.

      How does this affect the end user?

      Gives possibly non-portable encoding for obscure use of BSON date.

      How likely is it that this problem or use case will occur?

      I expect unlikely. CDRIVER-5759 was discovered internally. I expect needing to represent dates past year 9999 is an uncommon need.

      If the problem does occur, what are the consequences and how severe are they?

      Possible errors using non-portable encoding between MongoDB products.

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes, unless the test reveals a driver bug (like CDRIVER-5759)

      Acceptance Criteria

      Add a test to ensure encoding dates past year 9999 with Relaxed Extended JSON are as expected.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Kevin Albertson Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: