Update User property order to force correct grouping in a shacl-vue form #65
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
inm7/inm7-concepts!65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "reorder"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is in response to inm7/annotate.inm7.de-users#18
A recent update to shacl-vue stated that, for a rendered form, a property should be divided
into the class group that either made the latest change to it if it was inherited,
or into the class that introduced the property. But it seems this update did not foresee
the situation where both an original and inheriting class have properties annotated with
the exact same sh:order. This causes a given property to be placed, incorrectly, in what
is determined, correctly, to be the originating class.
This stems from the fact that there is no machine-actionable knowledge about annotation
inheritance in the shacl that is exported from a linkml schema. The only way of knowing
this, in the current approach, is if the property changes. This is what we are doing with
this commit, by changing the annotation. This is done because of the absence of a better
solution at the current time.
I think this requires a comment next to the annotation in the schema definition. This will break at some point, but at least there should be comment that could shed a light on the situation that allows to re-apply this "fix" when it is needed.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.