RE: Unable to post questions with log error messages

txapeldot ., modified 2 Years ago. Junior Member Posts: 91 Join Date: 1/15/15 Recent Posts

Can anyone explain to me why, in the Liferay Community forum, I cannot post questions that include error messages displayed by my windows console??? (very weird...)

I'm able to post any text within the form, but when I type log errors and clic on the 'publish' buttom, an error message saying that 'an unexpected error has occurred' appears.

Thanks.

thumbnail
Olaf Kock, modified 2 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

In the past, there were some problems due to over-eager WAF rules, so this might be a false positive of that kind. It's hard to figure out what exactly it might be, and unfortunately code samples are very close to the stuff that a WAF wants to filter out. If you look at the content and can guess what might be in a filter, it helps to sprinkle a misspelling in there, or a space.

If I remember correctly, I had to "damage" code once and write "get Property()" (see the extra space?)

And indeed, I still have to do that...

txapeldot ., modified 2 Years ago. Junior Member Posts: 91 Join Date: 1/15/15 Recent Posts

If that's the reason, I'm sorry to say that the forum becomes an unhelpful way to sort many problems out.

How can I manage to show other users the stack trace error messages from an Exception (20+ lines)? Is there any way of attaching an error log file?

Thanks for your reply.

thumbnail
Olaf Kock, modified 2 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

Quick fix: Community Slack. https://liferay.dev/chat or https://liferay-community.slack.com

(I've forwarded the request to soften the WAF settings for this site. You're right: Providing a software-related forum that doesn't allow posting code or similar content is an oxymoron)

txapeldot ., modified 2 Years ago. Junior Member Posts: 91 Join Date: 1/15/15 Recent Posts

Thanks for the request forwarded!