[MGNLUI-6764] UIComponentProvider faults when queried outside of any UI instance scope Created: 28/Jun/21  Updated: 19/Jul/21  Resolved: 08/Jul/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.11, 6.3.0

Type: Bug Priority: Neutral
Reporter: Aleksandr Pchelintcev Assignee: Aleksandr Pchelintcev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: SaaS project configuration
Sprint: Cloud Service 12, Cloud Service 13
Story Points: 3

 Description   

Steps to reproduce

  1. Start a Magnolia instance w/ configuration environment support  
  2. Go to definition app to trigger lazy evaluation of the definitions (this will ensure that they will clench the UIComponentProvider)
  3. Change any definition related to the chosen environment and push the changes
  4. -> witness the NPE

Generated at Mon Feb 12 09:39:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.