Opened 14 years ago
Closed 14 years ago
#1541 closed defect (fixed)
Items that are not Nameable should not be included in the 'Recently viewed items' list
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | minor | Milestone: | BASE 2.16 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
Currently all items that are view/edited are saved to the recently used items list. This happens in a central place: Base.java; line 503-522.
The problems is that when the items are displayed in the menu, it is assumed that all items implement the Nameable
interface. But not all do (eg. BioWell). The result is that the list of recent items may shrink due to the inability to get the name of the item.
By unchecking the "Load the names of all items" checkbox in the BASE->Preferences->Recent items dialog the primary problem goes away and the menu shows all items.
For biowells, there is now a new problem since they don't have a view-page and the menu entry leads to a non-existing location.
(In [5469]) Fixes #1541: Items that are not Nameable should not be included in the 'Recently viewed items' list
This fixes the source of the problems. Non-nameable items that are already present in the recent items list are not removed, but that should be fixed automatially once the user have viewed some items.