[MGNLRES-40] InstallResourceTask should fail gracefully (i.e explicit Task exception) when resource is not found Created: 01/Feb/12  Updated: 29/Mar/22  Resolved: 02/Dec/13

Status: Closed
Project: Magnolia Resources Module
Component/s: management
Affects Version/s: 1.4, 1.5, 2.0.1
Fix Version/s: 1.5.10, 2.2.1

Type: Bug Priority: Major
Reporter: Magnolia International Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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
Team: Nucleus

 Description   

Current versions of InstallResourceTask do not check if a resource does exist before attempting to copy it to the repository, resulting in NullPointerException s when the given path/resource name does not point to a valid resource, thus making debugging unnecessary painful.


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