[CFGUI-89] As a user I want to see effective values of definition items Created: 24/May/19 Updated: 25/Mar/22 |
|
| Status: | Open |
| Project: | Definitions App |
| Component/s: | None |
| Affects Version/s: | 2.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| 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: | |||||||||
| Description |
|
According to Sasha:
I actually thought that the def.app. shows effective values, apparently that's not the case. As a user I want to see effective values of definition items. "Use case" default valuesDefault values defined in the Java definition class are not showed on the view of the definition app. ExampleDefinition class FooBar (from a module definition class)
public class FooBar {
private List<String> colors;
private boolean colorsEnabled = true;
public boolean isColorsEnabled() {
return colorsEnabled;
}
public void setColorsEnabled(boolean colorsEnabled) {
this.colorsEnabled = colorsEnabled;
}
public List<String> getColors() {
return colors;
}
public void setColors(List<String> colors) {
this.colors = colors;
}
}
YAML: fooBar: colors: [red, green, blue] screenshot: Source of the example https://git.magnolia-cms.com/users/cmeier/repos/another-module
|
| Comments |
| Comment by Christopher Zimmermann [ 27/May/19 ] |
|
Definitions app should always show the "effective" or active configuration.
https://documentation.magnolia-cms.com/display/DOCS60/Definitions+app "The app displays active definitions from all sources - JCR and YAML - and origins - classpath, JCR and file system." |
| Comment by Christopher Zimmermann [ 25/Mar/22 ] |
|
Is the problem here specifically that the default value is not shown? |