CF10 + CF11 pass exception struct as object, so that's why the error detail and message fields are empty in ExceptionBean
Sana, can you expand further on this ticket, I don't get the issue, do you have a test case so I can reproduce.
in case of any exception then method receive errorStruct param and type is not struct inside ExceptionBean.cfc
Issue with CF10 , CF11
Please would you explain why duplicate removed, I rolled back to original code for the time-being in my branch.
I think the duplicate loses data because it casts the actual Java exception to a simple struct. I explained it on a pull request or issue recently, but it's not the one linked here so I'm not sure where it was. If you search the mailing list, this thread shows problems people were having with duplicate:
We removed the duplicate the past because it caused issues, so I'm sure putting it back in with most likely bring those issues back.
Its not fixed, not sure how to convince both of you. So I am attaching screen shot.
Also I will add test case in test-harness to reproduce it for you.
test case added