#3905 Wrong version in Freemedia Requests
Closed: Fixed None Opened 6 years ago by sureshinde.

= bug description =
If you look at https://fedorahosted.org/freemedia/ticket/12746, you can see that subject is '''XXXX from INDIA wants a i386 Live''' and in version version is mentioned as '''Version: x86_64 Live (Gnome)'''
= bug analysis =
In subject it is showing '''i386''' and in Version it is '''x86_64'''
= fix recommendation =


I think this is set by the freemedia form, right?

If so, I don't think there's any way to force it. It can set it based on the form, but the user can still edit it before submitting. :(

The problem here is that the gnome and lxde live versions when selected in the freemedia form at https://fedoraproject.org/freemedia/FreeMedia-form.html do not generate the correct version in trac. Rest of the formats do. The trac version for these four remains empty at the time of populating the ticket form and subsequently get created with the first value as default. So I guess issue is mismatch between the form handler (process.php) and trac field.

(Btw, that means that value in Subject is correct and version is wrong for these four types).

@kevin: can you point me to the process.php in git and I can try to fix it.

It's in puppet:

puppet/modules/freemedia/files/process.php

A quick check and turns out that issue is with the form html. The options value are being passed as they are by process.php. I patched the form.html to match the trac versions.

Login to comment on this ticket.

Metadata