Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-33449

Duplicate tool can be added to My Workspace after SakaiScript.jws' addNewToolToAllWorkspaces() fails to set tool title

    XMLWordPrintable

    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:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      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-33441 has 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

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                steve.swinsburg Steve Swinsburg
                Reporter:
                austinUH Austin
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration