[MGNLUI-6411] When displaying a link field, the combobox is always querying the dataset size Created: 18/Nov/20 Updated: 01/Mar/21 Resolved: 02/Dec/20 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.6 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Mercedes Iruela | Assignee: | Šimon Demočko |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 53m | ||
| 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)
|
||||||||||||||||||||||||||||
| Bug DoR: |
[X]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||
| Epic Link: | Improve Content Linking | ||||||||||||||||||||||||||||
| Sprint: | Maintenance 35, Maintenance 36 | ||||||||||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||||||||||
| Description |
Steps to reproduce
Expected resultNot querying the whole workspace when generating the dialog Current resultA query is done to get dataset size. Development notesIf you include a breakpoint in info.magnolia.dam.jcr.JcrAssetProvider.list(AssetQuery), you can see the following stack: |
| Comments |
| Comment by Šimon Demočko [ 27/Nov/20 ] |
|
DOC update: Link field page
|
| Comment by Roman Kovařík [ 27/Jan/21 ] |
For the record this is causing linkfield to have a dropdown with one (empty) item (to be able to remove the link without choosing a new one): Workaround for this is to enable the filtering mode and have dropdown with all workspace items. |