Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 742511

Summary: [fix available] Planner Predecessors do not work in EL6
Product: Red Hat Enterprise Linux 6 Reporter: Richard Baxter <richardbrucebaxter>
Component: plannerAssignee: Caolan McNamara <caolanm>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1CC: ikseno
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-07 10:35:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
replacement patch for rhel-6 none

Description Richard Baxter 2011-09-30 11:47:14 UTC
Description of problem:

Planner Predecessors do not work in EL6. 

Predecessors work in Planner on EL5 (planner-0.14.1-4.el5.x86_64.rpm). Predecessors work on EL6 using the planner rpm from FC12 (planner-0.14.4-16.fc12.x86_64.rpm), and the planner rpm from FC13 (planner-0.14.4-19.fc13.x86_64.rpm).

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

planner-0.14.4-9.el6.x86_64.rpm

How reproducible:

Very Easy.

Steps to Reproduce:
1. open planner on EL6
2. Gantt - right click - insert task - name task to "A"
3. Gantt - right click - insert task - name task to "B"
4. Gantt - Right click task "B" - edit task - Predecessors - Add
5. Try to select a predecessors from the 'name' field (drop down box)
  
Actual results:

drop down box is empty.

Expected results:

drop down box contains tasks to select as a predecessor.

Additional info:

N/A (this is a really basic bug).

Comment 2 RHEL Program Management 2011-09-30 12:19:15 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Clemens Fries 2012-05-14 15:00:03 UTC
We also ran into this issue. When running Planner from a terminal, we can see the following message:

    (planner:9890): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `VALID_ITER (iter, list_store)' failed

The problem does not exist in the original sources for planner 0.14.4, but is introduced via planner-gnome604169-comboboxentry.patch (part of the SRPM)

More specifically the changes to the function 'task_dialog_setup_task_combo' (planner-task-dialog.c:353) break the precedessors feature.

'gtk_list_store_set' requires 'iter' to point to a valid row, which can be created with 'gtk_list_store_append'. Thusly changing planner-task-dialog.c (line 368 and below)

    for (l = tasks; l; l = l->next) {
        name = mrp_task_get_name (l->data);
        if (name == NULL || name[0] == 0) {

to

    for (l = tasks; l; l = l->next) {
        name = mrp_task_get_name (l->data);
        gtk_list_store_append (store, &iter);
        if (name == NULL || name[0] == 0) {
 
makes it work again.

Comment 4 Clemens Fries 2012-05-14 15:38:52 UTC
Just noticed that this is present in the original patch on bugzilla.gnome.org. Issue #604169 (as indicated in the patch file name); see description, attachment #149422 [details] (http://bugzilla-attachments.gnome.org/attachment.cgi?id=149422).

Comment 5 Caolan McNamara 2012-05-15 08:50:14 UTC
Created attachment 584596 [details]
replacement patch for rhel-6

Comment 6 Caolan McNamara 2012-05-15 08:54:08 UTC
more recent fedora versions don't have the problem, must have realized the problem somewhere along the line there

Comment 7 RHEL Program Management 2012-09-07 05:12:34 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 8 RHEL Program Management 2012-09-07 10:35:05 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.