foo.cfmcomponentaccessors = true{private void function weird() {writeLog(file="limiter"text="hi");}}
If I hit foo.cfm, I get the following in the browser:<cfset rl = createObject("component", "foo") />
Yes, there's a bug in foo.cfc (a comma missing between parameters), but why does Railo display the source?component accessors = true { private void function weird() { writeLog( file="limiter" text="hi" ); } }
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/d06659dc-0ed3-4961-97eb-7e89e74e56f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CA%2BonWPd6JDhTujS_w35ujJPjH%3D4YTfTpGGCSR-YkaNjZm-1czQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
component{}
component
{}
component foo
{
}
component foo="bar"
baz
{
}
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/3fef2516-005e-4d41-93bd-fa94b6ddecc7%40googlegroups.com.
component{ funcion bar(){}}
component
{ funcion bar(){}}
Missing [;] or [line feed] after expression
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/30d0c24e-ef36-4136-b67c-fab90d48c369%40googlegroups.com.
FWIW, I altered a CFC to introduce the issue described (i.e. `fuction bar() { writeOutput( "foo" ); }`) and I get the exact same message in my error log regardless of where the opening bracket is placed.
Or maybe the issue you are describing (raw text of the CFC placed into the output stream) only occurs when the CFC is directly called in the browser, e.g. http://mysite.com/myCFC.cfc ? If that's the case, that would easily explain why I've never seen that behavior - I don't directly call CFCs.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CADBt%2BB0VegvQUT-QEHQQ7DP0Ev3ruY0om-OU%3DadX1gqCFmrM8Q%40mail.gmail.com.
Wow. That's ........ bizarre. Hopefully extensive unit testing is in place to unmask those syntax errors long before it hits production, but still. :/
I'm running Railo 4.2.0.008. I didn't check to see if this is some other unrelated bug that's since fixed - just contributing on this thread since it seems to be the same problem.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/CADBt%2BB0awY70kDT%2BV%3DjwU83TTDv97jegEg0MJ9MGmv4vVWB-Kg%40mail.gmail.com.
Lucee ticket: https://luceeserver.atlassian.net/browse/LDEV-831