Bug #5142

comma improperly inserted in kar filename rather than a period (.)

Added by Matt Jones almost 9 years ago. Updated almost 7 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


When KAR files are saved, with a name such as "foo.kar", then show up incorrectly in the kepler component pane with a comma in the name rather than the period (e.g., it becomes "foo,kar". KAR files should be saved with the normal period as the extension separator in the filename, and should display this way as well.

Related issues

Blocked by Kepler - Bug #5149: kar file saving problems.New08/16/2010


#1 Updated by jianwu jianwu almost 9 years ago

After digging a while, I found it is because those kar files are saved with ',kar'. When the Kepler is started, you can find these info from the database by using query: SELECT * FROM LIBRARY_INDEX Where Name like '%kar':
7 6 1180 1955 2 7 CoreActors,kar
971 970 1958 1961 2 7 DataTurbine,kar
976 975 1964 1977 2 7 CoreDirectors,kar
990 989 1998 2001 2 7 OpendapDataSource,kar
994 993 2004 2007 2 7 RExpression,kar

I'll dig further to know why it happens.

#2 Updated by ben leinfelder almost 9 years ago

I believe the comma is used intentionally since you cannot use a period/dot in the name of a NamedObj. i don't think this is the first time the topic has come up for discussion, but I'm not sure how broadly it was discussed. At any rate, the comma has always been used in the name of the KAR file as it is displayed in the components tree. Perhaps there is a way to decouple the name from the display, but from what I remember, it was not immediately obvious how to have that work with the current implementation. I'm CCing Aaron on this as I believe he has insight on this topic.

#3 Updated by jianwu jianwu almost 9 years ago

Ben, thanks for your info which is very valuable. I'll switch from finding where it becomes ',kar' to how to display it with '.kar'.

#4 Updated by jianwu jianwu over 8 years ago

re-assign to Madhu after discussing with Madhu and Ilkay.

#5 Updated by Daniel Crawl almost 7 years ago

This was fixed recently. NamedObj.setDisplayName() can be used for names with periods.

#6 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 5142

Also available in: Atom PDF