Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350526 - Validation fails with references whose name starts with a capital letter
Summary: Validation fails with references whose name starts with a capital letter
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sca (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Vincent Zurczak CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 04:46 EDT by Vincent Zurczak CLA
Modified: 2017-03-30 14:20 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Zurczak CLA 2011-06-28 04:46:52 EDT
Create a simple composite with a component, a service and a reference.
Make sure the reference's name starts with a capital letter. The SCA builder will signal that it cannot find the reference in the implementation.
Comment 1 Vincent Zurczak CLA 2011-08-17 13:24:05 EDT
The error is not really in the validation.
The problem comes from the generation. Reference names should be marked in the generated implementation. Otherwise, there are deduced from the method name, which leads to error with references whose name starts with a upper case letter.

The real thing is to set the reference names in the generated code skeleton of the implementations.
Comment 2 Vincent Zurczak CLA 2011-08-17 13:32:50 EDT
Commit # 3666
In fact, the generation of Java skeletons from the composite had to be fixed. And it was. The validation was not wrong, the generation that led to validation was.