Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datatype constraint violation on metadataIssued and metadataModified when editing the repository layer metadata on client 1.17.0 #147

Open
kburger opened this issue Mar 7, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@kburger
Copy link

kburger commented Mar 7, 2024

Using a fresh deployment of server 1.17.1 and client 1.17.0, when editing the repository layer the following error prevents a user from saving:

[] a sh:ValidationReport;
  sh:conforms false;
  rdf4j:truncated false;
  sh:result [ a sh:ValidationResult;
      sh:focusNode <https://purl.org/fairdatapoint/staging>;
      rsx:shapesGraph rdf4j:SHACLShapeGraph;
      sh:value "Thu Mar 07 2024 09:58:24 GMT+0100 (Central European Standard Time)"^^xsd:dateTime;
      sh:resultPath <https://w3id.org/fdp/fdp-o#metadataIssued>;
      sh:sourceConstraintComponent sh:DatatypeConstraintComponent;
      sh:resultSeverity sh:Violation;
      sh:sourceShape [ a sh:PropertyShape;
          sh:path <https://w3id.org/fdp/fdp-o#metadataIssued>;
          sh:datatype xsd:dateTime
        ]
    ], [ a sh:ValidationResult;
      sh:focusNode <https://purl.org/fairdatapoint/staging>;
      rsx:shapesGraph rdf4j:SHACLShapeGraph;
      sh:value "Thu Mar 07 2024 09:58:24 GMT+0100 (Central European Standard Time)"^^xsd:dateTime;
      sh:resultPath <https://w3id.org/fdp/fdp-o#metadataModified>;
      sh:sourceConstraintComponent sh:DatatypeConstraintComponent;
      sh:resultSeverity sh:Violation;
      sh:sourceShape [ a sh:PropertyShape;
          sh:path <https://w3id.org/fdp/fdp-o#metadataModified>;
          sh:datatype xsd:dateTime
        ]
    ] .

There seems to be an issue with the values provided by the datepicker widget.

@kburger kburger added the bug Something isn't working label Mar 7, 2024
@kburger kburger changed the title datatype constraint violation on metdataIssued and metadataModified when editing the repository layer metadata on client 1.17.0 Datatype constraint violation on metadataIssued and metadataModified when editing the repository layer metadata on client 1.17.0 Mar 7, 2024
@markwilkinson
Copy link

This is a REALLY urgent bug, by the way... it's a blocker for EJP!

@markwilkinson
Copy link

I backed-down to 1.16.* (client and server) and still have the issue...

@markwilkinson
Copy link

I guess the incorrect format is written into GraphDB, so backing down wont solve the problem... :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants