<< Back to previous view |
![]() |
[QB-3259] Git submodule changing diff cannot be viewed. Unexpected error is shown instead
|
|
Status: | Open |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 8.0.14 |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Alexey Shumkin | Assigned To: | Steve Luo |
Resolution: | Unresolved | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown | ||
Environment: |
Operating System Linux 4.4.0-134-generic, amd64
JVM OpenJDK 64-Bit Server VM 1.7.0_111, Oracle Corporation QuickBuild Version 8.0.14 - Mon Jul 30 09:20:03 UTC 2018 |
Description |
I have submodules in projects
When I try to see the diff of submodule change in SCM changes of a build, I get "There is a problem" error. Message: Failed to run command: git show 1e4531be5c3f16d43575b5228f85d4b4845d4488:lib/MSBuildTasks Command return code: 128 Command error output: fatal: bad object 1e4531be5c3f16d43575b5228f85d4b4845d4488:lib/MSBuildTasks Root cause: com.pmease.quickbuild.QuickbuildException: Failed to run command: git show 1e4531be5c3f16d43575b5228f85d4b4845d4488:lib/MSBuildTasks Command return code: 128 Command error output: fatal: bad object 1e4531be5c3f16d43575b5228f85d4b4845d4488:lib/MSBuildTasks at com.pmease.quickbuild.execution.Commandline$ExecuteResult.buildException(Commandline.java:516) at com.pmease.quickbuild.execution.Commandline$ExecuteResult.checkReturnCode(Commandline.java:531) at com.pmease.quickbuild.plugin.scm.helper.ScmCli.run(ScmCli.java:106) at com.pmease.quickbuild.plugin.scm.helper.ScmCli.run(ScmCli.java:95) at com.pmease.quickbuild.plugin.scm.helper.ScmCli.run(ScmCli.java:87) at com.pmease.quickbuild.plugin.scm.git.GitCli.show(GitCli.java:495) at com.pmease.quickbuild.plugin.scm.git.GitSourceViewSupport.readSourceByEdition(GitSourceViewSupport.java:52) at com.pmease.quickbuild.repositorysupport.WorkingDirLocator$SourceViewJob.execute(WorkingDirLocator.java:76) at com.pmease.quickbuild.grid.NodeJobExecuteJob.execute(NodeJobExecuteJob.java:25) at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Steps: 1. Setup config for Git repository with submodules 2. Push a submodule change 3. Run a build. 4. After build completed got to SCM changes. "By file". Click "View" or "Diff" for a submodule change. Observe "There is a problem" the page I suppose, some kind of result of `git diff --submodule COMMIT-1 COMMIT-2` has to be shown but not the error |