Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 5.0.3
    • Component/s: Share Application, Workflow
    • Labels:
      None
    • Environment:
      linux - Ubuntu 14.04 - AE 4.2.2

      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; }

      }

        Attachments

          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 [X] (Inactive) added a comment -

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

          Show
          nsmintanca Natalia Smintanca [X] (Inactive) added a comment - Code checked into alfresco/BRANCHES/DEV/NESS/5.0.N-2015_04_24 @ revision r104795
          Hide
          kroast Kevin Roast added a comment - - edited

          Please merge to 5.0.N

          Show
          kroast Kevin Roast added a comment - - edited Please merge to 5.0.N
          Hide
          nsmintanca Natalia Smintanca [X] (Inactive) added a comment - - edited

          Merged revision r104795 from /DEV/NESS/5.0.N-2015_04_24 to DEV/5.0.N @revision r110875

          Show
          nsmintanca Natalia Smintanca [X] (Inactive) added a comment - - edited Merged revision r104795 from /DEV/NESS/5.0.N-2015_04_24 to DEV/5.0.N @revision r110875

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              kroast Kevin Roast
              My watchers:
              Brian Remmington, Gavin Cornwell, Kevin Roast, Natalia Smintanca [X] (Inactive), Rasmus Melgaard, Ravi Manthena [X] (Inactive), Will Taylor [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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