View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002454 | JEDI VCS | Client (Gui) | public | 2004-12-31 02:36 | 2008-11-15 07:25 |
Reporter | anonymous | Assigned To | USchuster | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.40 (First JVCS release) | ||||
Target Version | Fixed in Version | 2.40 RC2 (Client) | |||
Summary | 0002454: Problem with Rename Module and uppercase letters | ||||
Description | Rename module command can cause trouble if you use uppercase letters in new filename. Let me explain... Consider that you add Module1.pas to your project. JediVCS assigns a ModuleID (let's say 123) to this file, lower cases file name as "module1.pas" and adds this record to MODULES table. There is nothing wrong till here. Now you wanted to rename Module1.pas to Module2.pas. Selecting Module1.pas in JediVCS project manager, and using Rename command, you enter new module name as "Module2.pas". Now if you look at MODULES table, you'll see that this time JediVCS didn't lowercase filename and record became (ModuleID: 123, Name: "Module2.pas"). You'll think there is nothing wrong here, but let's say you wanted to share this module with another project. When you add it with project manager, JediVCS searches the "module2.pas" entry in MODULES table, it can't find old record, and "adds another module entry" to MODULES table. So, now you have two module IDs for the same file! Solution is simple. I think rename command should lowercase filenames as it is performed everywhere else in JediVCS. I have fixed my version database by hand, but most users won't notify the cause. Tested with JediVCS 2.4.0.652. | ||||
Tags | No tags attached. | ||||
Fix in JVCS version | 2.40 RC2 | ||||
Releasedocumentation | |||||
child of | 0002377 | closed | Releaseinfo: 2.40 gui client issues |
|
Thats an issue for client and server. The edit in the client should behave like the edit for a new project. The server function RENAME_MODULE should lowercase the new name as well as ADD_NEW_PROJECT or ADD_NEW_MODULE do it. |
|
This bug was introduced in revision 0.4 of ProjAdmin.pas. In the client InputQuery is used for entering the module name. To allow only lowercase in the edit it is necessary to write a InputQuery replacement. For now we only Lowercase the new name afterwards. |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-12-31 02:36 | anonymous | New Issue | |
2005-01-09 06:49 | USchuster | Fix in JVCS version | => 2.40 RC2 |
2005-01-09 06:49 | USchuster | Note Added: 0006107 | |
2005-01-09 06:49 | USchuster | Status | new => confirmed |
2005-01-09 06:50 | USchuster | Relationship added | child of 0002377 |
2005-01-10 11:12 | USchuster | Note Added: 0006116 | |
2005-01-10 11:12 | USchuster | Status | confirmed => assigned |
2005-01-10 11:12 | USchuster | Assigned To | => USchuster |
2005-01-10 12:15 | USchuster | Status | assigned => resolved |
2005-01-10 12:15 | USchuster | Fixed in Version | => 2.40 RC2 |
2005-01-10 12:15 | USchuster | Resolution | open => fixed |
2005-04-16 12:10 | THuber | Fixed in Version | 2.40 RC2 => 2.40 RC2 (Client) |
2008-11-15 07:25 | THuber | Status | resolved => closed |