This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 330565 - Artifacts' names incoherently cached
Summary: Artifacts' names incoherently cached
Status: CLOSED FIXED
Alias: None
Product: Tigerstripe (Archived)
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-18 08:44 EST by Yoram CLA
Modified: 2012-03-20 12:48 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 Yoram CLA 2010-11-18 08:44:00 EST
In some cases the names of artifacts fed to a generator are incorrect presumably due to incoherent cache.

Try this:

Create an association (using a class diagram and palette). The association icon is created on the diagram and the name field is primed with some text ("Association9", for e.g.). Type your preferred name over the primed text box (for e.g., "MyAssoc") and save. 
Keep the workbench running.
Now run the generator. Instead of the typed and saved name ("MyAssoc") you are being fed the primed text ("Association9").

In the file system the source files are correct, so no problem there.

Now, shut down the workbench and bring it up again.
Run the generator -- all is well.

Must be some nasty cache coherence issue.

*Yoram
Comment 1 Navid Mehregani CLA 2012-03-20 12:48:36 EDT
Fixed in latest Tigerstripe