-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 9.2.6, 9.2.11
-
Component/s: Plan Branches, Repository (Bitbucket)
-
None
-
1
-
Severity 2 - Major
Issue Summary
This is reproducible on Data Center: yes
Using a linked repository in a Branch plan we are unable to disable the "Enable repository caching on agents" option.
Steps to Reproduce
- Create a linked repository to a Bitbucket
- Create a plan that uses that repository.
- Configure the plan to create a branch plan on branch creation.
- Create a new branch on Bitbucket.
- Edit the repository within the created branch plan.
- select "Change repository settings for this branch plan"
- uncheck the setting for "Enable repository caching on agents"
- Save
Expected Results
The "Enable repository caching on agents" option is disabled.
Actual Results
The "Enable repository caching on agents" remains enabled.
Workaround
- Stop Bamboo
- Modify <bamboo-install>/atlassian-bamboo/branch/editChainBranchRepositorySnippet.ftl and change
[@ui.bambooSection id='advanced-configuration'] ${repo.htmlFragments.advancedServerOptionsHtml!} [/@ui.bambooSection]to
[@ui.bambooSection id='advanced-configuration'] [@s.hidden name="___advancedOptionsPresent___" value=true/] ${repo.htmlFragments.advancedServerOptionsHtml!} [/@ui.bambooSection]
- Start Bamboo