If a user selected an assetSource previously in another editor. And later opens the media selection of a property that only allows a single and different asset source he cannot select anything since the constraints do not match. He also cannot resolve the issue by selecting the right assetSource since this dialog is only shown if he has more than two options.
Steps to Reproduce
Have multiple AssetSources
Create a node-property "a" that has nonstraints
Create a node-property "b" that has constraints.assetSources of one assetSource with an Image or Asset Editor
Open the media select dialog for property a (no constraints) and select a collection that is not available in b
Open the media select dialog for property b (with constraints) and observer the following
-> since the previously selected collection is not allowed all assets are inactive (grey)
-> since you only have a single assetSource no assetSource-selection is shown to allow selecting the actually allowed source
Expected behavior
If the currently selected asset source is different from the allowed asset source the AssetSource selection should be shown.
It should be considered wether the first available AssetSource should be used if the previously selected AssetSource is not in the currently allowed constraints. Maybe this is possible without actually switching the selection. (In this case the selectedAssetSource would be handled more as preferredAssetSource)
Actual behavior
Use sees lots of grey assets and can neither select anything nor change to the allowed asset-source.
Description
If a user selected an assetSource previously in another editor. And later opens the media selection of a property that only allows a single and different asset source he cannot select anything since the constraints do not match. He also cannot resolve the issue by selecting the right assetSource since this dialog is only shown if he has more than two options.
Steps to Reproduce
Expected behavior
Actual behavior
Use sees lots of grey assets and can neither select anything nor change to the allowed asset-source.
Affected Versions
Neos: 8.3 UI: 8.3 Media Module: 0.12