Project

General

Profile

Actions

Bug #5142

closed

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

Added by Matt Jones over 14 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
core
Target version:
Start date:
08/11/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5142

Description

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.NewChad Berkley08/16/2010

Actions
Actions #1

Updated by jianwu jianwu over 14 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 urn:lsid:kepler-project.org:kar:2000:4 7 CoreActors,kar
971 970 1958 1961 2 urn:lsid:kepler-project.org:kar:550:6 7 DataTurbine,kar
976 975 1964 1977 2 urn:lsid:kepler-project.org:kar:2001:3 7 CoreDirectors,kar
990 989 1998 2001 2 urn:lsid:kepler-project.org:kar:533:1 7 OpendapDataSource,kar
994 993 2004 2007 2 urn:lsid:kepler-project.org:kar:216:1 7 RExpression,kar
...

I'll dig further to know why it happens.

Actions #2

Updated by ben leinfelder over 14 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.

Actions #3

Updated by jianwu jianwu over 14 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'.

Actions #4

Updated by jianwu jianwu about 14 years ago

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

Actions #5

Updated by Daniel Crawl over 12 years ago

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

Actions #6

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5142

Actions

Also available in: Atom PDF