This content has been marked as final. Show 3 replies
I honestly believe that this is not Java related as Java is/was pre-compiled. This is error is being raised even before the CFX or even CFC is actually getting executed. This is kind of like a pre-compile or semantic error.
You're right. The error is raised before any CF code is executed.
I don't know whether this is deliberate or not. Either the CF 8 documentation is wrong (and it is not allowed for CFX tags) . or this might be a bug.
As a work around, you could always pass in your own structure of attributes into the tag and extract them manually.
You seem to be along my side. I agree with you. I shall try the work around you mentioned.
Additionally, the same CFX tag used to work before we went in for CF8. Hence, I think this is a bug. I also report the same as a bug to Adobe. I get no replies from them till now if or not they are working on it.
We are thinking to roll back to version 7 due to this. I will try the work around. If that works, thats good.
Regardless of the workaround, I think Adobe needs to come up with a fix to this as this is a regression problem.
I don't know if its deliberate or a bug. Assuming attributeCollection is a documented attribute of all custom tags (including CFX) then that would suggest a bug to me.
A workaround shouldn't be too difficult. The request class has few methods and most are already built-in methods of the Hashtable class. Example request.attributeExists() > Hashtable.containsKey().
You might even try creating a local copy of DebugRequest just inside the processRequest method. You could pass your structure of attributes into the constructor and use it locally to get the attributes. I haven't tried it but it might work for you.