-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
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
Description | Original: To be specified. |
New:
To be specified.
Could be related to |
Rank | New: Ranked higher |
Rank | New: Ranked lower |
Fix Version/s | Original: 7.11.0 [ 15343 ] |
Fix Version/s | New: 7.12.0 [ 15387 ] |
Description |
Original:
To be specified.
Could be related to |
New:
*Problem*
* Rejected sdk-js proms are not handled correctly * This is the r * Fixing this problem at |
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*. |
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*. |