You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Beat Durrer (Created) (JIRA)" <ji...@apache.org> on 2012/04/02 13:57:23 UTC

[jira] [Created] (TAP5-1892) FormFragment validates non-displayed fragments (reopen)

FormFragment validates non-displayed fragments (reopen)
-------------------------------------------------------

                 Key: TAP5-1892
                 URL: https://issues.apache.org/jira/browse/TAP5-1892
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.0.17, 5.0.18
            Reporter: Beat Durrer


A user of JumpStart pointed this out in the wizard that uses FormFragments http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/wizard/usingformfragments

In this wizard each step is a separate FormFragment.  The sequence to make it fail in IE 7 is: in step 1 enter a value and press Next, in step 2 (which is a different fragment) press Prev without entering a value, in step 1 press Next.  Kaboom! The validation error that is displayed belongs to step 2, not step 1.

This works fine in Safari 3.2.1 and Firefox 3.0.4 but not in IE 7.0.5730.13. [This statement is not true - see later comments].


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TAP5-1892) FormFragment validates non-displayed fragments (reopen)

Posted by "Beat Durrer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Beat Durrer updated TAP5-1892:
------------------------------

          Description: 
(The Issue TAP5-410 is closed, I cannot reopen it)

Fields in FormFragments still get validated when using IE7.

Testcase:
- go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
- Enter any amount bigger than zero
- The validation for a field of a hidden FormFragment displays an error message



  was:
A user of JumpStart pointed this out in the wizard that uses FormFragments http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/wizard/usingformfragments

In this wizard each step is a separate FormFragment.  The sequence to make it fail in IE 7 is: in step 1 enter a value and press Next, in step 2 (which is a different fragment) press Prev without entering a value, in step 1 press Next.  Kaboom! The validation error that is displayed belongs to step 2, not step 1.

This works fine in Safari 3.2.1 and Firefox 3.0.4 but not in IE 7.0.5730.13. [This statement is not true - see later comments].


    Affects Version/s:     (was: 5.0.18)
                           (was: 5.0.17)
                       5.2.1
                       5.2.3
    
> FormFragment validates non-displayed fragments (reopen)
> -------------------------------------------------------
>
>                 Key: TAP5-1892
>                 URL: https://issues.apache.org/jira/browse/TAP5-1892
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.1, 5.2.3
>            Reporter: Beat Durrer
>
> (The Issue TAP5-410 is closed, I cannot reopen it)
> Fields in FormFragments still get validated when using IE7.
> Testcase:
> - go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
> - Enter any amount bigger than zero
> - The validation for a field of a hidden FormFragment displays an error message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1892) FormFragment validates non-displayed fragments (reopen)

Posted by "Geoff Callender (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429077#comment-13429077 ] 

Geoff Callender commented on TAP5-1892:
---------------------------------------

I can't recreate this issue. I'm using IE8 with, and without, Compatibility mode. Are there other settings I need to apply?
                
> FormFragment validates non-displayed fragments (reopen)
> -------------------------------------------------------
>
>                 Key: TAP5-1892
>                 URL: https://issues.apache.org/jira/browse/TAP5-1892
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.1, 5.2.3
>            Reporter: Beat Durrer
>
> (The Issue TAP5-410 is closed, I cannot reopen it)
> Fields in FormFragments still get validated when using IE7.
> Testcase:
> - go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
> - Enter any amount bigger than zero
> - The validation for a field of a hidden FormFragment displays an error message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1892) FormFragment validates non-displayed fragments (reopen)

Posted by "Carsten Maneg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429100#comment-13429100 ] 

Carsten Maneg commented on TAP5-1892:
-------------------------------------

Can't tell you exactly. Sorry, no time for testing a plain example.
Its a production bug (customer app) and I will use a workaround and remove tapestry validation by validate fields manually.

We are using a quite simple page with form (clientValidation=false) and 3 formfragments.
Validation is configured with annotation (@Validate) for required fields.
Even fragment fields are non-displayed they are validated.
                
> FormFragment validates non-displayed fragments (reopen)
> -------------------------------------------------------
>
>                 Key: TAP5-1892
>                 URL: https://issues.apache.org/jira/browse/TAP5-1892
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.1, 5.2.3
>            Reporter: Beat Durrer
>
> (The Issue TAP5-410 is closed, I cannot reopen it)
> Fields in FormFragments still get validated when using IE7.
> Testcase:
> - go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
> - Enter any amount bigger than zero
> - The validation for a field of a hidden FormFragment displays an error message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1892) FormFragment validates non-displayed fragments (reopen)

Posted by "Geoff Callender (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429077#comment-13429077 ] 

Geoff Callender commented on TAP5-1892:
---------------------------------------

I can't recreate this issue. I'm using IE8 with, and without, Compatibility mode. Are there other settings I need to apply?
                
> FormFragment validates non-displayed fragments (reopen)
> -------------------------------------------------------
>
>                 Key: TAP5-1892
>                 URL: https://issues.apache.org/jira/browse/TAP5-1892
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.1, 5.2.3
>            Reporter: Beat Durrer
>
> (The Issue TAP5-410 is closed, I cannot reopen it)
> Fields in FormFragments still get validated when using IE7.
> Testcase:
> - go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
> - Enter any amount bigger than zero
> - The validation for a field of a hidden FormFragment displays an error message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1892) FormFragment validates non-displayed fragments (reopen)

Posted by "Carsten Maneg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429100#comment-13429100 ] 

Carsten Maneg commented on TAP5-1892:
-------------------------------------

Can't tell you exactly. Sorry, no time for testing a plain example.
Its a production bug (customer app) and I will use a workaround and remove tapestry validation by validate fields manually.

We are using a quite simple page with form (clientValidation=false) and 3 formfragments.
Validation is configured with annotation (@Validate) for required fields.
Even fragment fields are non-displayed they are validated.
                
> FormFragment validates non-displayed fragments (reopen)
> -------------------------------------------------------
>
>                 Key: TAP5-1892
>                 URL: https://issues.apache.org/jira/browse/TAP5-1892
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.1, 5.2.3
>            Reporter: Beat Durrer
>
> (The Issue TAP5-410 is closed, I cannot reopen it)
> Fields in FormFragments still get validated when using IE7.
> Testcase:
> - go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
> - Enter any amount bigger than zero
> - The validation for a field of a hidden FormFragment displays an error message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1892) FormFragment validates non-displayed fragments (reopen)

Posted by "Carsten Maneg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429053#comment-13429053 ] 

Carsten Maneg commented on TAP5-1892:
-------------------------------------

Any activity on this issue?
Problem with IE 8 as well and affects version 5.3.4 (of course).
                
> FormFragment validates non-displayed fragments (reopen)
> -------------------------------------------------------
>
>                 Key: TAP5-1892
>                 URL: https://issues.apache.org/jira/browse/TAP5-1892
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.1, 5.2.3
>            Reporter: Beat Durrer
>
> (The Issue TAP5-410 is closed, I cannot reopen it)
> Fields in FormFragments still get validated when using IE7.
> Testcase:
> - go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
> - Enter any amount bigger than zero
> - The validation for a field of a hidden FormFragment displays an error message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TAP5-1892) FormFragment validates non-displayed fragments (reopen)

Posted by "Carsten Maneg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429053#comment-13429053 ] 

Carsten Maneg commented on TAP5-1892:
-------------------------------------

Any activity on this issue?
Problem with IE 8 as well and affects version 5.3.4 (of course).
                
> FormFragment validates non-displayed fragments (reopen)
> -------------------------------------------------------
>
>                 Key: TAP5-1892
>                 URL: https://issues.apache.org/jira/browse/TAP5-1892
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.1, 5.2.3
>            Reporter: Beat Durrer
>
> (The Issue TAP5-410 is closed, I cannot reopen it)
> Fields in FormFragments still get validated when using IE7.
> Testcase:
> - go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
> - Enter any amount bigger than zero
> - The validation for a field of a hidden FormFragment displays an error message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TAP5-1892) FormFragment validates non-displayed fragments (reopen)

Posted by "Beat Durrer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Beat Durrer updated TAP5-1892:
------------------------------

          Description: 
(The Issue TAP5-410 is closed, I cannot reopen it)

Fields in FormFragments still get validated when using IE7.

Testcase:
- go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
- Enter any amount bigger than zero
- The validation for a field of a hidden FormFragment displays an error message



  was:
A user of JumpStart pointed this out in the wizard that uses FormFragments http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/wizard/usingformfragments

In this wizard each step is a separate FormFragment.  The sequence to make it fail in IE 7 is: in step 1 enter a value and press Next, in step 2 (which is a different fragment) press Prev without entering a value, in step 1 press Next.  Kaboom! The validation error that is displayed belongs to step 2, not step 1.

This works fine in Safari 3.2.1 and Firefox 3.0.4 but not in IE 7.0.5730.13. [This statement is not true - see later comments].


    Affects Version/s:     (was: 5.0.18)
                           (was: 5.0.17)
                       5.2.1
                       5.2.3
    
> FormFragment validates non-displayed fragments (reopen)
> -------------------------------------------------------
>
>                 Key: TAP5-1892
>                 URL: https://issues.apache.org/jira/browse/TAP5-1892
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2.1, 5.2.3
>            Reporter: Beat Durrer
>
> (The Issue TAP5-410 is closed, I cannot reopen it)
> Fields in FormFragments still get validated when using IE7.
> Testcase:
> - go to http://jumpstart.doublenegative.com.au/jumpstart/examples/wizard/usingformfragments/
> - Enter any amount bigger than zero
> - The validation for a field of a hidden FormFragment displays an error message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira