Bug 170106 - M7_T4- ALF Event Map- Select Event dialog if the parent project's name does not match *.evt, *svc, and *.alf names
Summary: M7_T4- ALF Event Map- Select Event dialog if the parent project's name does n...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ALF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tim Buss CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-10 13:01 EST by Robert Reising CLA
Modified: 2010-11-23 14:33 EST (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 Robert Reising CLA 2007-01-10 13:01:00 EST
1. Create a new project- give the name "Zune"
2. Import the sample TestALFConfig project
3. Open "TestALFConfig1.alf"
4. Delete the 1 event map
5. Click the "Select Event"
6. Notice the "Select ALF Events" dialog is empty

The dialog is empty because the parent project's name does not *.evt, *svc, and *.alf names
Comment 1 Tim Buss CLA 2007-01-11 20:22:36 EST
Please evaluate for inclusion in 1.0M7T5
Comment 2 Niraimathi CLA 2007-01-12 00:49:37 EST
The problem is Applicaiton.alf file has not picked the correponding .evt and .svc files whle swapping the Project. This Bug has been fixed.
Comment 3 Robert Reising CLA 2007-01-16 17:03:47 EST
With build T5 there issue remains.
Comment 4 Tim Buss CLA 2007-01-23 13:28:39 EST
The bug as described still exists so far in T6.  A new project has no events or services registered.  Importing an project imports its registries, TestALFConfig.svc and TestALFEvent.evt, but as new files.  The registries created for the project (eg: zune.evt and zune.svc) remain empty so no events or services show up when editing the imported TestALFConfig1.alf.  

There are two possible fixes
1. Ignore .evt and .svc files when importing
2. Merge the content of the imported .evt and .svc file to the project .evt and .svc files ( ie don't import the file but import their content

Fix 1. might be a good quick fix but 2. is probably preferable

We might also consider nameing the registry files something that is not project specific which might make it easier choose to merge, overwrite or ignore.

There is a related bug concerning importing to a subfolder.  The solution presented here might also address that issue.

Comment 5 Tim Buss CLA 2007-01-25 14:30:00 EST
The bug was originally slight mischaracterized as "importing a project".  In fact the examaple "project" is just some files and this bug occurs when importing files into a project.  Hence the confusion about its reproducibility.

The possible fixes for this bug are somewhat intrusive and possible destabilizing for T7.  We will consider a fix for Milestone 8
Comment 6 Tim Buss CLA 2007-02-07 12:51:56 EST
re-assigning only.  We will address the UTF-8 issue later