[MGNLUI-3626] Deprecate hack for multiple selection availability in actionbar sections Created: 15/Oct/15 Updated: 15/Apr/16 Resolved: 19/Oct/15 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | actionbar |
| Affects Version/s: | None |
| Fix Version/s: | 5.4.3 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Mikaël Geljić | Assignee: | Mikaël Geljić |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | actionbar, availability | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||||||||||
| Sprint: | Basel 15 | ||||||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||||||
| Description |
|
We should remove the hack in ConfiguredActionbarSectionDefinition#setAvailability, always setting section availability for multiple selection to true. In effect, we cannot simply remove it because most—if not all—content-apps are misconfigured. Besides, as quirky as this is, we don't want to change behavior that could potentially affect apps for existing customers.
See https://wiki.magnolia-cms.com/display/WIKI/Options+for+solving+multiple+actionbar+availability for details. |
| Comments |
| Comment by Mikaël Geljić [ 19/Oct/15 ] |
|
Actually, I just found out that "hybrid" selection of items with different type is broken (same symptom: blank actionbar, most likely ever since 5.3). Only same-type multi-selection "benefits" from the hack. Just saying for the sake of completeness / not addressing this now. |