FLUID-4631: Argument transmission, specified in a demands block, for events return the wrong value

Metadata

Source
FLUID-4631
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2012-03-02T12:54:17.498-0500
Updated
2014-03-03T12:59:52.983-0500
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. IoC System

Description

This one seems to be very specific. When moving the original argument to be the second argument, it returns the new first argument instead of the original argument. There is already a test for the transmission of arguments; however, it seems specific to the case where an event's arguments are being changed through demands.

Comments

  • Justin Obara commented 2012-03-02T13:29:13.302-0500

    FLUID-4631.patch adds a unit test to FluidIoCTests.js to show the issue.

    I've also put up a branch in my github repo:
    https://github.com/jobara/infusion/tree/FLUID-4631

  • Justin Obara commented 2012-03-05T12:41:51.977-0500

    Created a new patch (FLUID-4631b.patch) that has an additional test. This shows that if you remove the first original argument and just leave the second, it will become undefined.

    I've also updated the branch in my github repo:
    https://github.com/jobara/infusion/tree/FLUID-4631

  • Antranig Basman commented 2013-02-19T14:51:24.133-0500

    Resolved by merge of FLUID-4330 branch at revision 91d5d1