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

Exception when accessing federated .DS_Store files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: Fedora 4.0.0
    • Fix Version/s: None
    • Component/s: f4-core
    • Labels:
    • Environment:
      Federated folder is a remote OSX filesystem over CIFS
    • Sprint:
      Sprint 2015 - 2

      Description

      When accessing ".DS_Store" files on a federated filesystem, the following exception is thrown:

      INFO 17:25:40.434 (FedoraLdp) HEAD for: resources/ext/imagingserver/Non_Object/Non-Object Archive/GlassNegProject/GlassNegDocumentation/.DS_Store
      INFO 17:25:40.473 (WildcardExceptionMapper) Exception intercepted by WildcardExceptionMapper:

      java.lang.IllegalArgumentException: Illegal character in path at index 90: http://dams01-test.artic.edu/fcrepo/rest/resources/ext/imagingserver/Non_Object/Non-Object Archive/GlassN
      egProject/GlassNegDocumentation/.DS_Store/fcr:metadata
              at java.net.URI.create(URI.java:859) ~[na:1.7.0_55]
              at org.glassfish.jersey.uri.UriTemplate.normalize(UriTemplate.java:399) ~[jersey-common-2.13.jar:na]
              at org.glassfish.jersey.message.internal.JerseyLink$Builder.resolveLinkUri(JerseyLink.java:174) ~[jersey-common-2.13.jar:na]
              at org.glassfish.jersey.message.internal.JerseyLink$Builder.build(JerseyLink.java:161) ~[jersey-common-2.13.jar:na]
              at org.glassfish.jersey.message.internal.JerseyLink$Builder.build(JerseyLink.java:73) ~[jersey-common-2.13.jar:na]
              at org.fcrepo.http.api.FedoraLdp.addResourceLinkHeaders(FedoraLdp.java:521) ~[fcrepo-http-api-4.0.0-beta-05-SNAPSHOT.jar:na]
              at org.fcrepo.http.api.FedoraLdp.addResourceLinkHeaders(FedoraLdp.java:506) ~[fcrepo-http-api-4.0.0-beta-05-SNAPSHOT.jar:na]
              at org.fcrepo.http.api.FedoraLdp.addOptionsHttpHeaders(FedoraLdp.java:500) ~[fcrepo-http-api-4.0.0-beta-05-SNAPSHOT.jar:na]
              at org.fcrepo.http.api.FedoraLdp.addResourceHttpHeaders(FedoraLdp.java:470) ~[fcrepo-http-api-4.0.0-beta-05-SNAPSHOT.jar:na]
              at org.fcrepo.http.api.FedoraLdp.head(FedoraLdp.java:148) ~[fcrepo-http-api-4.0.0-beta-05-SNAPSHOT.jar:na]
              at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) ~[na:na]


      I can access other .DS_Store files but this one (and one in sibling directories) has a space in its path. I can access other files under the path containing the space, but not .DS_Store files.

      Will try some more combination to establish a pattern.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              scossu Stefano Cossu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: