Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343639

Summary: [traceability] Problem with the Acceleo traceability with templates/queries without parameters.
Product: [Modeling] Acceleo Reporter: Stephane Begaudeau <stephane.begaudeau>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Stephane Begaudeau CLA 2011-04-22 04:23:49 EDT
The traceability in Acceleo links the generated code to the module area and the model element used to generate the code. It should also work with template/queries without any parameters.
Comment 1 Stephane Begaudeau CLA 2011-05-06 11:17:16 EDT
Since Traceability informations need to be attached to a model element a warning has been added for template/query without any parameters.
Comment 2 Stephane Begaudeau CLA 2011-06-24 09:09:41 EDT
The warning is available in Acceleo 3.1, the traceability should not crash anymore in the template or query does not have any parameters but it is now officially reported as a bad behavior (with a trivial fix, juste add a parameter to give a context to the content of the template or the query like traceabilityContext : OclAny).
Comment 3 Laurent Goubet CLA 2011-08-18 04:22:09 EDT
Closing our "resolved" and "verified" bugs.