-I am using SES on a shared host without access to rewrite the URL.
So, my URL's contain 'index.cfm/'.
-In my CSS I am using relative URL's to image files like this:
-My production CustomErrorTemplate template sends me an email with a
dump of the ExceptionBean
The problem I am having is that when some dynamic UI change is made
via jQuery, and the styles that include relative image paths are
applied, I am getting this error in my email:
An invalid event has been detected: [mgc.handlers.apps] The action
requested: [images] does not exists in the specified handler.
It appears that since 'index.cfm/' is in my relative CSS paths that
ColdBox is throwing an error when an image is requested from the
server. The user doesn't see any error, and the images load just
fine. I just get flooded with emails whenever someone is clicking
around in site.
I'm thinking there are two possible solutions. One is kludgey, and
the other I don’t know how to do. The kludgey solution would be to
add an onMissingAction event for the /images calls on all of my
handlers where I am having this problem. What seems like the correct
solution, but the solution I don’t know how to implement, is to add
something to my routes that ignores image requests. What is the best
way to handle this?