Mini-Stef / Core-Data-Model-Editor

The place to get help, report problems or request feature on the Core Data Model Editor app.
https://github.com/Mini-Stef/Core-Data-Model-Editor
10 stars 1 forks source link

Arrows present on diagram but line joining them is missing. #13

Open TS200010 opened 1 month ago

TS200010 commented 1 month ago

Describe the bug Arrows present on digram but line joining them is missing.

To Reproduce Not sure how to reproduce but will try and attach the offending model.

Expected behavior The line should be there

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): macOS Sonoma 14.1.1

Screenshot 2024-10-04 at 13 01 55

DataModel.xcdatamodeld.zip

Mini-Stef commented 1 month ago

Dear TS200010,

Thanks for your report, and thanks for using the app. I did reproduce the problem, opening your file.

Now, looking at your file, it seems to me that :

So, for me, the diagram correctly represents the model... If you want an arrow between those, you need to set the inverse of one of them to be the other (both entity and relationship).

Do you agree or is there something I missed ?

Capture d’écran 2024-10-04 à 07 14 58 Capture d’écran 2024-10-04 à 07 16 54

Many thanks !

TS200010 commented 1 month ago

That would explain what appeared to me to be an error. Thanks for taking the time to look at it.

I have also just spent an hour rebuilding the xcdatamodel (no d) file as it suddenly stopped compiling after I think I saved it in error. The offending line was
<attribute name="answer" optional="YES" attributeType="String" defaultValueString=""""/> and its the four quotes causing the problem. Xcode puts &quot &quot not "" if that is what I enter as a default string.

I cannot be sure that they originated with your software but I mention it just win case.

Many thanks.

Mini-Stef commented 1 month ago

I will have a look at this 4 quotes story, it may come from the app indeed. But it’s now 8 am in my time zone, I am on the bus to go to work. I’ll look at it tonight 😀 Thanks again. Envoyé de mon iPhoneLe 4 oct. 2024 à 07:44, TS200010 @.***> a écrit : That would explain what appeared to me to be an error. Thanks for taking the time to look at it. I have also just spent an hour rebuilding the xcdatamodel (no d) file as it suddenly stopped compiling after I think I saved it in error. The offending line was <attribute name="answer" optional="YES" attributeType="String" defaultValueString=""""/> and its the four quotes causing the problem. Xcode puts &quot &quot not "" if that is what I enter as a default string. I cannot be sure that they originated with your software but I mention it just win case. Many thanks.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>