Bug 472580 - clones aren't populating the fixed_in feild.
Summary: clones aren't populating the fixed_in feild.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Hardware Catalog
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: XINSUN
QA Contact:
URL:
Whiteboard:
Depends On: 192443
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-21 21:03 UTC by Rob Landry
Modified: 2008-12-18 15:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-18 15:08:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Rob Landry 2008-11-21 21:03:37 UTC
Description of problem:

As the summary says, clones with fixed_in fields used will show the corrected data but then don't actually save it to the db, it looks like the field on the template isn't filled in which causes this.

Comment 1 XINSUN 2008-12-01 10:00:55 UTC
This is cause by below codes:

=========================================================================

[% IF isduplicate %]
    [% IF bug.dup_info.cf_fixed_in != bug.cf_fixed_in %]
       <s>[% bug.cf_fixed_in FILTER html %]</s> [% bug.dup_info.cf_fixed_in FILTER html %]
       <br>(saving changes will save corrected version)
       [%# Cludgy; but to change the default for cf_fixed_in is is rh_edit.html.tmpl #%]

==========================================================================

From above codes: seems that cf_fixed_in will be saved by filling the correct value in the cf_fixed_in by hand.


This bug is blocked by bug #192443.

Comment 2 Rob Landry 2008-12-03 19:11:37 UTC
I believe the issue is that the rh_edit.html.tmpl isn't automatically filling in the field; from looking it seems the rh_edit template is still counting on the errata tool access which doesn't exist any more.  Instead the template should just use the parents cf_fixed_in field.

Likely however this whole issue should go away when 192443 is sorted as I expect the correct solution there is to provide only drop downs for version and no longer use the fixed_in field but we'll see.

Comment 3 XINSUN 2008-12-18 15:08:58 UTC
cf_fixed_in will be not used by catalog any more and it will be removed in the patch of bug #192443. so we can close this bug.


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