[MGNLUI-5741] Missing location in definition causes NPE in the definition observation Created: 18/Mar/20  Updated: 23/Mar/20  Resolved: 23/Mar/20

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

Type: Bug Priority: Neutral
Reporter: Ilgun Ilgun Assignee: Ilgun Ilgun
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File stacktrace_delete_definition.png    
Issue Links:
duplicate
is duplicated by MAGNOLIA-7742 NPE when remove lightmodule Closed
supersession
is superseded by MAGNOLIA-7751 Prevent AbstractFileResourceConfigura... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Sprint: UI Framework 20

 Description   

info.magnolia.config.source.yaml.AbstractFileResourceConfigurationSource#removeDefinitionsMatchingPath throws NPE when one removes the definition from the file system. This is caused from null value in the location of a definition.

 

AC

  • Add location value to the auto-generated searchResultSuppliers

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