Comments (6)
We had a company-wide hackathon last week, which is why there's been no movement on that PR. I expect it'll get reviewed and released at some point this week.
from realm-dotnet.
➤ PM Bot commented:
Jira ticket: RNET-1143
from realm-dotnet.
Hi @Scorter, thanks for reporting this.
Would it be possible for you to post here your models? If you prefer not to make them public we can figure something out.
from realm-dotnet.
Of course @papafe, first I will show you the old version.
Old version:
public partial class OrderServiceEntity : IRealmObject
{
[PrimaryKey, Required]
public string PrimaryKey { get; set; } // UserId_Id
public int Id { get; set; }
public int? Equipment { get; set; }
public IList<OrderServiceProcedureEntity> Procedures { get; }
public EditionEntity EditionValue { get; set; }
public EditionEntity EditionOrigin { get; set; }
public AttachmentsEntity Attachments { get; set; }
public IList<WorkedHourEntity> WorkedHours { get; }
public IList<ChecklistExecutionEntity> Checklists { get; }
public CalibrationExecutionEntity Calibration { get; set; }
public SignatureEntity SignatureValue { get; set; }
public SignatureEntity SignatureOrigin { get; set; }
public IList<int> StandardsValue { get; }
public IList<int> StandardsOrigin { get; }
public DateTimeOffset? ConclusionDate { get; internal set; }
public string FinalizationSyncedState { get; set; }
public bool HasDiverged<T>(T origin, T value) => !EqualityComparer<T>.Default.Equals(origin, value);
public bool HasDiverged<T>(IList<T> origin, IList<T> value) => !value.SequenceEqual(origin);
}
public partial class CalibrationExecutionEntity : IEmbeddedObject
{
/// <summary> <see cref="CMMS.CalibrationState"/> </summary>
public string CalibrationState { get; set; }
public int OrderServiceId { get; set; }
public int Requestor { get; set; }
public int Equipment { get; set; }
// Dropdowns
public int? ExecutingTechnician { get; set; }
public int? TechnicalResponsable { get; set; }
public int? Procedure { get; set; }
// Date Fields
public DateTimeOffset? CreationDate { get; set; }
public DateTimeOffset? EmissionDate { get; set; }
public DateTimeOffset? ValidityDate { get; set; }
// Text Fields
public string RequesterResponsible { get; set; } // Review this field
public string Observations { get; set; }
public string Local { get; set; }
// Numeric Fields
public float Temperature { get; set; }
public float TemperatureUncertainty { get; set; }
public float Humidity { get; set; }
public float HumidityUncertainty { get; set; }
public IList<CalibrationTablePageExecutionEntity> TablePages { get; }
}
public partial class CalibrationTablePageExecutionEntity : IEmbeddedObject
{
public string Title { get; set; }
// Dropdown
public int? Standard { get; set; }
public int ReliabilityFactor { get; set; }
public int? StandardCertificateTab { get; set; }
public int AcceptanceCriteria { get; set; }
// Numeric
public float? StandardResolution { get; set; }
public float? EquipmentResolution { get; set; }
public float? UsageMin { get; set; }
public float? UsageMax { get; set; }
public float? CapacityMin { get; set; }
public float? CapacityMax { get; set; }
public string UnitOfMeasurement { get; set; }
public float? MaxError { get; set; }
public IList<CalibrationTableRowExecutionEntity> Rows { get; }
}
public partial class CalibrationTableRowExecutionEntity : IEmbeddedObject
{
public float? Nominal { get; set; }
public IList<float?> MeasuredValues { get; }
}
New version where is the migration to be done, transforming the "Nominal" and "MeasuredValues" fields from float? for string:
public partial class OrderServiceEntity : IRealmObject
{
[PrimaryKey, Required]
public string PrimaryKey { get; set; } // UserId_Id
public int Id { get; set; }
public int? Equipment { get; set; }
public IList<OrderServiceProcedureEntity> Procedures { get; }
public EditionEntity EditionValue { get; set; }
public EditionEntity EditionOrigin { get; set; }
public AttachmentsEntity Attachments { get; set; }
public IList<WorkedHourEntity> WorkedHours { get; }
public IList<ChecklistExecutionEntity> Checklists { get; }
public CalibrationExecutionEntity Calibration { get; set; }
public SignatureEntity SignatureValue { get; set; }
public SignatureEntity SignatureOrigin { get; set; }
public IList<int> StandardsValue { get; }
public IList<int> StandardsOrigin { get; }
public DateTimeOffset? ConclusionDate { get; internal set; }
public string FinalizationSyncedState { get; set; }
public bool HasDiverged<T>(T origin, T value) => !EqualityComparer<T>.Default.Equals(origin, value);
public bool HasDiverged<T>(IList<T> origin, IList<T> value) => !value.SequenceEqual(origin);
}
public partial class CalibrationExecutionEntity : IEmbeddedObject
{
/// <summary> <see cref="CMMS.CalibrationState"/> </summary>
public string CalibrationState { get; set; }
public int OrderServiceId { get; set; }
public int Requestor { get; set; }
public int Equipment { get; set; }
// Dropdowns
public int? ExecutingTechnician { get; set; }
public int? TechnicalResponsable { get; set; }
public int? Procedure { get; set; }
// Date Fields
public DateTimeOffset? CreationDate { get; set; }
public DateTimeOffset? EmissionDate { get; set; }
public DateTimeOffset? ValidityDate { get; set; }
// Text Fields
public string RequesterResponsible { get; set; } // Review this field
public string Observations { get; set; }
public string Local { get; set; }
// Numeric Fields
public float Temperature { get; set; }
public float TemperatureUncertainty { get; set; }
public float Humidity { get; set; }
public float HumidityUncertainty { get; set; }
public IList<CalibrationTablePageExecutionEntity> TablePages { get; }
}
public partial class CalibrationTablePageExecutionEntity : IEmbeddedObject
{
public string Title { get; set; }
// Dropdown
public int? Standard { get; set; }
public int ReliabilityFactor { get; set; }
public int? StandardCertificateTab { get; set; }
public int AcceptanceCriteria { get; set; }
// Numeric
public string? StandardResolution { get; set; }
public string? EquipmentResolution { get; set; }
public float? UsageMin { get; set; }
public float? UsageMax { get; set; }
public float? CapacityMin { get; set; }
public float? CapacityMax { get; set; }
public string UnitOfMeasurement { get; set; }
public float? MaxError { get; set; }
public IList<CalibrationTableRowExecutionEntity> Rows { get; }
}
public partial class CalibrationTableRowExecutionEntity : IEmbeddedObject
{
public string Nominal { get; set; }
public IList<string?> MeasuredValues { get; }
}
Remembering that the error occurs specifically in the "MeasuredValues" field in the CalibrationTableRowExecutionEntity class. Thanks a lot for the help!
from realm-dotnet.
I can reproduce this. Looking into it.
from realm-dotnet.
Hi @nirinchev, thanks for your help and solving this. Can you tell me when this pull request will be reviewed and this fix will be available?
from realm-dotnet.
Related Issues (20)
- IRealmCollection SubscribeForNotifications not working!!! HOT 7
- Add support for Migration.FindInNewRealm HOT 1
- RealmResults (from Realm live queries) no longer notify UI observers HOT 5
- ToDictionary(Tkey, Filter) not filter HOT 3
- Other meessage when try add Apikey to anonymous user HOT 2
- Realm gets deleted on Compact HOT 2
- Wrong notification behaviour when subscribing both with `CollectionChanged` and `SubscribeForNotifications` HOT 2
- ShouldCompactOnLaunch not available for synchronized Realms HOT 1
- Collection.Filter should error out if argument is a removed object HOT 1
- Assigning a collection to a RealmValue property seems to merge it with other objects rather than replace it HOT 1
- TypeInitializationException on initialization HOT 3
- Incorrect argument parsing in test client HOT 1
- Flexible schema POC HOT 1
- No properties in xxxRealmObject HOT 5
- Support using a log level for a specific log category HOT 1
- Regression in 12.x when building for Linux on Arm32 HOT 1
- Getting exception The class TripModel is not in the limited set of classes for this realm HOT 4
- XXX is an IDictionary but its generic type is String[] which is not supported by Realm HOT 2
- `SubscribeForNotifications` initial event should probably not be coalesced HOT 4
- Unity: Compensating Write Errors not Logged as Errors HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-dotnet.