Details

    • Type: Bug
    • Status: Review (View Workflow)
    • Priority: 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
        kroast Kevin Roast added a comment -

        Thanks Rasmus Melgaard for reporting.

        Show
        kroast Kevin Roast added a comment - Thanks Rasmus Melgaard for reporting.
        Hide
        nsmintanca Natalia Smintanca added a comment -

        Code checked into alfresco/BRANCHES/DEV/NESS/5.0.N-2015_04_24 @ revision r104795

        Show
        nsmintanca Natalia Smintanca added a comment - Code checked into alfresco/BRANCHES/DEV/NESS/5.0.N-2015_04_24 @ revision r104795

          People

          • Assignee:
            uiteam Web Apps
            Reporter:
            kroast Kevin Roast
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours
              2h