This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 102494 - Error message when draw navigable link to derivation classifier with multiple parameters
Summary: Error message when draw navigable link to derivation classifier with multiple...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 14:34 UTC by Alexandr Scherbatiy
Modified: 2007-06-07 12:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-04-25 14:34:42 UTC
Steps to reproduce:
- Create a Class element and name it 'A'
- Create a Derivation Classifier and name it 'B<String,String>'
- Draw a Navigable Association link from the class element
  to the Derivation Classifier
  The 'Invalid Value' dialog pops up:
  'The element name is not valid. Element names cannot be ...'
Comment 1 Yang Su 2007-06-06 01:29:22 UTC
This issue only happens to creating navigable links (association, aggregation,
composition) to derivation classifier that has multiple parameters. 

Need to properly strip out generic syntax string <Type, Type> when validating name.
Comment 2 Alexandr Scherbatiy 2007-06-07 12:05:55 UTC
verified in netbeans-hudson-trunk-378-full.zip