Issues
- robustExceptionEnabled doesn't seem to work in ACF2021CFCONFIG-45Resolved issue: CFCONFIG-45
- Connection String is not being saved correctlyCFCONFIG-38Resolved issue: CFCONFIG-38Brad Wood
- In order to make the cfConFig setting dotNotationUpperCase true I must apply falseCFCONFIG-6Resolved issue: CFCONFIG-6Brad Wood
robustExceptionEnabled doesn't seem to work in ACF2021
Description
Environment
Docker, using `ortussolutions/commandbox:adobe2021` image.
Activity
Leon Miller-OutMarch 25, 2021 at 7:10 PM
Yup. Thanks!
Brad WoodMarch 25, 2021 at 5:50 PM
Ahh, wow-- good to know. So we can close this ticket?
Leon Miller-OutMarch 25, 2021 at 3:32 PM
I figured it out. I needed to have the debugger package installed in order for robust exception reporting to work.
Leon Miller-OutMarch 25, 2021 at 2:34 PM
Hm, this is weird. My neo-debug.xml file
(/usr/local/lib/serverHome/WEB-INF/cfusion/lib) has:
```
<var name="robust_enabled">
<boolean value="true"/>
</var>
```
So I thought maybe this is some kind of secure profile issue. However, I
see this in the server startup output, so I don't think that that's the
case:
```
------------------------------ | |
√ | Setting Server Profile to [development] |
| ------------------------------------------------------ |
| Profile set from profile property in server.json |
| Block CF Admin disabled |
| Block Sensitive Paths enabled |
| Block Flash Remoting enabled |
| Directory Browsing enabled |
| ----------------------------------------------------— |
Brad WoodMarch 24, 2021 at 5:34 PM
It’s likely Adobe has changed where in the config file they store that flag. I’ll have to look into it. Feel free to take a peek as well if you have time. Looking at the code, it stores a boolean in a “robust_enabled” key in a struct located in the first index of an array in the neo-debug.xml file.
In my `.cfconfig.json`, I have:
` "robustExceptionEnabled": true,`
This config file is definitely getting loaded, as there are several configs in there which would totally break the application if they were missing.
However, when I run into an exception, I don't see any error details or stack trace, and instead I see "Enable Robust Exception Information to provide greater detail about the source of errors".