Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9784

In Webapps, proms are not handled for sdk-js requests

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.12.0, 7.12.0-alpha1
    • None
    • webapp
    • None

      Problem

      • Rejected sdk-js proms are not handled correctly
      • Due to this, Possibly unhandled rejection error: is shown in the developer console
      • Fixing this problem at all places where sdk-js requests are made would introduce a high risk of regressions

      Solution #1
      Fix at one central place in sdk-js (e. g. prototype inheritance)

      Solution #2
      Disable error message in angularjs

      Conclusion
      Since Solution #1 might break the API behavior some users rely on, Solution #2 should be preferred over Solution #1.

        This is the controller panel for Smart Panels app

            [CAM-9784] In Webapps, proms are not handled for sdk-js requests

            Tassilo Weidner created issue -
            Tassilo Weidner made changes -
            Description Original: To be specified. New: To be specified.

            Could be related to CAM-9736
            Tassilo Weidner made changes -
            Link New: This issue is related to CAM-9736 [ CAM-9736 ]
            Tassilo Weidner made changes -
            Rank New: Ranked higher
            Tassilo Weidner made changes -
            Rank New: Ranked lower
            Thorben Lindhauer made changes -
            Fix Version/s Original: 7.11.0 [ 15343 ]
            Tassilo Weidner made changes -
            Fix Version/s New: 7.12.0 [ 15387 ]
            Tassilo Weidner made changes -
            Description Original: To be specified.

            Could be related to CAM-9736
            New: *Problem*
            * Rejected sdk-js proms are not handled correctly
            * This is the r
            * Fixing this problem at
            Tassilo Weidner made changes -
            Description Original: *Problem*
            * Rejected sdk-js proms are not handled correctly
            * This is the r
            * Fixing this problem at
            New: *Problem*
            * Rejected sdk-js proms are not handled correctly
            * Due to this, {code}Possibly unhandled rejection error: {code} is shown in the developer console
            * Fixing this problem at all places where sdk-js requests are made would introduce a high risk of regressions

            *Solution #1*
            Fix at one central place in sdk-js (e. g. prototype inheritance)

            *Solution #2*
            Disable error message in angularjs

            *Conclusion*
            Since *Solution #1* might break the API behavior some users rely on, *Solution #2* should be preferred over *Solution #1*.
            Tassilo Weidner made changes -
            Description Original: *Problem*
            * Rejected sdk-js proms are not handled correctly
            * Due to this, {code}Possibly unhandled rejection error: {code} is shown in the developer console
            * Fixing this problem at all places where sdk-js requests are made would introduce a high risk of regressions

            *Solution #1*
            Fix at one central place in sdk-js (e. g. prototype inheritance)

            *Solution #2*
            Disable error message in angularjs

            *Conclusion*
            Since *Solution #1* might break the API behavior some users rely on, *Solution #2* should be preferred over *Solution #1*.
            New: *Problem*
            * Rejected sdk-js proms are not handled correctly
            * Due to this, {{Possibly unhandled rejection error: }} is shown in the developer console
            * Fixing this problem at all places where sdk-js requests are made would introduce a high risk of regressions

            *Solution #1*
            Fix at one central place in sdk-js (e. g. prototype inheritance)

            *Solution #2*
            Disable error message in angularjs

            *Conclusion*
            Since *Solution #1* might break the API behavior some users rely on, *Solution #2* should be preferred over *Solution #1*.

              akif.hazarvi Akif
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: