If you set up a neighborhood's anchored tools to wiki:Wiki
and then register a new project and mark the checkbox for a wiki, you end up with 2 wikis on your project and also the following error in the logs.
The anchored tool logic works pretty well for existing projects -- when you set the anchored tools and a project already has one, it doesn't install another. This should work similarly during project registration too.
16:26:48,868 ERROR [allura.model.project] wiki is not available Traceback (most recent call last): File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/model/project.py", line 453, in install_anchored_tools new_tools.append(self.install_app(tool, tool, label, i)) File "/home/dbrondsema/dbrondsema-7024/forge/Allura/allura/model/project.py", line 544, in install_app 'Mount point "%s" is already in use' % mount_point) ToolError: Mount point "wiki" is already in use
Created #284: [#5861] Anchored tools shouldn't install something twice (1cp)
Related
Tickets:
#5861Closed #284.
allura:je/42cc_5861
Also, we've fixed a bug in the nav grouping.
You can reproduce the bug on master as follows: