Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.4
-
Fix Version/s: None
-
Component/s: Data Binder
-
Labels:None
Description
Discovered during pager rewrite for FLUID-4035. In the following sequence, we want the same listener to guard two paths:
that.applier.postGuards.addListener(
{path: "pageSize", transactional: true},
fluid.pager.pageCountGuard);
that.applier.postGuards.addListener(
,
fluid.pager.pageCountGuard);
As a result of the sleazy "implementation sharing" with the underlying Fluid event firer, the system recognises this as an attempt to add the same listener which is given the same namespace each time and so dislodges itself. It would probably be better just to get rid of the implementation sharing given this complicates the implementation both of the basic Fluid events system (with its peculiar "fireToListeners" method) and DataBinding alike.
Attachments
Issue Links
- depends on
-
FLUID-4258 Create declarative syntax for wiring cooperating changeAppliers and registering guards/listeners
-
- Closed
-