[MGNLRES-240] ResourceContainer should react to deleted resources Created: 30/Nov/15  Updated: 29/Mar/22  Resolved: 16/Dec/15

Status: Closed
Project: Magnolia Resources Module
Component/s: app, resourceLoaders
Affects Version/s: 2.4.2
Fix Version/s: 2.4.3

Type: Improvement Priority: Major
Reporter: Ilgun Ilgun Assignee: Ilgun Ilgun
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.5h
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-6338 New template scripts on the classpath... Closed
is related to MGNLRES-192 Renaming a resource in the file syste... 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)
Date of First Response:
Sprint: Basel 25
Story Points: 0
Team: Nucleus

 Description   

With the changes in MAGNOLIA-6338, we are able to observe added/deleted resources, however, current implementation of ResourceContainer is not able to react to this change. When one would delete a resource which is only available in one of the origins, then resourcesApp would throw an exception but instead it should be deleting the row from the view.

ResourcesContainer should be reflecting the changes for any given resource files.



 Comments   
Comment by Ilgun Ilgun [ 09/Dec/15 ]

apchelintcev Just saw the comment now, IMO it is depended from the main one.

Comment by Aleksandr Pchelintcev [ 15/Dec/15 ]

ilgun I think such an impression could appear due to the MAGNOLIA-6338 being stated rather vaguely. The fix you provide for MAGNOLIA-6338 by no means depends on fix this issue, instead - guess the fix for this issue wouldn't work w/out MAGNOLIA-6338 being properly handled. I again propose to invert the dependency and most likely re-phrase the statement of MAGNOLIA-6338 so that it is explained better what is happening there.

Comment by Bradley Andersen [ 06/Jan/16 ]

QAd with author; I am able to add / remove resources from the cli (even within dirs); expand / collapse on web ui reflects changes properly.

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