How can we help you today? How can we help you today?

Error in flyway too.

BUG: Trying to compare properties of different types (source is RedGate.RgCompare.DomainTypes.Model.Properties.PropertyArray but target is RedGate.RgCompare.Model.Properties.DatabaseObjectListProperty Details: at RedGate.RgCompare.Error.RgcAssertions.FailIf(Boolean condition, SensitiveString message) at RedGate.RgCompare.Comparison.DatabaseComparer.CompareProperty(Property sourceValue, Property targetValue, ComparisonContext context) at RedGate.RgCompare.Comparison.DatabaseComparer.ComparePropertyBags(IReadOnlyDictionary`2 sourcePropertiesMaybe, IReadOnlyDictionary`2 targetPropertiesMaybe, ComparisonContext context) at RedGate.RgCompare.Comparison.DatabaseComparer.CompareDatabaseObject(DatabaseObject sourceObject, DatabaseObject targetObject, ComparisonContext context) at RedGate.RgCompare.Comparison.DatabaseComparer.CompareDatabaseObject(DatabaseObject sourceObject, DatabaseObject targetObject, ComparisonOptions options) at RedGate.RgCompare.Comparison.MapperUtils.<>c__DisplayClass3_1.<JoinByEquality>b__0(DatabaseObject targetCandidate) at System.Linq.Enumerable.ListWhereIterator`1.MoveNext() at System.Linq.Enumerable.MinBy[TSource,TKey](IEnumerable`1 source, Func`2 keySelector, IComparer`1 comparer) at System.Linq.Enumerable.MinBy[TSource,TKey](IEnumerable`1 source, Func`2 keySelector) at RedGate.RgCompare.Comparison.MapperUtils.JoinByEquality(DatabaseComparer comparer, ComparisonOptions options, IEnumerable`1 unmappedObjects, Func`3 isMappingAllowed) at RedGate.RgCompare.Comparison.MapperUtils.JoinByNameThenByEquality(IDatabaseObjectList left, IDatabaseObjectList right, ObjectType parentType, PropertyName parentProperty, ComparisonOptions options, DatabaseComparer comparer, Func`3 isMappingAllowed) at RedGate.RgCompare.Postgres.Comparison.PostgresDatabaseObjectMapper.Map(IDatabaseObjectList left, IDatabaseObjectList right, ObjectType parentType, PropertyName parentProperty, ComparisonOptions options) at RedGate.RgCompare.Comparison.DatabaseComparer.CompareDatabaseObjectLists(IDatabaseObjectList sourceObjects, IDatabaseObjectList targetObjects, ComparisonContext context, IRgcProgressReporter progress) at RedGate.RgCompare.Comparison.DatabaseComparer.Run(Database source, Database target, IReadOnlyCollection`1 topLevelObjectTypes, IRgcProgressReporter progress, ComparisonOptions options) at RedGate.RgCompare.Runner.RgcRunner.Compare(Database source, Database target, ComparisonOptions options, IRgcProgressReporter progress) at RedGate.RgCompare.RgCompareAdapter.RgCompareEngine.Compare(ExistingFilePath sourceFile, ExistingFilePath targetFile, GenericOptions options, IRgcProgressReporter progress) at RedGate.RgCompare.Cli.Commands.CompareCommand.<>c__DisplayClass1_0.<CompareHandler>b__0() at RedGate.RgCompare.Cli.Commands.RgCommand.WithUsageReporting(Func`1 resultWithFur) at RedGate.RgCompare.Cli.Commands.CompareCommand.CompareHandler(String source, String target, String[] option) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

Mohammed Hamed
0

Comments

1 comment

  • Jon Kirkwood
    Official comment

    Hi Mohammed Hamed,

    Thanks for reaching out regarding your Flyway Desktop error. 

    Could you please provide the following details to help us investigate further?

    • The version of Flyway you're using
    • A full copy of the logs
    • A brief description of what you were doing when the error occurred (e.g., running a migration, opening a project, saving objects)

    I see you have a ticket logged directly with the support team - It would be preferred to communicated via the support portal as it can ensure a more direct line of communication with the support team and allow you to provide log files with our team securely.

    Jon Kirkwood

Add comment

Please sign in to leave a comment.