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

backtrace when running exposed wizard

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.5.0, 2.5.2, 2.5.3, 2.6.0
    • Fix Version/s: None
    • Component/s: OSP: Wizards - General
    • Labels:
      None

      Description

      When running an exposed wizard, user still sees "back to wizards" button. It results in a backtrace, since there's typically no wizards tool to go back to.

      You need to add a test for exposeAsTool in runWizardGuidance.jsp, as follows:

      <sakai:button_bar_item id="returnToList" value="#

      {msgs.wizard_list}

      "
      action="#

      {wizard.processActionCancelRun}

      " rendered="#

      {!wizard.fromEvaluation && !wizard.current.base.exposeAsTool}

      " accesskey="l"/>
      <sakai:button_bar_item id="returnToEvaluations" value="#

      {msgs.evaluation_list}

      "

      You also need to set exposeAsTool. It seems to be set only in the editWizardsProperties.jsp, which is not called. (The call is commented out.) I added to checkbox to the end of editWizardSupport.jsp:

      <h:selectBooleanCheckbox id="asTool" value="#

      {wizard.current.exposeAsTool}

      " />
      <h:outputLabel value="#

      {msgs.expose_as_tool}

      " for="asTool" />

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    osp-jira OSP Jira Team (Inactive)
                    Reporter:
                    hedrick Charles Hedrick
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    1 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration