An example of using sh:closed (which previously worked to demonstrate Fluree allowing/disallowing txns that did or didn't conform to a closed shape) is now rejecting valid txns against that closed shape.
Here are some useful logs and the error message returned:
:first #Flake [211106232532994 0 "http://schema.org/name" 1 -1 true nil]
...
"SHACL shape is closed, extra properties not allowed: [211106232532994]"
Considerations
@zonotope has mentioned some recent changes to predicate id handling. It would be understandable if the use of "sh:path": {"@id": "schema:name"} and the use of "insert": { ..., "schema:name": "Dolly Parton" } were somehow not resolving to the same property described in the rule and described in the transaction
Description
An example of using
sh:closed
(which previously worked to demonstrate Fluree allowing/disallowing txns that did or didn't conform to a closed shape) is now rejecting valid txns against that closed shape.The following default conn context is being used:
This is the create txn:
This is the valid txn that is being rejected for using
schema:name
onex:User
, despiteschema:name
being whitelistedHere are some useful logs and the error message returned:
Considerations
@zonotope has mentioned some recent changes to predicate id handling. It would be understandable if the use of
"sh:path": {"@id": "schema:name"}
and the use of"insert": { ..., "schema:name": "Dolly Parton" }
were somehow not resolving to the same property described in the rule and described in the transaction