[kepler-dev] [Bug 5233] Remote component search messes up returns which have the same karFileName in kar xml

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Nov 3 17:55:23 PDT 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5233

Jing Tao <tao at nceas.ucsb.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Jing Tao <tao at nceas.ucsb.edu> 2010-11-03 17:55:23 PDT ---
I dug around and found in method EcogridRepositoryLibrary.createKarLevel():
it used the kar file name as the entity name to create an entity. When a
NameDuplicationException was genenrated, the previous entity will be removed.

So I modified the code to add an appendix to the name - karid and karxml file
id if a NameDuplicationException is generated.

This method was called during processing every karEntries. This is not good, we
only need to call it once during generating kar file level (karXML). So I fixed
it.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list