Project

General

Profile

Actions

Bug #4232

closed

LibraryIndex Unique Identifier

Added by Aaron Aaron almost 15 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
core
Target version:
Start date:
07/10/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4232

Description

Currently the Component library uses the name of the NamedObj as the unique identifier. This is not a good idea when we start talking about downloading and sharing object between many users. The LSID should be used to key the NamedObjs in the Component Library. The old "Save In Library" calls the LibraryIndex.componentNameInUse(String) method to prevent the user from saving a component with the same name as an existing component in their own library (even if the LSID is not in the library). This is a problem that could be best addressed by completely revamping the LibraryIndex to use either an SQL or Java serialization pattern to maintain the persistence of the Library Index. The XML serialization that we are using now is too slow to handle more dynamic usage of the Component Library (i.e. adding/moving/removing components in the Library) because every time you make a small change you have to rewrite the entire xml file.

Actions #1

Updated by Aaron Aaron over 14 years ago

turns out this was being handled ok, closing this out

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 4232

Actions

Also available in: Atom PDF