Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-79

DateTimeOffset type property default value is wrong after upgrading schema

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      Goals

      Upgrading Realm schema while adding new object property of type DateTimeOffset should populate property default value as 01.01.0001 00:00:00

      Expected Results

      After schema upgrade new DateTimeOffset property default value is 01.01.0001 00:00:00

      Actual Results

      After schema upgrade new DateTimeOffset property default value is 0.1.01.1970 00:00:00

      Steps to Reproduce

      Use Android or iOS environment.
      Create an object with any properties, populate objects and store in Realm. Add new DateTimeOffset property in Realm object and upgrade Realm schema. Check new property populated default value in Realm objects.

      Version of Realm and Tooling

      Realm Nuget package v1.5.0

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: