Error detail, message empty on CF10 CF11

Description

CF10 + CF11 pass exception struct as object, so that's why the error detail and message fields are empty in ExceptionBean

Original code

Attachments

1

Gliffy Diagrams

Activity

Show:

Sana UllahMarch 23, 2016 at 10:17 PM
Edited

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
https://github.com/ColdBox/coldbox-platform/pull/259

Brad WoodMarch 10, 2016 at 6:28 PM

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:

https://groups.google.com/d/topic/coldbox/yVZnyOyMOHU/discussion

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.

Sana UllahMarch 10, 2016 at 1:07 PM

Please would you explain why duplicate removed, I rolled back to original code for the time-being in my branch.

Sana UllahFebruary 27, 2016 at 11:00 PM

Luis,

in case of any exception then method receive errorStruct param and type is not struct inside ExceptionBean.cfc

Issue with CF10 , CF11

Luis MajanoFebruary 27, 2016 at 10:36 PM

Sana, can you expand further on this ticket, I don't get the issue, do you have a test case so I can reproduce.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Sentry

Created February 22, 2016 at 7:23 PM
Updated March 23, 2016 at 10:25 PM
Resolved March 11, 2016 at 7:36 PM