I am seeing a possible bug which is related to the fix that was put in place
for Ticked #368 where I am seeing broadcasted events run multiple times
depending on how I initialize my application. 

 

I am using CF8, and Model-Glue rev 283, which I updated from svn this
morning, although I was seeing the same issue with a revision from last
week, but checked for an update to make sure. 

 

When I first try to initialize the application I am working on, I usually
get a couple of ColdFusion timeouts and just need to refresh the browser
once or twice to actually load the application. That's not a big deal
because even though I have updated the jvm, I basically just need a new
computer.

 

As part of the application, I have an event defined which broadcasts a
message to process a file upload and add a record to one of the tables in my
db. 

 

The problem I am seeing is basically as follows:

 

When I let the application try to load itself (because of the fix for Ticked
#368), and refresh the browser once or twice until it succeeds, I see the
code to upload the file getting run multiple times.

 

When I load the application by using init=true, and refresh the browser once
or twice until it succeeds, I see the code to upload a file only getting run
once as it should. I also double-checked with Firebug to make sure that the
browser was only sending one upload.

 

I tried this multiple times and checked every line of code and I know it's
not in my code, but it is consistent. If I load the application with
init=true it always runs once, if not it runs multiple times.

 

So it appears that while Model-Glue now attempts to reload itself, it does
not do so cleanly like it does when you initialize the application using
init=true.

 

I'm just wondering if anyone else has run into this. 

 

John

 

 

 

 

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to