Modify ↓
#12463 closed defect (fixed)
Adding versions for all projects not working
Reported by: | Owned by: | Cinc-th | |
---|---|---|---|
Priority: | normal | Component: | SimpleMultiProjectPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description
This is trac-1.0.5 and latest SimpleMultiProject from svn.
Adding versions, the "Add" button is only enabled if at least one project is selected. I like to add a version "devel" for all projects by selecting no project at all as described there in the note.
My [ticket-custom] for the project is set like this:
project = select project.invalid_if.1 = select... project.label = Project project.options = Internal:Trac|GIS|DOR_R4.0|BS_R4.0|foo|da|main|PM|P4|R_R4.1|select... project.value = select...
Attachments (0)
Change History (6)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Thanks, I have set this now:
[simple-multi-project] milestone_without_project = True version_without_project = True
comment:3 Changed 9 years ago by
Adding a version for no project is possible now. This version should appear for all projects, but it does not appear at all in the new ticket mask.
comment:4 Changed 9 years ago by
Owner: | changed from falkb to Cinc-th |
---|---|
Status: | new → accepted |
The problem is after calling
SmpModel.get_versions_of_project(project)
in ticket.py
post_process_request(self, req, template, data, content_type)
in line 70. Versions without a project are not added to the version list.
Note: See
TracTickets for help on using
tickets.
There is a config setting to allow no projects when creating milestones and versions. Go to Admin->Plugins->SimpleMultiProjectPlugin for documentation.
Yes, the wiki page should document these settings.