Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
10
Reporter ?
Bugdar / 1.0.1
Status ?
Closed
Severity ?
Moderate
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
Problem with Component Selection
Report Time ?
March 24, 2006 12:54 AM
Assignment ?
- none -
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Attachments
patch.diff Fixes the invalid PCV error
patch-full.diff Complete, working patch
selectlist.gif Bugg in selectlist
Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

March 24, 2006 12:54 AM Robert
A user reports that he is not able to select "other components and versions except the first one added to the product"

He has this setup:

Product
-Component
--Version
-Component
--Version
-Component
--Version
-Component
--Version
--Version

On March 24, 2006 03:13 AM, Robert changed:
March 24, 2006 03:48 AM Robert
I've attached a diff that should fix part of this problem. It was caused by having multiple components under the same product and construct_pcv_select() had a small bug.

However, there's still a bug that will not show the product name if it does not have any versions immediately underneath it, only components.

March 24, 2006 04:08 AM Robert
This full patch should fix the entire bug. It will look a little weird if you don't have any immediate versions under a product, but I can't really do anything about that until 1.1. This should get everything working, however.

On March 24, 2006 04:08 AM, Robert changed:
On March 24, 2006 04:10 AM, Robert changed:
March 24, 2006 10:46 PM appds
Hello, I had applied the patch but problem still happening, but this time different...
Between each component, appears a space (blank line) and I can select only this blank line, not the wished component.

March 24, 2006 10:54 PM Robert
Do your components have versions underneath them? You cannot select a component by itself: you need to have a version to select. So, either make sure the product OR component has a version underneath it.

March 30, 2006 02:53 PM Andreas N.
After applying the full patch I got a new bug. (See attached image)
It repeats the versions of components before presenting the component in the list. (I'm naming versions with characters instead of numbers)

March 30, 2006 06:20 PM Robert
Can you please take a screen shot of the product manager in the control panel so I can see your setup. I'll then try to reproduce this and create another patch.