FLUID-4842: Improve flexibility of framework error handling in fluid.fail

Metadata

Source
FLUID-4842
Type
Improvement
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Antranig Basman
Created
2012-11-09T13:56:37.480-0500
Updated
2014-03-03T12:36:21.963-0500
Versions
  1. 1.4
Fixed Versions
  1. 1.5
Component
  1. Framework

Description

The framework behaviour on fluid.fail is currently mildly configurable by means of the fluid.pushSoftFailure directive which is currently used in a few test cases - but this isn't sufficient to meet the needs of http://issues.gpii.net/browse/GPII-44 which requires a fully flexible system. We need to extend the fluid.pushSoftFailure system so that it accepts a function handle in addition to a simple boolean flag, which may be used to bridge to arbitary external framework code (such as that in the GPII request-handling framework)

Comments

  • Antranig Basman commented 2013-02-01T04:11:43.421-0500

    Now in trunk

  • Justin Obara commented 2014-03-03T12:36:16.852-0500

    Pull request ( https://github.com/fluid-project/infusion/pull/248 ) was merged into the project repo at 99e40f45638960c207a0ff151e5b8cb49231844d