Details

    • Type: Bug Bug
    • Status: Open (View Workflow)
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2
    • Fix Version/s: 5.0
    • Component/s: Share Application, Workflow
    • Labels:
      None
    • Environment:
      linux - Ubuntu 14.04 - AE 4.2.2
    • Story Points:
      5

      Description

      In client-side file: task-edit-header.js the following inline function on line 199:
      YAHOO.lang.later(2000, this, function()
      {
      // Check referrer and fall back to user dashboard if unavailable.
      if(this.referrerValue) {
      if(referrerValue == 'tasks')

      { document.location.href = $siteURL("my-tasks"); } else if(referrerValue='workflows') { document.location.href = $siteURL("my-workflows"); }
      } else { document.location.href = this.getSiteDefaultUrl() || Alfresco.constants.URL_CONTEXT; }
      }

      Should be changed to correctly refer values (using 'this.' prefixes):

      YAHOO.lang.later(2000, this, function()
      {
      // Check referrer and fall back to user dashboard if unavailable.
      if(this.referrerValue) {
      if(this.referrerValue == 'tasks') { document.location.href = $siteURL("my-tasks"); }

      else if(this.referrerValue='workflows')

      { document.location.href = $siteURL("my-workflows"); }

      } else

      { document.location.href = this.getSiteDefaultUrl() || Alfresco.constants.URL_CONTEXT; }

      }

        Activity

        Hide
        Kevin Roast added a comment -

        Thanks Rasmus Melgaard for reporting.

        Show
        Kevin Roast added a comment - Thanks Rasmus Melgaard for reporting.

          People

          • Assignee:
            Investigation Queue
            Reporter:
            Kevin Roast
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: