You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Kamil M&#281;trak (JIRA)" <ji...@codehaus.org> on 2009/11/06 14:44:55 UTC

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

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&#281;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] Commented: (MRM-1274) SearchService.quickSearch returns artifacts with null as repositoryId

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ 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&#281;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] Updated: (MRM-1274) SearchService.quickSearch returns artifacts with null as repositoryId

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ 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:     (was: 1.2.3)
                   1.3

> 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&#281;trak
>            Assignee: Maria Odea Ching
>             Fix For: 1.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

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ 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&#281;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] Updated: (MRM-1274) SearchService.quickSearch returns artifacts with null as repositoryId

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ 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&#281;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