You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Napoleon Esmundo C. Ramirez (JIRA)" <ji...@codehaus.org> on 2007/05/08 14:15:12 UTC

[jira] Created: (MRM-326) Adding/Editing repositories doesn't have validation

Adding/Editing repositories doesn't have validation
---------------------------------------------------

                 Key: MRM-326
                 URL: http://jira.codehaus.org/browse/MRM-326
             Project: Archiva
          Issue Type: Bug
          Components: web application
            Reporter: Napoleon Esmundo C. Ramirez


To replicate:

A. Adding a repository
1. Click the Repositories link in the left navigation menu
2. Click the Add Repository link in the upper right part of the page
3. Enter invalid values in Identifier, Name, Directory or URL, empty Strings
4. Click the Add Repository button

Result: Repositories Administration page is displayed, no repository is added
Expected Result: Validation errors

B. Editing a repository
1. Click the Repositories link in the left navigation menu
2. Click the Edit Repository link in the same row as the repository's header
3. Enter invalid values in Name, Directory or URL, empty Strings and using default values for Type and Cron
4. Click the Update Repository button

Result: Repositories Administration page displayed, repository is updated
Expected Result: 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] Commented: (MRM-326) Adding/Editing repositories doesn't have validation

Posted by "Napoleon Esmundo C. Ramirez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95372 ] 

Napoleon Esmundo C. Ramirez commented on MRM-326:
-------------------------------------------------

Though adding a repository using invalid values appears to be harmless, no repository added, it should still notify the user of invalid inputs.

> Adding/Editing repositories doesn't have validation
> ---------------------------------------------------
>
>                 Key: MRM-326
>                 URL: http://jira.codehaus.org/browse/MRM-326
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>            Reporter: Napoleon Esmundo C. Ramirez
>
> To replicate:
> A. Adding a repository
> 1. Click the Repositories link in the left navigation menu
> 2. Click the Add Repository link in the upper right part of the page
> 3. Enter invalid values in Identifier, Name, Directory or URL, empty Strings
> 4. Click the Add Repository button
> Result: Repositories Administration page is displayed, no repository is added
> Expected Result: Validation errors
> B. Editing a repository
> 1. Click the Repositories link in the left navigation menu
> 2. Click the Edit Repository link in the same row as the repository's header
> 3. Enter invalid values in Name, Directory or URL, empty Strings and using default values for Type and Cron
> 4. Click the Update Repository button
> Result: Repositories Administration page displayed, repository is updated
> Expected Result: 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-326) Adding/Editing repositories doesn't have validation

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

Maria Odea Ching closed MRM-326.
--------------------------------

    Resolution: Fixed

Applied patch in trunk, -r558904. 

Thanks! :)

> Adding/Editing repositories doesn't have validation
> ---------------------------------------------------
>
>                 Key: MRM-326
>                 URL: http://jira.codehaus.org/browse/MRM-326
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Napoleon Esmundo C. Ramirez
>            Assignee: Maria Odea Ching
>             Fix For: 1.0.x
>
>         Attachments: MRM-326-archiva-webapp.patch
>
>
> To replicate:
> A. Adding a repository
> 1. Click the Repositories link in the left navigation menu
> 2. Click the Add Repository link in the upper right part of the page
> 3. Enter invalid values in Identifier, Name, Directory or URL, empty Strings
> 4. Click the Add Repository button
> Result: Repositories Administration page is displayed, no repository is added
> Expected Result: Validation errors
> B. Editing a repository
> 1. Click the Repositories link in the left navigation menu
> 2. Click the Edit Repository link in the same row as the repository's header
> 3. Enter invalid values in Name, Directory or URL, empty Strings and using default values for Type and Cron
> 4. Click the Update Repository button
> Result: Repositories Administration page displayed, repository is updated
> Expected Result: 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-326) Adding/Editing repositories doesn't have validation

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

jan ancajas updated MRM-326:
----------------------------

    Attachment: MRM-326-archiva-webapp.patch

attached patch.

opt to use server side validations. (error messages in javascript are accumulated)

> Adding/Editing repositories doesn't have validation
> ---------------------------------------------------
>
>                 Key: MRM-326
>                 URL: http://jira.codehaus.org/browse/MRM-326
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Napoleon Esmundo C. Ramirez
>             Fix For: 1.0-alpha-2
>
>         Attachments: MRM-326-archiva-webapp.patch
>
>
> To replicate:
> A. Adding a repository
> 1. Click the Repositories link in the left navigation menu
> 2. Click the Add Repository link in the upper right part of the page
> 3. Enter invalid values in Identifier, Name, Directory or URL, empty Strings
> 4. Click the Add Repository button
> Result: Repositories Administration page is displayed, no repository is added
> Expected Result: Validation errors
> B. Editing a repository
> 1. Click the Repositories link in the left navigation menu
> 2. Click the Edit Repository link in the same row as the repository's header
> 3. Enter invalid values in Name, Directory or URL, empty Strings and using default values for Type and Cron
> 4. Click the Update Repository button
> Result: Repositories Administration page displayed, repository is updated
> Expected Result: 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-326) Adding/Editing repositories doesn't have validation

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

Maria Odea Ching updated MRM-326:
---------------------------------

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

> Adding/Editing repositories doesn't have validation
> ---------------------------------------------------
>
>                 Key: MRM-326
>                 URL: http://jira.codehaus.org/browse/MRM-326
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Napoleon Esmundo C. Ramirez
>            Assignee: Maria Odea Ching
>             Fix For: 1.0-beta-1
>
>         Attachments: MRM-326-archiva-webapp.patch
>
>
> To replicate:
> A. Adding a repository
> 1. Click the Repositories link in the left navigation menu
> 2. Click the Add Repository link in the upper right part of the page
> 3. Enter invalid values in Identifier, Name, Directory or URL, empty Strings
> 4. Click the Add Repository button
> Result: Repositories Administration page is displayed, no repository is added
> Expected Result: Validation errors
> B. Editing a repository
> 1. Click the Repositories link in the left navigation menu
> 2. Click the Edit Repository link in the same row as the repository's header
> 3. Enter invalid values in Name, Directory or URL, empty Strings and using default values for Type and Cron
> 4. Click the Update Repository button
> Result: Repositories Administration page displayed, repository is updated
> Expected Result: 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