[RESPDAM-83] JCR default values for variations Created: 21/Mar/23 Updated: 23/May/23 Resolved: 23/May/23 |
|
| Status: | Closed |
| Project: | DAM Focal |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.1 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Philipp Gaschuetz | Assignee: | Raphael Falvo |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[X] 
Architecture Decision Record (ADR)
|
||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||
| Date of First Response: | |||||||||||||
| Team: | |||||||||||||
| Work Started: | |||||||||||||
| Description |
|
info.magnolia.dam.focal.point.observation.FocalPointAssetObservation writes default values (50, 50) for each registered variation into the JCR when a new asset is created. Generally, I would like to question, whether this approach is the correct way to tackle default values, as it doesn't account for variations added to the definitions after an asset was created. Disregarding the usefulness of writing default values to the JCR in general:
If persisting default values is really necessary, kindly consider adding a condition based on the mimeType/fileType/tika recognized mimeType. Many thanks! |
| Comments |
| Comment by Raphael Falvo [ 08/May/23 ] |
|
Resolution of |
| Comment by Raphael Falvo [ 23/May/23 ] |
|
Will be released in version 2.4.1 |