Bug 742511 - [fix available] Planner Predecessors do not work in EL6
Summary: [fix available] Planner Predecessors do not work in EL6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: planner
Version: 6.1
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Caolan McNamara
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-30 11:47 UTC by Richard Baxter
Modified: 2012-09-07 10:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-07 10:35:05 UTC
Target Upstream Version:


Attachments (Terms of Use)
replacement patch for rhel-6 (6.99 KB, patch)
2012-05-15 08:50 UTC, Caolan McNamara
no flags Details | Diff

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.


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