[ 
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

        

Reply via email to