[jira] [Updated] (WW-4954) xml-validation fails since struts 2.5.17
[ https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4954: -- Fix Version/s: 2.5.18 2.3.36 > xml-validation fails since struts 2.5.17 > > > Key: WW-4954 > URL: https://issues.apache.org/jira/browse/WW-4954 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.5.17 >Reporter: Fechner >Priority: Major > Fix For: 2.6, 2.3.36, 2.5.18 > > Attachments: KundenAction-kundenAdrUebernehmen-validation.xml, > KundenAction-kundenAdrUebernehmen-validation.xml, > KundenAction-kundenAdrUebernehmen-validation.xml.alt, KundenAction.java, > ValidatorArrayListSize.java, ValidatorArrayListSize.java, > email_festnetz_email-arrayListStringeSize_festnetz-arrayListStringeSize_otherinvalideValues.png, > email_festnetz_email-arrayListStringeSize_festnetz-fieldexpression.png, > email_festnetz_email-fieldexpression_festnetz-fieldexpression.png, > kundenNeuanlegenAdresse.jspf, kundenVerwaltung.xml, > mitarbeiterVerwaltung.xml, produktVerwaltung.xml, struts.xml > > > xml-Validation of "s:optiontransferselect" and "s:inputtransferselect" fails > since version 2.5.17. > Until version 2.5.16 xml-validation works fine. > Example : > inputtransferselect: > {code:xml} > label="%\{getText('adresse.email')}" > > name="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > > list="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > id="eingabeEmailAdresseKuAnschrift" > cssClass="inputoptionselect" > addLabel="%\{getText('add')}" > removeLabel="%\{getText('remove')}" > removeAllLabel="%\{getText('removeAll')}" > buttonCssClass="navibutton" > allowUpDown="false" > requiredLabel="true" > > tooltip="%\{getText('tooltip.adresse.email')}" > tooltipIconPath="/images/question.gif" > /> > {code} > {code} > "../../../../xwork-validator-1.0.3.dtd"> > > > > > > > > > > > > > > > > {code} > optiontransferselect: > {code:xml} > > id="idListe" > label="%\{getText('pk.klasse.gebiet')}" > name="idListe" > leftTitle="%\{getText('produkt.ag.links')}" > rightTitle="%\{getText('produkt.ag.rechts')}" > list="%\{#session.listeLinks}" > listKey="id" > listValue="anzeige" > multiple="true" > size="15" > cssClass="input_text" > requiredLabel="true" > > buttonCssClass="navibutton" > allowSelectAll="false" > allowUpDownOnLeft="false" > allowUpDownOnRight="false" > allowAddAllToLeft="false" > allowAddAllToRight="false" > addToLeftLabel="%\{getText('remove')}" > addToRightLabel="%\{getText('add')}" > doubleList="%\{#session.listeRechts}" > doubleListKey="id" > doubleListValue="anzeige" > doubleName="selectedIdListe" > doubleSize="15" > doubleCssClass="input_text" > /> > {code} > I hope You can helb > Best regards > Siegfried Fechner > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (WW-4954) xml-validation fails since struts 2.5.17
[ https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fechner updated WW-4954: Attachment: KundenAction-kundenAdrUebernehmen-validation.xml.alt ValidatorArrayListSize.java email_festnetz_email-arrayListStringeSize_festnetz-fieldexpression.png email_festnetz_email-fieldexpression_festnetz-fieldexpression.png KundenAction-kundenAdrUebernehmen-validation.xml email_festnetz_email-arrayListStringeSize_festnetz-arrayListStringeSize_otherinvalideValues.png Dear Likasz, i thing the probleme is found an it is located inside the validation implementation (fieldexpression) I switch from To: Validation works now fine. Details: email_festnetz_email-arrayListStringeSize_festnetz-fieldexpression: [WARN ] 2018-08-27 06:25:04.972 [http-nio-8080-exec-89] [isAccessible] SecurityMemberAccess,Zeile:78 - Package of target [[123]] or package of member [public int java.util.ArrayList.size()] are excluded! [WARN ] 2018-08-27 06:25:04.973 [http-nio-8080-exec-89] [validate] FieldExpressionValidator,Zeile:91 - Got result of null when trying to get Boolean. [WARN ] 2018-08-27 06:25:05.108 [http-nio-8080-exec-89] [isAccessible] SecurityMemberAccess,Zeile:78 - Package of target [[s...@dwd.de]] or package of member [public int java.util.ArrayList.size()] are excluded! email_festnetz_email-fieldexpression_festnetz-fieldexpression: Eingabe für Email und Festnetznummer (1 x email (fieldexpression) und 1x Festnetznummer (fieldexpression)) [WARN ] 2018-08-27 06:35:45.725 [http-nio-8080-exec-99] [isAccessible] SecurityMemberAccess,Zeile:78 - Package of target [[sfech...@dwd.de]] or package of member [public int java.util.ArrayList.size()] are excluded! [WARN ] 2018-08-27 06:35:45.726 [http-nio-8080-exec-99] [validate] FieldExpressionValidator,Zeile:91 - Got result of null when trying to get Boolean. [WARN ] 2018-08-27 06:35:45.727 [http-nio-8080-exec-99] [isAccessible] SecurityMemberAccess,Zeile:78 - Package of target [[123]] or package of member [public int java.util.ArrayList.size()] are excluded! [WARN ] 2018-08-27 06:35:45.728 [http-nio-8080-exec-99] [validate] FieldExpressionValidator,Zeile:91 - Got result of null when trying to get Boolean. [WARN ] 2018-08-27 06:35:45.800 [http-nio-8080-exec-99] [isAccessible] SecurityMemberAccess,Zeile:78 - Package of target [[sfech...@dwd.de]] or package of member [public int java.util.ArrayList.size()] are excluded! email_festnetz_email-arrayListStringeSize_festnetz-arrayListStringeSize_otherinvalideValues: [WARN ] 2018-08-27 06:56:24.473 [http-nio-8080-exec-113] [isAccessible] SecurityMemberAccess,Zeile:78 - Package of target [[s...@dwd.de]] or package of member [public int java.util.ArrayList.size()] are excluded! email_festnetz_email-arrayListStringeSize_festnetz-arrayListStringeSize_onlyvalideValues: no log entries validation works fine!! As attachments you can find screenshots (in relation to loginfos) , validation xml and the validationclass. I hope my resulta are usefull to fix this problem. I am not interested to change the validation in all our implementations. Best regards Siegfried Fechner > xml-validation fails since struts 2.5.17 > > > Key: WW-4954 > URL: https://issues.apache.org/jira/browse/WW-4954 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.5.17 >Reporter: Fechner >Priority: Major > Fix For: 2.6 > > Attachments: KundenAction-kundenAdrUebernehmen-validation.xml, > KundenAction-kundenAdrUebernehmen-validation.xml, > KundenAction-kundenAdrUebernehmen-validation.xml.alt, KundenAction.java, > ValidatorArrayListSize.java, ValidatorArrayListSize.java, > email_festnetz_email-arrayListStringeSize_festnetz-arrayListStringeSize_otherinvalideValues.png, > email_festnetz_email-arrayListStringeSize_festnetz-fieldexpression.png, > email_festnetz_email-fieldexpression_festnetz-fieldexpression.png, > kundenNeuanlegenAdresse.jspf, kundenVerwaltung.xml, > mitarbeiterVerwaltung.xml, produktVerwaltung.xml, struts.xml > > > xml-Validation of "s:optiontransferselect" and "s:inputtransferselect" fails > since version 2.5.17. > Until version 2.5.16 xml-validation works fine. > Example : > inputtransferselect: > {code:xml} > label="%\{getText('adresse.email')}" > > name="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > > list="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > id="eingabeEmailAdresseKuAnschrift" > cssClass="inputoptionselect" > addLabel="%\{getText('add')}" > remov
[jira] [Updated] (WW-4954) xml-validation fails since struts 2.5.17
[ https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fechner updated WW-4954: Attachment: KundenAction-kundenAdrUebernehmen-validation.xml ValidatorArrayListSize.java I tested xml-validation via validation class "ValidatorArrayListSize.java": Outputs inside ValidatorArrayListSize are OK. but validation fails: " [WARN ] 2018-08-26 16:26:34.659 [http-nio-8080-exec-57] [isAccessible] SecurityMemberAccess,Zeile:78 - Package of target [[s...@dwd.de]] or package of member [public int java.util.ArrayList.size()] are excluded! " I use java version 8.0.181 and tomcat 8.5.32 Best regards Siegfried Fechner > xml-validation fails since struts 2.5.17 > > > Key: WW-4954 > URL: https://issues.apache.org/jira/browse/WW-4954 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.5.17 >Reporter: Fechner >Priority: Major > Fix For: 2.6 > > Attachments: KundenAction-kundenAdrUebernehmen-validation.xml, > KundenAction.java, ValidatorArrayListSize.java, kundenNeuanlegenAdresse.jspf, > kundenVerwaltung.xml, mitarbeiterVerwaltung.xml, produktVerwaltung.xml, > struts.xml > > > xml-Validation of "s:optiontransferselect" and "s:inputtransferselect" fails > since version 2.5.17. > Until version 2.5.16 xml-validation works fine. > Example : > inputtransferselect: > {code:xml} > label="%\{getText('adresse.email')}" > > name="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > > list="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > id="eingabeEmailAdresseKuAnschrift" > cssClass="inputoptionselect" > addLabel="%\{getText('add')}" > removeLabel="%\{getText('remove')}" > removeAllLabel="%\{getText('removeAll')}" > buttonCssClass="navibutton" > allowUpDown="false" > requiredLabel="true" > > tooltip="%\{getText('tooltip.adresse.email')}" > tooltipIconPath="/images/question.gif" > /> > {code} > {code} > "../../../../xwork-validator-1.0.3.dtd"> > > > > > > > > > > > > > > > > {code} > optiontransferselect: > {code:xml} > > id="idListe" > label="%\{getText('pk.klasse.gebiet')}" > name="idListe" > leftTitle="%\{getText('produkt.ag.links')}" > rightTitle="%\{getText('produkt.ag.rechts')}" > list="%\{#session.listeLinks}" > listKey="id" > listValue="anzeige" > multiple="true" > size="15" > cssClass="input_text" > requiredLabel="true" > > buttonCssClass="navibutton" > allowSelectAll="false" > allowUpDownOnLeft="false" > allowUpDownOnRight="false" > allowAddAllToLeft="false" > allowAddAllToRight="false" > addToLeftLabel="%\{getText('remove')}" > addToRightLabel="%\{getText('add')}" > doubleList="%\{#session.listeRechts}" > doubleListKey="id" > doubleListValue="anzeige" > doubleName="selectedIdListe" > doubleSize="15" > doubleCssClass="input_text" > /> > {code} > I hope You can helb > Best regards > Siegfried Fechner > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (WW-4954) xml-validation fails since struts 2.5.17
[ https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fechner updated WW-4954: Attachment: kundenNeuanlegenAdresse.jspf KundenAction.java Dear Lukasz, i checked my Code and can not found any exclusions. Inside the Action and jspf i can use the size of this arraylist, see kundenNeuanlegenAdresse.jspf : ... leere EmailListe: ... or KundenAction.java: ... public String kundenNeuanlegen(){ log.debug("===kundenNeuanlegen Beginn"); log.debug("===getKuAnschrift().getKontaktMittel().getEingabeEmailAdresse().size()="+getKuAnschrift().getKontaktMittel().getEingabeEmailAdresse().size()); If i use struts2-core-2.5.16.jar and struts2-spring-plugin-2.5.16.jar there are no error messages and validation works find. I hope you find some recommendation to solve my problem. Best regards Siegfried Fechner > xml-validation fails since struts 2.5.17 > > > Key: WW-4954 > URL: https://issues.apache.org/jira/browse/WW-4954 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.5.17 >Reporter: Fechner >Priority: Major > Fix For: 2.6 > > Attachments: KundenAction.java, kundenNeuanlegenAdresse.jspf, > kundenVerwaltung.xml, mitarbeiterVerwaltung.xml, produktVerwaltung.xml, > struts.xml > > > xml-Validation of "s:optiontransferselect" and "s:inputtransferselect" fails > since version 2.5.17. > Until version 2.5.16 xml-validation works fine. > Example : > inputtransferselect: > {code:xml} > label="%\{getText('adresse.email')}" > > name="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > > list="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > id="eingabeEmailAdresseKuAnschrift" > cssClass="inputoptionselect" > addLabel="%\{getText('add')}" > removeLabel="%\{getText('remove')}" > removeAllLabel="%\{getText('removeAll')}" > buttonCssClass="navibutton" > allowUpDown="false" > requiredLabel="true" > > tooltip="%\{getText('tooltip.adresse.email')}" > tooltipIconPath="/images/question.gif" > /> > {code} > {code} > "../../../../xwork-validator-1.0.3.dtd"> > > > > > > > > > > > > > > > > {code} > optiontransferselect: > {code:xml} > > id="idListe" > label="%\{getText('pk.klasse.gebiet')}" > name="idListe" > leftTitle="%\{getText('produkt.ag.links')}" > rightTitle="%\{getText('produkt.ag.rechts')}" > list="%\{#session.listeLinks}" > listKey="id" > listValue="anzeige" > multiple="true" > size="15" > cssClass="input_text" > requiredLabel="true" > > buttonCssClass="navibutton" > allowSelectAll="false" > allowUpDownOnLeft="false" > allowUpDownOnRight="false" > allowAddAllToLeft="false" > allowAddAllToRight="false" > addToLeftLabel="%\{getText('remove')}" > addToRightLabel="%\{getText('add')}" > doubleList="%\{#session.listeRechts}" > doubleListKey="id" > doubleListValue="anzeige" > doubleName="selectedIdListe" > doubleSize="15" > doubleCssClass="input_text" > /> > {code} > I hope You can helb > Best regards > Siegfried Fechner > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (WW-4954) xml-validation fails since struts 2.5.17
[ https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fechner updated WW-4954: Attachment: kundenVerwaltung.xml mitarbeiterVerwaltung.xml produktVerwaltung.xml struts.xml > xml-validation fails since struts 2.5.17 > > > Key: WW-4954 > URL: https://issues.apache.org/jira/browse/WW-4954 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.5.17 >Reporter: Fechner >Priority: Major > Fix For: 2.6 > > Attachments: kundenVerwaltung.xml, mitarbeiterVerwaltung.xml, > produktVerwaltung.xml, struts.xml > > > xml-Validation of "s:optiontransferselect" and "s:inputtransferselect" fails > since version 2.5.17. > Until version 2.5.16 xml-validation works fine. > Example : > inputtransferselect: > {code:xml} > label="%\{getText('adresse.email')}" > > name="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > > list="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > id="eingabeEmailAdresseKuAnschrift" > cssClass="inputoptionselect" > addLabel="%\{getText('add')}" > removeLabel="%\{getText('remove')}" > removeAllLabel="%\{getText('removeAll')}" > buttonCssClass="navibutton" > allowUpDown="false" > requiredLabel="true" > > tooltip="%\{getText('tooltip.adresse.email')}" > tooltipIconPath="/images/question.gif" > /> > {code} > {code} > "../../../../xwork-validator-1.0.3.dtd"> > > > > > > > > > > > > > > > > {code} > optiontransferselect: > {code:xml} > > id="idListe" > label="%\{getText('pk.klasse.gebiet')}" > name="idListe" > leftTitle="%\{getText('produkt.ag.links')}" > rightTitle="%\{getText('produkt.ag.rechts')}" > list="%\{#session.listeLinks}" > listKey="id" > listValue="anzeige" > multiple="true" > size="15" > cssClass="input_text" > requiredLabel="true" > > buttonCssClass="navibutton" > allowSelectAll="false" > allowUpDownOnLeft="false" > allowUpDownOnRight="false" > allowAddAllToLeft="false" > allowAddAllToRight="false" > addToLeftLabel="%\{getText('remove')}" > addToRightLabel="%\{getText('add')}" > doubleList="%\{#session.listeRechts}" > doubleListKey="id" > doubleListValue="anzeige" > doubleName="selectedIdListe" > doubleSize="15" > doubleCssClass="input_text" > /> > {code} > I hope You can helb > Best regards > Siegfried Fechner > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (WW-4954) xml-validation fails since struts 2.5.17
[ https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4954: -- Fix Version/s: 2.6 > xml-validation fails since struts 2.5.17 > > > Key: WW-4954 > URL: https://issues.apache.org/jira/browse/WW-4954 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.5.17 >Reporter: Fechner >Priority: Major > Fix For: 2.6 > > > xml-Validation of "s:optiontransferselect" and "s:inputtransferselect" fails > since version 2.5.17. > Until version 2.5.16 xml-validation works fine. > Example : > inputtransferselect: > {code:xml} > label="%\{getText('adresse.email')}" > > name="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > > list="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > id="eingabeEmailAdresseKuAnschrift" > cssClass="inputoptionselect" > addLabel="%\{getText('add')}" > removeLabel="%\{getText('remove')}" > removeAllLabel="%\{getText('removeAll')}" > buttonCssClass="navibutton" > allowUpDown="false" > requiredLabel="true" > > tooltip="%\{getText('tooltip.adresse.email')}" > tooltipIconPath="/images/question.gif" > /> > {code} > {code} > "../../../../xwork-validator-1.0.3.dtd"> > > > > > > > > > > > > > > > > {code} > optiontransferselect: > {code:xml} > > id="idListe" > label="%\{getText('pk.klasse.gebiet')}" > name="idListe" > leftTitle="%\{getText('produkt.ag.links')}" > rightTitle="%\{getText('produkt.ag.rechts')}" > list="%\{#session.listeLinks}" > listKey="id" > listValue="anzeige" > multiple="true" > size="15" > cssClass="input_text" > requiredLabel="true" > > buttonCssClass="navibutton" > allowSelectAll="false" > allowUpDownOnLeft="false" > allowUpDownOnRight="false" > allowAddAllToLeft="false" > allowAddAllToRight="false" > addToLeftLabel="%\{getText('remove')}" > addToRightLabel="%\{getText('add')}" > doubleList="%\{#session.listeRechts}" > doubleListKey="id" > doubleListValue="anzeige" > doubleName="selectedIdListe" > doubleSize="15" > doubleCssClass="input_text" > /> > {code} > I hope You can helb > Best regards > Siegfried Fechner > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (WW-4954) xml-validation fails since struts 2.5.17
[ https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4954: -- Description: xml-Validation of "s:optiontransferselect" and "s:inputtransferselect" fails since version 2.5.17. Until version 2.5.16 xml-validation works fine. Example : inputtransferselect: {code:xml} {code} {code} {code} optiontransferselect: {code:xml} {code} I hope You can helb Best regards Siegfried Fechner was: xml-Validation of "s:optiontransferselect" and "s:inputtransferselect" fails since version 2.5.17. Until version 2.5.16 xml-validation works fine. Example : inputtransferselect: --- -- optiontransferselect: I hope You can helb Best regards Siegfried Fechner > xml-validation fails since struts 2.5.17 > > > Key: WW-4954 > URL: https://issues.apache.org/jira/browse/WW-4954 > Project: Struts 2 > Issue Type: Bug >Affects Versions: 2.5.17 >Reporter: Fechner >Priority: Major > > xml-Validation of "s:optiontransferselect" and "s:inputtransferselect" fails > since version 2.5.17. > Until version 2.5.16 xml-validation works fine. > Example : > inputtransferselect: > {code:xml} > label="%\{getText('adresse.email')}" > > name="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > > list="kuAnschrift.kontaktMittel.eingabeEmailAdresse" > id="eingabeEmailAdresseKuAnschrift" > cssClass="inputoptionselect" > addLabel="%\{getText('add')}" > removeLabel="%\{getText('remove')}" > removeAllLabel="%\{getText('removeAll')}" > buttonCssClass="navibutton" > allowUpDown="false" > requiredLabel="true" > > tooltip="%\{getText('tooltip.adresse.email')}" > tooltipIconPath="/images/question.gif" > /> > {code} > {code} > "../../../../xwork-validator-1.0.3.dtd"> > > > > > > > > > > > > > > > > {code} > optiontransferselect: > {code:xml} > > id="idListe" > label="%\{getText('pk.klasse.gebiet')}" > name="idListe" > leftTitle="%\{getText('produkt.ag.links')}" > rightTitle="%\{getText('produkt.ag.rechts')}" > list="%\{#session.listeLinks}" > listKey="id" > listValue="anzeige" > multiple="true" > size="15" > cssClass="input_text" > requiredLabel="true" > > buttonCssClass="navibutton" > allowSelectAll="false" > allowUpDownOnLeft="false" > allowUpDownOnRight="false" > allowAddAllToLeft="false" > allowAddAllToRight="false" > addToLeftLabel="%\{getText('remove')}" > addToRightLabel="%\{getText('add')}" > doubleList="%\{#session.listeRechts}" > doubleListKey="id" > doubleListValue="anzeige" > doubleName="selectedIdListe" > doubleSize="15" > doubleCssClass="input_text" > /> > {code} > I hope You can helb > Best regards > Siegfried Fechner > -- This message was sent by Atlassian JIRA (v7.6.3#76005)