You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/05/30 06:35:58 UTC

[jira] Created: (MRM-392) pressing 'return' in the blacklist/whitelist form field submits whole form and validates, not pressing associated button

pressing 'return' in the blacklist/whitelist form field submits whole form and validates, not pressing associated button
------------------------------------------------------------------------------------------------------------------------

                 Key: MRM-392
                 URL: http://jira.codehaus.org/browse/MRM-392
             Project: Archiva
          Issue Type: Bug
          Components: web application
    Affects Versions: 1.0-alpha-1
            Reporter: Brett Porter
            Priority: Minor


- add a proxy connector
- don't fill in any fields
- type "foo" into blacklist field
- press return

EXPECTED: add foo to blacklist
ACTUAL: submits form, gives validation errors

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Work started: (MRM-392) pressing 'return' in the blacklist/whitelist form field submits whole form and validates, not pressing associated button

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MRM-392 started by Maria Odea Ching.

> pressing 'return' in the blacklist/whitelist form field submits whole form and validates, not pressing associated button
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-392
>                 URL: http://jira.codehaus.org/browse/MRM-392
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Brett Porter
>            Assignee: Maria Odea Ching
>            Priority: Critical
>             Fix For: 1.0-beta-2
>
>
> - add a proxy connector
> - don't fill in any fields
> - type "foo" into blacklist field
> - press return
> EXPECTED: add foo to blacklist
> ACTUAL: submits form, gives validation errors

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRM-392) pressing 'return' in the blacklist/whitelist form field submits whole form and validates, not pressing associated button

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching closed MRM-392.
--------------------------------

    Resolution: Fixed

Fixed in -r571430, with the following changes in archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editProxyConnector.jsp:

- Added javascript function for submitting the form to a specific action depending on which textfield the onKeyPress event was invoked  
- Added onkeypress action to the property, blacklist pattern and whitelist pattern textfields



> pressing 'return' in the blacklist/whitelist form field submits whole form and validates, not pressing associated button
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-392
>                 URL: http://jira.codehaus.org/browse/MRM-392
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Brett Porter
>            Assignee: Maria Odea Ching
>            Priority: Critical
>             Fix For: 1.0-beta-2
>
>
> - add a proxy connector
> - don't fill in any fields
> - type "foo" into blacklist field
> - press return
> EXPECTED: add foo to blacklist
> ACTUAL: submits form, gives validation errors

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-392) pressing 'return' in the blacklist/whitelist form field submits whole form and validates, not pressing associated button

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-392:
---------------------------------

    Fix Version/s:     (was: 1.0.x)
                   1.0-beta-2

> pressing 'return' in the blacklist/whitelist form field submits whole form and validates, not pressing associated button
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MRM-392
>                 URL: http://jira.codehaus.org/browse/MRM-392
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Brett Porter
>            Priority: Critical
>             Fix For: 1.0-beta-2
>
>
> - add a proxy connector
> - don't fill in any fields
> - type "foo" into blacklist field
> - press return
> EXPECTED: add foo to blacklist
> ACTUAL: submits form, gives validation errors

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira