buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pepijn Van Eeckhoudt (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BUILDR-399) invoke_with_call_chain does not restore call chain correctly
Date Mon, 15 Mar 2010 22:07:27 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pepijn Van Eeckhoudt updated BUILDR-399:
----------------------------------------

    Attachment: spec.txt

> invoke_with_call_chain does not restore call chain correctly
> ------------------------------------------------------------
>
>                 Key: BUILDR-399
>                 URL: https://issues.apache.org/jira/browse/BUILDR-399
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.3.5
>            Reporter: Pepijn Van Eeckhoudt
>            Priority: Critical
>             Fix For: 1.4
>
>         Attachments: spec.txt
>
>
> invoke_with_call_chain currently does
> begin
>  old_chain, Thread.current[:rake_chain] = Thread.current[:rake_chain], new_chain
>  execute(task_args) if needed?
> ensure
>  Thread.current[:rake_chain] = nil
> end
> The ensure block restores the call chain incorrectly. The call chain should be restored
to old_chain rather than nil.
> Attached spec reproduces the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message