case seems to be different (MY or My).
Best regards
Ute
Gesendet: Freitag, 9. Mai 2025 um 23:59
Von: "Deborah White"
An: "Struts Users Mailing List"
Betreff: RE: Struts 7 problem
And another one is: I tried adding which did not work. I am not seeing correct
screens based on
PM
To: user@struts.apache.org
Subject: Re: Struts 7 problem
EXTERNAL EMAIL: This message was sent from outside DOJ. Please do not click
links or open attachments that appear suspicious.
Security
struts.apache.org
favicon.ico
[/mail/client/mailbodycompose/attachmen
m 00:49
> Von: "Dave Newton"
> An: "Struts Users Mailing List"
> Betreff: Re: Struts 7 problem
>
> Tangential, but I’d consider wrapping up long OGNL excursions somewhere
> else besides the view layer.
>
> em: davelnew...@gmail.com
> mo: 908-380-8699
&
am_Manager") ||
> #request["MYUtils"].isUserInRole("Audit_Supervisor") ||
> #request["MYUtils"].isUserInRole("Audit_Staff") ||
> #request["MYUtils"].isUserInRole("Level_1_Processor") ||
> #request["MYUtils"].isUs
'struts.allowlist.classes' or 'struts.allowlist.packageNames' configuration.
14:56:11,308 WARN [org.apache.struts2.ognl.SecurityMemberAccess] (default task-1) Declaring class [class gov.ca.doj.sotas.databean.UserData] of member type [public int
gov.ca.doj.sotas.databean.Use
sses' or
'struts.allowlist.packageNames' configuration.
14:56:11,308 WARN [org.apache.struts2.ognl.SecurityMemberAccess] (default
task-1) Declaring class [class gov.ca.doj.sotas.databean.UserData] of member
type [public int gov.ca.doj.sotas.databean.UserData.getPwdDaysToExp()] is not
allowlisted!
iser
Sent: Friday, May 9, 2025 2:50 PM
To: user@struts.apache.org
Subject: Re: Struts 7 problem
EXTERNAL EMAIL: This message was sent from outside DOJ. Please do not click
links or open attachments that appear suspicious.
Security<https://urldefense.proofpoint.com/v
Securitystruts.apache.orgHi,have you considered this restriction?Probably exceeding max lengthVon meinem iPad gesendetAm 09.05.2025 um 23:25 schrieb Deborah White :That took care of that one. Now I have this:14:23:09,654 ERROR [org.apache.struts2.ognl.OgnlValueStack] (default task-1) Could not eva
quot;MYUtils"].isUserInRole("Audit_Staff") ||
#request["MYUtils"].isUserInRole("Level_1_Processor") ||
#request["MYUtils"].isUserInRole("Level_2_Processor") ||
#request["MYUtils"].isUserInRole("Level_3_Process
Hi Deborah,
could be a matter of casing - the attribute is "escapeHtml":
https://struts.apache.org/tag-developers/property-tag.html
Does this help?
Wolfgang
Am 09.05.25 um 20:15 schrieb Deborah White:
I am getting this error after migrating to Struts 7.0.0.
JBWEB004251: An error occurred a
I am getting this error after migrating to Struts 7.0.0.
JBWEB004251: An error occurred at line: 5 column: 57) JBWEB004197: Attribute
escape invalid for tag property according to TLD
I have found maybe related to this "?
I tried changing to escapeHTML but that didn't seem to work.
Any ideas?
11 matches
Mail list logo