click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: SAK-7209
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: John Leasia
Reporter: Jim Eng
Votes: 0
Watchers: 6
Operations

If you were logged in you would be able to see more operations.
Sakai

Allow multiple instances of new tools

Created: 21-Nov-2006 11:04   Updated: 08-Dec-2009 12:40
Component/s: Site Info, Site service (Pre-K1/2.6), Sites (Admin Site Management), Worksite Setup
Affects Version/s: 2.3.0, 2.3.1, 2.3.2, 2.3.x, 2.4.0, 2.4.1, 2.5.0, 2.5.2
Fix Version/s: 2.6.0

Time Tracking:
Not Specified

Issue Links:
Depend
 
Duplicate
 

2.6.x Status: None
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
As I understand it, when WorksiteSetup is used to create/modify a site, the only tools that can have multiple instances are WebContent (the "iframe" tool) and News (rss client). We are creating a new tool that will need multiple instances. It should be possible to designate that a particular tool can have multiple instances in a site without modifying the code for the WorksiteSetup tool. This ticket requests that WorksiteSetup be modified to support that.

 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
Peter A. Knoop added a comment - 12-Mar-2007 10:24
This issue is currently scheduled to be addressed for the 2.4 release. There are only 3 days left until code freeze. If know already that this issue will not be addressed for 2.4, please updated the Fix Version with a new estimate of when it will be addressed. Thanks.

Zhen Qian added a comment - 18-Mar-2007 15:19
Details need to be worked out in places like where to store the configuration variables to allow multiple instances of tools, what options to show to user when they are in the configuration page, and the proper UI design for that page in case many tools want to be multiple-instance enabled...

Postpone this to 2.5.

Thanks,

- Zhen

Peter A. Knoop added a comment - 17-Apr-2007 08:36
An example of a new tool which it would make sense to have multiple instances of is Linktool (see SAK-9531).

Charles Hedrick added a comment - 17-May-2007 12:44
it is already possible to have multiple instances of linktool, although they have to be given different tool names, which requires a new XML file.

Peter A. Knoop added a comment - 10-Sep-2007 16:24
[Bulk Change] This issue is currently Unresolved, however, it has a Fix Version set. In keeping with the newly added Target Version, Fix Versions should only be set for Resolved Issues, and only after it has been merged to that version specifically. The Fix Version is being reset to Unknown for this issue. Please use the Target Version to indicate when you plan to address this issue.

Zhen Qian added a comment - 11-Jun-2008 09:09
If the tool definition xml file has the following:

<!-- Allow multiple instances of this tool within one site -->
<configuration name="allowMultipleInstances" value="true" />

Then user would be able to select multiple instances of the tool within Site Info.

The tool xml files has been updated for News tool and Web Content tool.

- Zhen

Angela Joyce Henry added a comment - 28-Mar-2009 11:07
QA ENVIRONMENT
Sakai QA Network qa1-nl (svn tags/sakai_2-6-0_beta_3) using MySQL 5/InnoDB, Java 1.5.0_13 amd64 - ? - Sakai ? - Server qa1-nl (Ubuntu 8.x, Firefox 3.x)

QA SUMMARY - PROCEDURE
In Site Info, click Edit tools
Check the checkboxes next to Web Content and News tools
Click Continue
On Add Multiple Tool Instances page, add 2 news feed tools and 2 web content tools

QA RESULTS
I was able to successfully create multiple tools of both types.

QA VERIFIED/PASS
Issue closed

Zhen Qian added a comment - 02-Dec-2009 10:31
This is originally filed as feature request so that it is not merged into 2.5.x.

However, during the merging of fixes to SAK-14390 and SAK-14385, it turns out SAK-7209 needs to be merged into 2.5.x first.

Zhen Qian added a comment - 02-Dec-2009 10:33
merged into 2.5.x in r69426.

Zhen Qian added a comment - 02-Dec-2009 10:36
above is for merge of r40482.

r40483 is merged into 2.5.x in r69427.

Zhen Qian added a comment - 08-Dec-2009 12:40
merges into 2-5-x has been reverted.