Portfolio throws error when uncommitted distribution carried over from older experience UI.

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 3.12.0
    • Affects Version/s: None
    • Component/s: Stage & skills
    • None
    • 5
    • Severity 3 - Minor
    • 52

      Issue Summary

      In new experience UI (Portfolio 3.X), when an issue in a plan contains an uncommitted distribution change (carried over from Portfolio's older experience), and the user attempts to review this change, Portfolio will throw a Javascript error:

      com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42 Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
          at http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:424
          at a (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:527)
          at po (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:45850)
          at http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:50607
          at xi (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:57406)
          at ji (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:65791)
          at Ba (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:84648)
          at Ha (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:85032)
          at Os (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:91569)
          at Ts (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:90949)
      

      Environment

      Jira Portfolio 3.X

      Steps to Reproduce

      Expected Results

      Portfolio commit the changes without any error.

      Actual Results

      Portfolio fails to commit the changes and following Javascript error is shown:

      com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42 Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
          at http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:424
          at a (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:527)
          at po (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:45850)
          at http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:50607
          at xi (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:57406)
          at ji (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:65791)
          at Ba (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:84648)
          at Ha (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:85032)
          at Os (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:91569)
          at Ts (http://10.117.8.150:8080/JPO-3751/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-393hd9/713003/ed6d837f36883cb42558e6ef09912d49/3.8.0/_/download/batch/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts/com.atlassian.jpo:jpo-wr-page-portfolio-frontend-vendor-scripts.js:42:90949)
      

      Workaround

      • Turn back to the old experience from the plan configuration.
      • Commit the changes.
      • Change back to the new experience

        1. Repro.gif
          2.67 MB
          Vicknesh Shanmugam

            Assignee:
            Raathi
            Reporter:
            Vicknesh Shanmugam (Inactive)
            Archiver:
            Aakrity Tibrewal

              Created:
              Updated:
              Resolved:
              Archived: