ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Hook helper_issues_show_detail_after_setting gets different parameters in Chili 1.x and 2.0 (Bug #540)


Added by Gregor Schmidt at 2011-07-26 09:14 pm. Updated at 2011-07-27 01:54 pm.


Status:Closed Start date:2011-07-26
Priority:Normal Due date:
Assignee:Holger Just % Done:

0%

Category:Journals / History
Target version:2.1.0
Remote issue URL: Affected version:2.0.0

Description

The API of the hook :helper_issues_show_detail_after_setting changed from 1.x to 2.0. The :detail value used to be a JournalDetail. Now it as specially laid-out array. This breaks plugins that use this piece of information.

Attached is a pull request which adds a simple compatibility layer to bring back the old API.


Associated revisions

Revision e2d16e13
Added by Gregor Schmidt at 2011-07-27 03:52 pm

[#540] compatibility layer to reenable API from Chili 1.x

History

Updated by Gregor Schmidt at 2011-07-26 09:17 pm

  • Assignee deleted (Gregor Schmidt)
  • Status changed from Open to Ready for review

Updated by Gregor Schmidt at 2011-07-26 09:26 pm

This issue is related to #539.

Updated by Holger Just at 2011-07-27 01:54 pm

  • Assignee set to Holger Just
  • Category set to Journals / History
  • Status changed from Ready for review to Closed

Also available in: Atom PDF