Details
-
Type:
Bug
-
Status: CLOSED
-
Priority:
Major
-
Resolution: Non-Issue
-
Affects Version/s: 10.7
-
Fix Version/s: None
-
Component/s: Web Services
-
Labels:None
-
Test Plan:
Description
SakaiScript's addNewToolToAllWorkspaces() does not set the tool's title, which causes duplicate tools to be added when the user manually edits their workspace tools.
Steps
- (ensure that the patch for
SAK-33441has been applied) - run SakaiScript.jws?wsdl and call addNewToolToAllWorkspaces(sessionid, toolid, pagetitle, tooltitle, pagelayout, position, popup) and ensure that you pass in the tooltitle param
- After the webservice completes, login to the UI
- confirm that the new tool was added to the My Workspace tool menu
- goto My Workspace -> Worksite setup
- Select My Workspace and click Edit
- Do not select or deselect anything
- click continue
In the confirmation page, the new tool will be highlighted
- click finish
a duplicate of the tool will be created in the tool menu