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

Bug 329229

Summary: [Form Editor] In some cases selected artifact type is not persisted for a generator descriptor
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: UIAssignee: Project Inbox <tigerstripe.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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