You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A client reported an issue seeing the "used on" information of a file, and indicated they had to click away and back again to see it.
Files are not immediately showing where they are in use. They will show as not in use anywhere even if they are. It takes selecting them multiple times for them to show where they are in use.
I tested this on their project, then confirmed there is an issue on a fresh project using composer create-project silverstripe/installer test
Select a file and click the “used on” tab: the usage shows correctly
Select a second file: no usage shows (noting that the “used on” tab is active as it was the most recent tab on the previous file)
Click back to “details”, then back to “used on”: the usage shows correctly
Select a third file: no usage shows (noting that the “used on” tab is active)
Click to another file, then back again: usage shows correctly
Click back to the “details” tab
Select a fourth file and click “used on: the usage shows correctly (noting that the "details" tab is active)
It appears the “usage” request is triggered by the click on the “used on” tab, or when returning to the file. The effect of this is that the usage will be retrieve when you’ve arrived onto a file and “details” is the active tab, but if “used on” is the active tab, then you’ll need to switch tabs and back, or switch files and back.
Thank you for reporting this. Do you know if this affects version 1.x of this module as well? Or only 2.x?
We have a large backlog at the moment, so this bug likely won't be prioritised by the CMS Squad for a long time. If you'd like to give a go at fixing it we'd love to review a pull request.
A client reported an issue seeing the "used on" information of a file, and indicated they had to click away and back again to see it.
I tested this on their project, then confirmed there is an issue on a fresh project using
composer create-project silverstripe/installer test
It appears the “usage” request is triggered by the click on the “used on” tab, or when returning to the file. The effect of this is that the usage will be retrieve when you’ve arrived onto a file and “details” is the active tab, but if “used on” is the active tab, then you’ll need to switch tabs and back, or switch files and back.
The text was updated successfully, but these errors were encountered: