[MGNLUI-5183] IsDefinitionRule is being executed on every workspace Created: 07/May/19  Updated: 05/Mar/21  Resolved: 05/Mar/21

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

Type: Bug Priority: Minor
Reporter: Richard Gange Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
supersession
is superseded by MGNLUI-6315 Migrate JCR Browser to new UI FW 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

 Description   

When deleting nodes from my custom workspace (JCR Browser) I get errors like this one constantly:

2019-05-07 12:24:16,303 WARN  agnolia.ui.framework.availability.IsDefinitionRule: Error evaluating availability for node [/shared], returning false: null
2019-05-07 12:24:17,325 INFO  info.magnolia.module.scheduler.CommandJob         : Starting job [UI Action triggered execution of [default:delete] by user [superuser]. (6)]...
2019-05-07 12:24:17,643 INFO  info.magnolia.module.scheduler.CommandJob         : Job executed successfully [UI Action triggered execution of [default:delete] by user [superuser]. (6)]

This really only needs to run if the deletion is occurring from the config workspace since that's the workspace used for definitions.


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