-
Bug
-
Resolution: Done
-
Major
-
None
-
2020 Week 07-09 (from Feb 10)
-
5
-
NEW
-
NEW
I understand DROOLS-5017 has been re-purposed to allow Info and Warn level messages be displayed on Stunner Validation dialog. That is fine.
But, imho, an UX point is not being considered, where is necessary instead.
By the DMN spec, a node should not have a prefix/trailing space, as space insensitivity would mandate 1 trailing or 2 trailing spaces are simply ignored etc.
The engine is lenient to avoid this crashing the evaluation, but still is a bad designed model to persist the node name (DRGElement name and its corresponding variable name) with those extra spaces IMHO.
Further, I consider is just the Analyst which slipped a space.
In my perspective, the editor should just strip away the prefix/trailing space:
While Importing a DMN model from file Upload(See DROOLS-5062)- While editing a DRGElement and hitting OK to save its name
For your consideration, thanks.
Manual acceptance test
- Rename a node, check undo/redo
- Leading space
- Trailing space
- Save and reopen
- Documentation tab
- Rename via node popup
- Rename via properties panel
- Rename via expression grid - where applicable
- causes
-
DROOLS-5137 [DMN Designer] Decision Navigator shows Name.toString() value for diagram
- Closed
- incorporates
-
RHDM-1247 [DMN Designer] properties panel is not refreshed for top level output header
- Closed
- is cloned by
-
DROOLS-5062 [DMN Designer] Systematically correct node prefix/trailing space on import
- Open
- is related to
-
DROOLS-3648 [DMN Designer] Boxed expressions - Decision Table - Allow Literal Expressions in the Decision Table header
- Closed
- relates to
-
DROOLS-5017 [DMN Designer] Validation issues are not shown in Alerts panel
- Closed