Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1447

Duplicate date properties on NonRdfSourceDescriptions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.1.1
    • Fix Version/s: Fedora 4.4.0
    • Component/s: f4-core
    • Labels:
      None
    • Environment:
      Ubuntu 14.04, Tomcat7
    • Sprint:
      Sprint 2015 - 5, Sprint 2015 - 6, Sprint 2015 - 8, Sprint 2015 - 9, Sprint 2015 - 10

      Description

      The following SPARQL query creates duplicate date propeties on NonRdfSourceDescriptions:

      DELETE WHERE

      { <> <http://www.loc.gov/premis/rdf/v1#hasDateCreatedByApplication> ?o0 . <> <http://www.loc.gov/premis/rdf/v1#hasEventDateTime> ?o1 . }

      ;
      INSERT DATA

      { <> <http://www.loc.gov/premis/rdf/v1#hasDateCreatedByApplication> "2015-01-27T19:09:18.112Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> . <> <http://www.loc.gov/premis/rdf/v1#hasEventDateTime> "2015-01-27T19:09:18.112Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> . }

      Does not seem to affect Containers. Non-date properties seem to be safe, as well.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              daniel-dgi daniel-dgi
              Reviewer:
              daniel-dgi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: