This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 329229 - [Form Editor] In some cases selected artifact type is not persisted for a generator descriptor
Summary: [Form Editor] In some cases selected artifact type is not persisted for a gen...
Status: RESOLVED FIXED
Alias: None
Product: Tigerstripe (Archived)
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-01 18:36 EDT by Navid Mehregani CLA
Modified: 2010-12-08 18:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Mehregani CLA 2010-11-01 18:36:44 EDT
Build Identifier: 

In a generator descriptor file, when a new artifact rule is created, and an artifact type is selected for the rule, the selected artifact type is not preserved when user saves > closes > and reopens file.

Reproducible: Always

Steps to Reproduce:
1. Create a generator project
2. In the descriptor file, switch to Rules tab
3. Add a new artifact rule
4. Change artifact type to 'Any Artifact'
5. Save the file
6. Close it
7. Reopen file

In some cases selected artifact type is changed to something else!
Comment 1 Navid Mehregani CLA 2010-12-08 18:22:01 EST
Fixed.  Modified files:

org.eclipse.tigerstripe.workbench.ui.internal.editors.pluginDescriptor.rules.details.ArtifactRunnableRuleDetailsPage
org.eclipse.tigerstripe.workbench.ui.internal.editors.pluginDescriptor.rules.details.ArtifactBasedRuleDetailsPage
org.eclipse.tigerstripe.workbench.internal.api.model.IArtifactMetadataSession
org.eclipse.tigerstripe.workbench.internal.api.impl.ArtifactMetadataSessionImpl