You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Brett Porter <br...@apache.org> on 2010/10/27 00:16:55 UTC

Re: svn commit: r994981 - in /continuum/trunk/continuum-xmlrpc: continuum-xmlrpc-api/src/main/mdo/continuum-service.xml continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml

Sorry, I know this is an old commit, I'd lost track of the folder :)

What's the implication of changing the model here for compatibility between 1.4.x servers and older clients? Or was that the bug - that the wrong element was returned?

- Brett

On 08/09/2010, at 8:51 PM, ctan@apache.org wrote:

> Author: ctan
> Date: Wed Sep  8 10:51:55 2010
> New Revision: 994981
> 
> URL: http://svn.apache.org/viewvc?rev=994981&view=rev
> Log:
> [CONTINUUM-2568] fixed exception when calling xmlrpc getReleaseResultsForProjectGroup
> 
> Modified:
>    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml
>    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml
> 
> Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml
> URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml?rev=994981&r1=994980&r2=994981&view=diff
> ==============================================================================
> --- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml (original)
> +++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml Wed Sep  8 10:51:55 2010
> @@ -1388,16 +1388,16 @@
>         </field>
>         <field>
>           <name>projectGroup</name>
> -          <version>1.1.1+</version>
> -          <association xml.reference="true" stash.part="true" jpox.dependent="false">
> -            <type>ProjectGroup</type>
> +          <version>1.4.1+</version>
> +          <association xml.reference="true">
> +            <type>ProjectGroupSummary</type>
>           </association>
>         </field>
>         <field>
>           <name>project</name>
> -          <version>1.1.1+</version>
> -          <association xml.reference="true" stash.part="true" jpox.dependent="false">
> -            <type>Project</type>
> +          <version>1.4.1+</version>
> +          <association xml.reference="true">
> +            <type>ProjectSummary</type>
>           </association>
>         </field>
>         <field>
> @@ -1405,6 +1405,11 @@
>           <version>1.1.1+</version>
>           <type>String</type>
>         </field>
> +        <field>
> +          <name>username</name>
> +          <version>1.4.1+</version>
> +          <type>String</type>
> +        </field>
>       </fields>
>     </class> 
>     <class>
> 
> Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml
> URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml?rev=994981&r1=994980&r2=994981&view=diff
> ==============================================================================
> --- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml (original)
> +++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml Wed Sep  8 10:51:55 2010
> @@ -246,13 +246,13 @@
>     <field>
>       <a>projectGroup</a>
>       <b>projectGroup</b>
> -      <a-hint>org.apache.maven.continuum.xmlrpc.project.ProjectGroup</a-hint>
> +      <a-hint>org.apache.maven.continuum.xmlrpc.project.ProjectGroupSummary</a-hint>
>       <b-hint>org.apache.maven.continuum.model.project.ProjectGroup</b-hint>
>     </field>
>     <field>
>       <a>project</a>
>       <b>project</b>
> -      <a-hint>org.apache.maven.continuum.xmlrpc.project.Project</a-hint>
> +      <a-hint>org.apache.maven.continuum.xmlrpc.project.ProjectSummary</a-hint>
>       <b-hint>org.apache.maven.continuum.model.project.Project</b-hint>
>     </field>
>   </mapping>
> 
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/


Re: svn commit: r994981 - in /continuum/trunk/continuum-xmlrpc: continuum-xmlrpc-api/src/main/mdo/continuum-service.xml continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml

Posted by Marica Tan <ma...@gmail.com>.
It's actually a bug because the getReleaseResultsForProjectGroup isn't
really working but throwing an exception


--
Marica

On Wed, Oct 27, 2010 at 6:16 AM, Brett Porter <br...@apache.org> wrote:

> Sorry, I know this is an old commit, I'd lost track of the folder :)
>
> What's the implication of changing the model here for compatibility between
> 1.4.x servers and older clients? Or was that the bug - that the wrong
> element was returned?
>
> - Brett
>
> On 08/09/2010, at 8:51 PM, ctan@apache.org wrote:
>
> > Author: ctan
> > Date: Wed Sep  8 10:51:55 2010
> > New Revision: 994981
> >
> > URL: http://svn.apache.org/viewvc?rev=994981&view=rev
> > Log:
> > [CONTINUUM-2568] fixed exception when calling xmlrpc
> getReleaseResultsForProjectGroup
> >
> > Modified:
> >
>  continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml
> >
>  continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml
> >
> > Modified:
> continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml
> > URL:
> http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml?rev=994981&r1=994980&r2=994981&view=diff
> >
> ==============================================================================
> > ---
> continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml
> (original)
> > +++
> continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/mdo/continuum-service.xml
> Wed Sep  8 10:51:55 2010
> > @@ -1388,16 +1388,16 @@
> >         </field>
> >         <field>
> >           <name>projectGroup</name>
> > -          <version>1.1.1+</version>
> > -          <association xml.reference="true" stash.part="true"
> jpox.dependent="false">
> > -            <type>ProjectGroup</type>
> > +          <version>1.4.1+</version>
> > +          <association xml.reference="true">
> > +            <type>ProjectGroupSummary</type>
> >           </association>
> >         </field>
> >         <field>
> >           <name>project</name>
> > -          <version>1.1.1+</version>
> > -          <association xml.reference="true" stash.part="true"
> jpox.dependent="false">
> > -            <type>Project</type>
> > +          <version>1.4.1+</version>
> > +          <association xml.reference="true">
> > +            <type>ProjectSummary</type>
> >           </association>
> >         </field>
> >         <field>
> > @@ -1405,6 +1405,11 @@
> >           <version>1.1.1+</version>
> >           <type>String</type>
> >         </field>
> > +        <field>
> > +          <name>username</name>
> > +          <version>1.4.1+</version>
> > +          <type>String</type>
> > +        </field>
> >       </fields>
> >     </class>
> >     <class>
> >
> > Modified:
> continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml
> > URL:
> http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml?rev=994981&r1=994980&r2=994981&view=diff
> >
> ==============================================================================
> > ---
> continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml
> (original)
> > +++
> continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/resources/dozerBeanMapping.xml
> Wed Sep  8 10:51:55 2010
> > @@ -246,13 +246,13 @@
> >     <field>
> >       <a>projectGroup</a>
> >       <b>projectGroup</b>
> > -
>  <a-hint>org.apache.maven.continuum.xmlrpc.project.ProjectGroup</a-hint>
> > +
>  <a-hint>org.apache.maven.continuum.xmlrpc.project.ProjectGroupSummary</a-hint>
> >
> <b-hint>org.apache.maven.continuum.model.project.ProjectGroup</b-hint>
> >     </field>
> >     <field>
> >       <a>project</a>
> >       <b>project</b>
> > -      <a-hint>org.apache.maven.continuum.xmlrpc.project.Project</a-hint>
> > +
>  <a-hint>org.apache.maven.continuum.xmlrpc.project.ProjectSummary</a-hint>
> >       <b-hint>org.apache.maven.continuum.model.project.Project</b-hint>
> >     </field>
> >   </mapping>
> >
> >
>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
>
>