[jira] [Commented] (WW-4954) xml-validation fails since struts 2.5.17

2018-08-27 Thread Lukasz Lenart (JIRA)


[ 
https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593328#comment-16593328
 ] 

Lukasz Lenart commented on WW-4954:
---

Your custom validator works because it doesn't use OGNL like 
{{fieldexpression}} and each OGNL expression must pass validation in 
{{SecurityMemberAccess}} - a class which checks if you are allowed to access 
given class. In this case it is {{java.lang.String}} and 
{{java.util.ArrayList}} - both classes should be allowed to use in expressions 
so that's why I bit surprised.

Could you enable {{DEBUG}} level log for package 
{{com.opensymphony.xwork2.ognl}} and post the log here?

> 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')}"
>      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] [Commented] (WW-4954) xml-validation fails since struts 2.5.17

2018-08-27 Thread Lukasz Lenart (JIRA)


[ 
https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593403#comment-16593403
 ] 

Lukasz Lenart commented on WW-4954:
---

Ah... right :(

[~sfechner] could you add the below constant to your {{struts.xml}}:

{code:xml}

{code}

> 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')}"
>      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] [Commented] (WW-4954) xml-validation fails since struts 2.5.17

2018-08-27 Thread Yasser Zamani (JIRA)


[ 
https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593382#comment-16593382
 ] 

Yasser Zamani commented on WW-4954:
---

I could reproduce the issue. Struts internally converts {{
>        
>        
>        
>    
>     
>    
>           
>  
>  
> {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] [Created] (STR-3225) CVE: CVE-2018-11776 vulnerability is also impacted Struts1.x

2018-08-27 Thread sushil (JIRA)
sushil created STR-3225:
---

 Summary: CVE: CVE-2018-11776 vulnerability is also impacted  
Struts1.x
 Key: STR-3225
 URL: https://issues.apache.org/jira/browse/STR-3225
 Project: Struts 1
  Issue Type: Bug
  Components: Core
Affects Versions: 1.3.10
 Environment: Linux + Apache tomcat  9.0.5+ struts 1.3.10 
Reporter: sushil
 Fix For: Pending Review


Our Product released stop because Struts is impacted of  CVE-2018-11776 .So we 
need confirmation is also impacted struts 1.3.10 if so do we have any 
workaround for same.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (STR-3225) Want confiramtion CVE: CVE-2018-11776 vulnerability is also impacted Struts1.x ?

2018-08-27 Thread sushil (JIRA)


 [ 
https://issues.apache.org/jira/browse/STR-3225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

sushil updated STR-3225:

Summary: Want confiramtion CVE: CVE-2018-11776 vulnerability is also 
impacted  Struts1.x ?  (was: CVE: CVE-2018-11776 vulnerability is also impacted 
 Struts1.x)

> Want confiramtion CVE: CVE-2018-11776 vulnerability is also impacted  
> Struts1.x ?
> -
>
> Key: STR-3225
> URL: https://issues.apache.org/jira/browse/STR-3225
> Project: Struts 1
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.3.10
> Environment: Linux + Apache tomcat  9.0.5+ struts 1.3.10 
>Reporter: sushil
>Priority: Major
> Fix For: Pending Review
>
>
> Our Product released stop because Struts is impacted of  CVE-2018-11776 .So 
> we need confirmation is also impacted struts 1.3.10 if so do we have any 
> workaround for same.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (STR-3225) Want confiramtion CVE: CVE-2018-11776 vulnerability is also impacted Struts1.x ?

2018-08-27 Thread Lukasz Lenart (JIRA)


[ 
https://issues.apache.org/jira/browse/STR-3225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593548#comment-16593548
 ] 

Lukasz Lenart commented on STR-3225:


Struts 1 is EOL and we do not perform any tests against this version. In theory 
this version should not be impacted as it doesn't relay on OGNL.

> Want confiramtion CVE: CVE-2018-11776 vulnerability is also impacted  
> Struts1.x ?
> -
>
> Key: STR-3225
> URL: https://issues.apache.org/jira/browse/STR-3225
> Project: Struts 1
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.3.10
> Environment: Linux + Apache tomcat  9.0.5+ struts 1.3.10 
>Reporter: sushil
>Priority: Major
> Fix For: Pending Review
>
>
> Our Product released stop because Struts is impacted of  CVE-2018-11776 .So 
> we need confirmation is also impacted struts 1.3.10 if so do we have any 
> workaround for same.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (STR-3225) Want confiramtion CVE: CVE-2018-11776 vulnerability is also impacted Struts1.x ?

2018-08-27 Thread Lukasz Lenart (JIRA)


 [ 
https://issues.apache.org/jira/browse/STR-3225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart closed STR-3225.
--
Resolution: Not A Bug

> Want confiramtion CVE: CVE-2018-11776 vulnerability is also impacted  
> Struts1.x ?
> -
>
> Key: STR-3225
> URL: https://issues.apache.org/jira/browse/STR-3225
> Project: Struts 1
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.3.10
> Environment: Linux + Apache tomcat  9.0.5+ struts 1.3.10 
>Reporter: sushil
>Priority: Major
> Fix For: Pending Review
>
>
> Our Product released stop because Struts is impacted of  CVE-2018-11776 .So 
> we need confirmation is also impacted struts 1.3.10 if so do we have any 
> workaround for same.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WW-4954) xml-validation fails since struts 2.5.17

2018-08-27 Thread Fechner (JIRA)


[ 
https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593635#comment-16593635
 ] 

Fechner commented on WW-4954:
-

Thank you for help

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')}"
>      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] [Commented] (WW-4954) xml-validation fails since struts 2.5.17

2018-08-27 Thread Fechner (JIRA)


[ 
https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593718#comment-16593718
 ] 

Fechner commented on WW-4954:
-

Yes!!



> 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')}"
>      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

2018-08-27 Thread Lukasz Lenart (JIRA)


 [ 
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] [Commented] (WW-4954) xml-validation fails since struts 2.5.17

2018-08-27 Thread Lukasz Lenart (JIRA)


[ 
https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593734#comment-16593734
 ] 

Lukasz Lenart commented on WW-4954:
---

Cool, we will fix that in another small release soon, thanks a lot :)

> 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] [Commented] (WW-4954) xml-validation fails since struts 2.5.17

2018-08-27 Thread Lukasz Lenart (JIRA)


[ 
https://issues.apache.org/jira/browse/WW-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593713#comment-16593713
 ] 

Lukasz Lenart commented on WW-4954:
---

Did that help?

> 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')}"
>      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)