Closed wkallhof closed 7 years ago
Could swear I fixed that exact bug recently (but in a different way). Which version of Archetype did you observe the bug in?
Latest Archetype on NuGet v1.13.1
I would recommend upgrading to 1.13.2: https://www.nuget.org/packages/Archetype/1.13.2
Here was the commit with the prior fix if you are curious: https://github.com/kgiszewski/Archetype/commit/155355aa0058f824687c6273ca26e2e442a4d169
Sigh. Turns out it wasn't the latest :)
Feel free to close.
Now to figure out how to get back the last 4 hours of my life tracking down a bug that was already fixed...
Wasn't time wasted! You got more familiar with the Archetype codebase, which will make future changes easier :-)
Though, I can see how that would be frustrating: https://www.youtube.com/watch?v=dGGfnLBTLdY
:-P
Haha, thanks for the quick response @Nicholas-Westby
Good work fellas
Steps to reproduce bug
I noticed an issue when I had max fieldset validation turned on where when I have an archetype collection at max, I can't drag and drop within the same archetype in order to reorder the collection. I found that the code was dropping into the logic section that should be used to handle dragging and dropping between different Archetypes, which wasn't my case.
This led me to look at how
sameScope
was being derived, and I found that in every case, it was false because it was comparing a child scope to a parent scope.I updated it to compare the correct scope levels and things appear to work as expected now.