-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
I have the following code in a menu controller :
Events.echoEvent('onBuild', mycomp, self.searchfor)
in a different controller I have the onBuild method and I have the following code :
real_event = Events.getRealOrigin(event)
searchfor = real_event.getData()
under normal circumstances this works fine but on random occasions (less than 0.1% of the time) when the onBuild event is triggered the data returned by real-event.getData() is NULL.
So the onBuild event is not being lost but the data associated with it is being lost.
Could this be a bug? Could it be anything to do with garbage collection?
This is ZK 5.0.6