Is this by design? Has anyone else encountered this and cared enough to find a workaround? (For those wondering, the reason I care is that I have my error handler set to show me the "real" exception data instead of a customer-friendly message when IsDebugMode(), a method which will no longer work after migrating to Lucee.)
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/0379a286-a0d7-4454-97cf-44b903475d6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
cfsetting
tag showDebugOutput
attribute to No, the IsDebugMode
function returns Yes; No, otherwise."True, if debugging mode is set in the ColdFusion Administrator; False if debugging mode is disabled."
so it is unclear at best, one other way to do it would be, to match the ACF functionality but mark this function as deprecated and add one that is more precise in the functionality.
Micha
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/03cad62e-fece-45c3-a8c6-738fe76ddfbb%40googlegroups.com.
In some times we decide against a compatibility to ACF, because we see a functionality in ACF as a bug and not as a feature.
So the question for is not only "is this a bug", it is also "what behaviour is the best for the community".
Interesting is the doc for this function with ACF:"If debugging output is enabled in ColdFusion Administrator and has not been overridden by setting thecfsetting
tagshowDebugOutput
attribute to No, theIsDebugMode
function returns Yes; No, otherwise."So it does matches the functionality but the definition of "return" is matching our implementation.
"Returns
True, if debugging mode is set in the ColdFusion Administrator; False if debugging mode is disabled."
so it is unclear at best,
one other way to do it would be, to match the ACF functionality but mark this function as deprecated and add one that is more precise in the functionality
Interesting is the doc for this function with ACF:"If debugging output is enabled in ColdFusion Administrator and has not been overridden by setting thecfsetting
tagshowDebugOutput
attribute to No, theIsDebugMode
function returns Yes; No, otherwise."
"Returns
True, if debugging mode is set in the ColdFusion Administrator; False if debugging mode is disabled."
so it is unclear at best,
Description
Determines whether debugging output will be displayed.
Returns"Yes", if debugging information will be output; otherwise "No".
Usage
If debugging output is enabled in ColdFusion Administrator either globally or for the current machine's IP address and has not been overridden by setting the
cfsetting
tagshowDebugOutput
attribute to No, theIsDebugMode
function returns Yes; No, otherwise.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/a1563bb6-dd8b-44bb-8612-2865a6582379%40googlegroups.com.
I just tried to point out what is important for us to make the best decision.
now that we know we need to decide what is the best for the future.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/3cd2afd6-3923-49fc-a9ee-4e835d638338%40googlegroups.com.
It is always nice you know my intention better than I do, I always assumed that is my wife's job.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/615c9544-9475-4cd0-b2fe-4d184e149d01%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/eba9ab58-1c36-4a15-9f4d-8ca90de9cd72%40googlegroups.com.
i like it burnt like my wife does ;-)