Revision history [back]

click to hide/show revision 1
initial version

asked 2011-08-26 04:46:32 +0800

Bobzk gravatar image Bobzk

Events.echoEvent data missing

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

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More