-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Medium
-
Affects Version/s: 9.6.4
-
Component/s: Bamboo Specs
-
None
-
1
-
Severity 3 - Minor
Issue Summary
This is reproducible on Data Center: (yes)
Steps to Reproduce
- On a new build plan or an existing build plan, add a new source code checkout task
2. Select a repository and specify a checkout directory.
3. Add a new repository to the same task, select the same repository, and specify a different checkout directory.
4. Test the build plan to ensure it runs successfully.
5. Select Actions > Configure plan, then select Actions > View plan as Java Specs or YAML.
6. The image below is a similar depiction

Expected Results
The Java code or Yaml template is displayed on a new page.
Actual Results
The below exception is thrown on the web page
Internal server error Go to... Site homepage A system error has occurred - our apologies! Please create a problem report on our support system at https://support.atlassian.com with the following information: a description of your problem and what you were doing at the time it occurred cut & paste the error and system information found below attach the atlassian-bamboo.log log file found in your application home. We will respond as promptly as possible. Thank you! Version: 9.3.6 Build: 90308 Build Date: 12 Dec 2023 Request information: Request URL: https://BAMBOO_URL:8085/exportSpecs/plan.action Scheme: https Server: Bamboo_URL Port: 8085 URI: /exportSpecs/plan.action Context path: Servlet path: /exportSpecs/plan.action Path info: Query string: buildKey=PLAN_KEY Stack Trace: com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException: Duplicate repository null at com.atlassian.bamboo.specs.model.task.VcsCheckoutTaskProperties.validate(VcsCheckoutTaskProperties.java:113)
Workaround
Create separate source code checkout tasks for different checkout directory.