Description of problem:
package arch is not taken into account in the SQL query underlying this API call
Version-Release number of selected component (if applicable):
python swapi.py -A $SYSTEMID -s $SERVER -u $USER system.listLatestUpgradablePackages
Steps to Reproduce:
1. push glibc.i386, .i686, .x86_64 to a channel.
2. have .i686 and .x86_64 installed on a host subscribed to above channel
3. execute API call
all 3 glibc packages are returned as candidates for updating
only .i686 and .x86_64 get returned as updates
Created attachment 411383 [details]
patch to fix
Fixed in spacewalk.git master 3f6829d6aa6f06cee89e235f2519fb128a7ab8e7
Follow-up fix in 7bd8078b7dc3483f97245f8049ef8f7f688bce83
This will return the correct to_package_id
Mass-aligning under space12, so that we don't lose track of this bugzilla. This however does not mean that we plan (will be able to) address this bug in Spacewalk 1.2.
Please use the Spacewalk 1.2 release candidate yum repo at
(depending on your OS) to verify the bugzilla.
With Spacewalk 1.2 released, marking as CLOSED CURRENTRELEASE.