Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3868

"does not exist at revision" error when browsing files with umlaut characters

    XMLWordPrintable

Details

    Description

      Steps to produce

      1. Create a file with Umlaut characters, for example: Zylindrizität.
      2. Create the repo in Stash and push the files to Stash.
      3. Navigate to the file in the UI.

      Results
      The following error will appear in the UI:

      The path "Zylindrizität" does not exist at revision "refs/heads/master"
      

      and these errors will appear in the logs:

      ServiceExceptionMapper Mapping ServiceException to REST response 404
      com.atlassian.stash.exception.NoSuchPathException: The path "_Argillon_Projects/V144-059_CR006-2012 Zylindrizität" does not exist at revision "refs/heads/144-077_CR021-2013"
      	at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.evaluateStdErr(GitCommandExitHandler.java:70) ~[na:na]
      	at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.onError(GitCommandExitHandler.java:159) ~[na:na]
      	at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.7.1.jar:na]
      	at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141) ~[stash-spi-2.7.1.jar:na]
      	at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257) ~[stash-spi-2.7.1.jar:na]
      	at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:224) ~[stash-spi-2.7.1.jar:na]
      	at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.7.1.jar:na]
      	at com.atlassian.stash.internal.content.ContentServiceImpl.getType(ContentServiceImpl.java:80) ~[stash-service-impl-2.7.1.jar:na]
      	at sun.reflect.GeneratedMethodAccessor576.invoke(Unknown Source) ~[na:na]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21]
      	at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21]
      	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      .
      .
      .
      

      Attachments

        Activity

          People

            fdoherty@atlassian.com Frank Doherty
            oalsafi OmarA
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: