| Author |
Message |
|
2007/10/30 19:37
|
|
|
distansia
Joined: 2007/10/16
Messages: 59
Offline
|
|
|
|
Hi VP,
In the DB-VA 3.1sp1 (VP_Suite_Windows_3_1_sp1_20071012) I am evaluating, I have found these small bugs:
- If the namespace has mixed case, the code generated has errors, because sometimes the upper case letters are conserved, but sometimes they aren't (the namespace is "lower cased") -> So you are FORCED to use always lower case for the namespace. Maybe not a big issue, but maybe also an easy fix to implement in your software
- If the namespace chain is the same of a part of another namespace, the generated code fails (well, at least in C#) because the compiler does not find the right namespace -> Fixed easily putting "global::" in front of a declaration. Example:
DB-VA model:
name1.sub1.space1.Class1
sub1.space1.Class2
namespace name1.sub1.space1 {
sub1.space1.Class2 instance;
}
compiler says: cannot find "sub1.space1.Class2"
(because it is really looking for "name1.sub1.space1.Class2"!!!)
If you change generated code to:
namespace name1.sub1.space1 {
global::sub1.space1.Class2 instance;
}
compiler says: OK
These are some contributions to help made this software even better!!
|
|
|
|
 |
| |
|
2007/10/31 09:49
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
Hello distansia,
We are now investigating this issue. I will let you know when there is any reply from our team.
Best regards,
Jick
|
Visual Paradigm International Ltd.
http://www.visual-paradigm.com
Build Quality Applications Faster, Better and Cheaper |
|
|
|
 |
| |
|
2007/11/01 11:04
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
|
 |
| |
|
2007/11/01 20:34
|
|
|
distansia
Joined: 2007/10/16
Messages: 59
Offline
|
|
|
|
Many thanks!! Your team is very FAST with this small bugs, congratulations!!
The problem caused by mixed cases should had been fixed for several builds. Could you provide me with some steps or simpler, the project file for producing the problem? Thank you in advance!
|
Well, you are right This bug has been fixed. Sorry, I was testing with an "old build" (20071012, I think) and I did not re-test this with the new version before posting the topic in the forum.
So, excuse me please
|
|
|
|
 |
| |
|
2007/11/02 18:57
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
|
 |
| |