Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 87520 - Graphical config tool does not see last package in ecos.db
Summary: Graphical config tool does not see last package in ecos.db
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: eCos
Classification: Retired
Component: ConfigTool
Version: 2.0 beta 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John Dallaway
QA Contact: John Dallaway
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-03-28 09:33 UTC by Chris Garry
Modified: 2007-04-18 16:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-03-28 12:06:53 UTC


Attachments (Terms of Use)

Description Chris Garry 2003-03-28 09:33:48 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET 
CLR 1.0.3705)

Description of problem:
The graphical configuration tool (as supplied with 2.0b1) does not see the 
last 'package' entry in the ecos.db file.

In the 2.0b1 repository, the last package (not target) entry is 'Allied Telesyn 
TS1000 ethernet driver'.  But if you select:
build->Packages from the menu and attempt to add the package it is not listed 
under the 'Available packages'.

If you now add a new package using the package administration tool (the lwip 
package for example), then when you  select build->packages the 'Allied Telesyn 
TS1000 ethernet driver' is now listed but the 'lwip' package is not.

This is seen on a Win2K PC running Cygwin.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Start the graphical config tool and select Build->Packages from the menu.
2. In the available packages window look for the 'Allied Telesyn TS1000 
ethernet driver' (the last package in the 2.0b1 ecos.db file).  It is not there.
3. In the available packages window look for the 'Flash memory support for 
Allied Telesyn TS1000 ...' (the 2nd to last package in the 2.0b1 ecos.db 
file).  It is there.
4. Close the graphical config tool and hand edit the ecos.db file to swap round 
the order of the 2 packages.
5. Repeat steps 1 to 3 to see the ethernet driver package is now seen, but the 
FLASH support package is not.

Additional info:

Comment 1 John Dallaway 2003-03-28 12:06:53 UTC
Problem reproduced, identified and (trivially) fixed. A 'for' loop which 
populates the packages lists in the packages dialog was terminating 
prematurely. I have checked the fix in to anonCVS and it should appear in the 
eCos 2.0 final release. 
 
Thanks for the clear and concise bug report! 
 


Note You need to log in before you can comment on or make changes to this bug.