From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baptiste Subject: Taskjuggler export deals badly with first parent match Date: Fri, 19 Apr 2013 10:54:41 +0200 Message-ID: <87k3nyaoj4.fsf@bat.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UT69o-0007ny-Uc for emacs-orgmode@gnu.org; Fri, 19 Apr 2013 03:55:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UT69k-0003G5-F7 for emacs-orgmode@gnu.org; Fri, 19 Apr 2013 03:54:56 -0400 Received: from mail-ee0-f42.google.com ([74.125.83.42]:60447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UT69k-0003FY-5V for emacs-orgmode@gnu.org; Fri, 19 Apr 2013 03:54:52 -0400 Received: by mail-ee0-f42.google.com with SMTP id e49so925478eek.1 for ; Fri, 19 Apr 2013 00:54:50 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode Hi, first of all, thanks for the hard work to make 8.0 get out. I found ox-taskjuggler broken in /task_id/ identification when it is non trivial. here is an example this is not fine at my side : Org-mode version 8.0 (release_8.0-1-g5ef07d @ …) #+BEGIN_EXAMPLE * Project :taskjuggler_project: ** Training material :PROPERTIES: :task_id: training_material :END: *** Markup Guidelines :PROPERTIES: :Effort: 2d :task_id: markup :END: *** Workflow Guidelines :PROPERTIES: :Effort: 2d :END: ** Presentation :PROPERTIES: :Effort: 2d :BLOCKER: markup :END: #+END_EXAMPLE At export, it gives #+BEGIN_EXAMPLE task project "Project" { purge allocate allocate cancelled task training_material "Training material" { task markup "Markup Guidelines" { effort 16.0h } task workflow "Workflow Guidelines" { effort 16.0h } } task presentation "Presentation" { depends !!training_material.markup effort 16.0h } } #+END_EXAMPLE which fails compiling (for good reasons) with : Error in scenario plan: Task project.presentation has unknown depends training_material.markup actually, the line : depends !!training_material.markup should be : depends !training_material.markup – this is an easy fix is this baby example, but on my whole project, I have tons of false references :'( – again, thanks :) -- : ~^v^~ Bat