[jira] Created: (MRM-1274) SearchService.quickSearch returns artifacts with null as repositoryId

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (MRM-1274) SearchService.quickSearch returns artifacts with null as repositoryId

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

SearchService.quickSearch returns artifacts with null as repositoryId
---------------------------------------------------------------------

                 Key: MRM-1274
                 URL: http://jira.codehaus.org/browse/MRM-1274
             Project: Archiva
          Issue Type: Bug
          Components: xmlrpc
    Affects Versions: 1.2.2
         Environment: Tomcat 6.0.20
            Reporter: Kamil Mętrak


Executing following code results getting null's


List<Artifact> list = searchService.quickSearch("test");
for(Artifact a:list){
    System.out.println(a.getRepositoryId());
}

--
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-1274) SearchService.quickSearch returns artifacts with null as repositoryId

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MRM-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching updated MRM-1274:
----------------------------------

    Fix Version/s: 1.2.3
         Assignee: Maria Odea Ching

> SearchService.quickSearch returns artifacts with null as repositoryId
> ---------------------------------------------------------------------
>
>                 Key: MRM-1274
>                 URL: http://jira.codehaus.org/browse/MRM-1274
>             Project: Archiva
>          Issue Type: Bug
>          Components: xmlrpc
>    Affects Versions: 1.2.2
>         Environment: Tomcat 6.0.20
>            Reporter: Kamil Mętrak
>            Assignee: Maria Odea Ching
>             Fix For: 1.2.3
>
>
> Executing following code results getting null's
> List<Artifact> list = searchService.quickSearch("test");
> for(Artifact a:list){
>     System.out.println(a.getRepositoryId());
> }

--
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-1274) SearchService.quickSearch returns artifacts with null as repositoryId

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MRM-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197659#action_197659 ]

Maria Odea Ching commented on MRM-1274:
---------------------------------------

Need to verify if this has been fixed by MRM-1230.

> SearchService.quickSearch returns artifacts with null as repositoryId
> ---------------------------------------------------------------------
>
>                 Key: MRM-1274
>                 URL: http://jira.codehaus.org/browse/MRM-1274
>             Project: Archiva
>          Issue Type: Bug
>          Components: xmlrpc
>    Affects Versions: 1.2.2
>         Environment: Tomcat 6.0.20
>            Reporter: Kamil Mętrak
>            Assignee: Maria Odea Ching
>             Fix For: 1.2.3
>
>
> Executing following code results getting null's
> List<Artifact> list = searchService.quickSearch("test");
> for(Artifact a:list){
>     System.out.println(a.getRepositoryId());
> }

--
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-1274) SearchService.quickSearch returns artifacts with null as repositoryId

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MRM-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching closed MRM-1274.
---------------------------------

    Resolution: Fixed

Fixed in trunk [-r883046|http://svn.apache.org/viewvc?revision=883046&view=revision] with the following changes:
* get repo id from db since it's not set in search result
* set repositoryId as bean field in Artifact obj so it's included when bean is converted
* updated unit tests

> SearchService.quickSearch returns artifacts with null as repositoryId
> ---------------------------------------------------------------------
>
>                 Key: MRM-1274
>                 URL: http://jira.codehaus.org/browse/MRM-1274
>             Project: Archiva
>          Issue Type: Bug
>          Components: xmlrpc
>    Affects Versions: 1.2.2
>         Environment: Tomcat 6.0.20
>            Reporter: Kamil Mętrak
>            Assignee: Maria Odea Ching
>             Fix For: 1.2.3
>
>
> Executing following code results getting null's
> List<Artifact> list = searchService.quickSearch("test");
> for(Artifact a:list){
>     System.out.println(a.getRepositoryId());
> }

--
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