Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.0
Description
Having a pipe | in the branch name will result in the changeset index failing, which in turn results in JIRA linking not working at all in that repository.
This may manifest itself with the following stacktrace in the logs:
com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: Broken pipe at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:120) ~[na:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onCancel(GitCommandExitHandler.java:46) ~[na:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:138) ~[stash-spi-2.9.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257) ~[stash-spi-2.9.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:238) ~[stash-spi-2.9.2.jar:na] at com.atlassian.stash.internal.idx.ChangesetIndexingServiceImpl$IndexOperation.wrapUpCommand(ChangesetIndexingServiceImpl.java:486) ~[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.idx.ChangesetIndexingServiceImpl$IndexOperation.indexChangesets(ChangesetIndexingServiceImpl.java:447) ~[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.idx.ChangesetIndexingServiceImpl$IndexOperation.index(ChangesetIndexingServiceImpl.java:366) ~[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.idx.ChangesetIndexingServiceImpl$IndexOperation.perform(ChangesetIndexingServiceImpl.java:273) ~[stash-service-impl-2.9.2.jar:na] at com.atlassian.stash.internal.idx.ChangesetIndexingServiceImpl.indexRepository(ChangesetIndexingServiceImpl.java:146) ~[stash-service-impl-2.9.2.jar:na] at com.sun.proxy.$Proxy209.indexRepository(Unknown Source) ~[na:na] at com.atlassian.stash.internal.idx.ChangesetIndexingScheduler$HierarchyIndexer.index(ChangesetIndexingScheduler.java:211) [stash-service-impl-2.9.2.jar:na]
Some broken artifacts may be visible in the branch selector UI.