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

[Xamarin forms] Realm while adding PropertyChanged.Fody only Primary keys stored rest of Null version 4.0

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • Q3-22FY
    • Affects Version/s: None
    • Component/s: None

      I had earlier realm 3.x version and I have upgraded now into version 4.0 now add PropertyChanged.Fody only primary keys will stored rest of stored as empty value?
      please check below screenshot

      <!--- StackOverflow: http://stackoverflow.com/questions/ask?tags=realm -->
      <!--- We monitor the realm tag. -->

      <!--- Feature Request: Just fill in the first two sections below. -->

      <!--- Bugs: To help you as fast as possible with an issue please describe your issue -->
      <!--- and the steps you have taken to reproduce it in as much detail as possible. -->

      <Unable to render embedded object: File (--- Thanks for helping us help you) not found. -->

      Goals

      It has to work as it is like work 3.x

      Expected Results

      It has to work as it is like work 3.x

      Actual Results

      Only Primary keys stored rest of empty or null

      Steps to Reproduce

      1. Existing version of 3.x now upgrade to 4.0
      2. add PropertyChanged.Fody Nuget and run application
      3. check the data stored in realm file

      Code Sample

      Here is sample https://github.com/jitendrajadav/XamarinRealm

      Version of Realm and Tooling

      • Realm Object Server Version: 4.0
      • Microsoft Visual Studio Professional 2019
        Version 16.1.3
        VisualStudio.16.Release/16.1.3+29009.5
        Microsoft .NET Framework
        Version 4.8.03752

      Installed Version: Professional

      VisualStudio.Mac 1.0
      Mac Extension for Visual Studio

      Workflow Manager Tools 1.0 1.0
      This package contains the necessary Visual Studio integration components for Workflow Manager.

      Xamarin 16.1.0.543 (d16-1@34a619991)
      Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

      Xamarin Designer 16.1.0.418 (remotes/origin/d16-1@5b958bb10)
      Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

      Xamarin Templates 16.2.112 (4db4af4)
      Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

      Xamarin.Android SDK 9.3.0.22 (HEAD/8e7764fdf)
      Xamarin.Android Reference Assemblies and MSBuild support.
      Mono: mono/mono/2018-08@3cb36842fc4
      Java.Interop: xamarin/java.interop/d16-1@5ddc3e3
      LibZipSharp: grendello/LibZipSharp/d16-1@44de300
      LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
      ProGuard: xamarin/proguard/master@905836d
      SQLite: xamarin/sqlite/3.27.1@8212a2d
      Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-1@acabd26

      Xamarin.iOS and Xamarin.Mac SDK 12.10.0.153 (750a879)
      Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

            Assignee:
            nikola.irinchev@mongodb.com Nikola Irinchev
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: