Visual Paradigm Logo
     Build Quality Applications Faster, Better and Cheaper
 
Home | Products | Download | Documentation | Support | Resources | Partners | Quick Tour | Shop | Company |  
 
   Visual Paradigm Discussion Forum
  Login   [ Register ] Email: Password: Log me on automatically I lost my password  
Advanced Search
NET namespaces bugs  
Forum Index -> DB Visual ARCHITECT (DB-VA)
Author Message
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!!
 
Jick


Joined: 2005/04/29
Messages: 2881

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
 
Jick


Joined: 2005/04/29
Messages: 2881

Offline

Hello distansia,

The global namespace problem has been fixed. You may download and install the patch at:
http://files3.visual-paradigm.com/200711/Patch/sp1_20071102e/VP_Suite_Windows_3_1_sp1_20071102e.exe

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!

Best regards,
Jick

Visual Paradigm International Ltd.
http://www.visual-paradigm.com

Build Quality Applications Faster, Better and Cheaper
 
distansia


Joined: 2007/10/16
Messages: 59

Offline

Jick wrote:
The global namespace problem has been fixed. You may download and install the patch at:
http://files3.visual-paradigm.com/200711/Patch/sp1_20071102e/VP_Suite_Windows_3_1_sp1_20071102e.exe 


Many thanks!! Your team is very FAST with this small bugs, congratulations!!


Jick wrote:

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
 
Jick


Joined: 2005/04/29
Messages: 2881

Offline

Hello distansia,

This problem has been fixed, too. Please download and install the patch from the URL show in this thread:
http://forums.visual-paradigm.com/posts/list/2597.html

Best regards,
Jick

Visual Paradigm International Ltd.
http://www.visual-paradigm.com

Build Quality Applications Faster, Better and Cheaper
 
 
   Forum Index -> DB Visual ARCHITECT (DB-VA)
Go to:   
Powered by JForum 2.1.4 © 2005 - Rafael Steil