[MGNLRESTUI-44] Json preview definition is inconsistent with JCR/assets preview config Created: 08/Jul/20 Updated: 05/Mar/21 |
|
| Status: | Open |
| Project: | Magnolia REST Client UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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)
|
||||||||
| Description |
public JsonPreviewProvider(JsonDatasourceDefinition definition) { this.expression = definition.getJsonPathExpressions().getPreview(); } vs.
JcrPreviewProvider(JcrDatasourceDefinition datasourceDefinition, Provider<HttpServletRequest> requestProvider, LinkProvider linkProvider) {
this.contextPath = requestProvider.get().getContextPath();
this.preview = datasourceDefinition.getPreview();
this.linkProvider = linkProvider;
}
|