You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Ross Gardler (JIRA)" <ji...@apache.org> on 2005/10/21 00:48:44 UTC

[jira] Created: (FOR-712) Can't mount locationmaps from a mounted locationmap

Can't mount locationmaps from a mounted locationmap
---------------------------------------------------

         Key: FOR-712
         URL: http://issues.apache.org/jira/browse/FOR-712
     Project: Forrest
        Type: Bug
  Components: Locationmap  
    Reporter: Ross Gardler
     Fix For: 0.8-dev


It seems that we cannot mount a locationmap from within another mounted locationmap. That is, mounting only works in the root sitemap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (FOR-712) Can't mount locationmaps from a mounted locationmap

Posted by Ross Gardler <rg...@apache.org>.
Tim Williams wrote:
>>    [ http://issues.apache.org/jira/browse/FOR-712?page=comments#action_12355753 ]
>>
>>Ross Gardler commented on FOR-712:
>>----------------------------------
>>
>>The specific thing I was trying to do was in the projectInfo plugin. Here we have a locationmap provided by the plugin. I want to mount another locationmap from there, e.g. the plugin locationmap mounts locationmap-descriptors.xml (also provided by the plugin).
>>
>>I've not done exhoustive tests on this, just observed that the second mount was not being processed according to the logs.
> 
> 
> I can successfully mount sub-lm's from a plugin-mounted lm here in
> just the way you describe.  I don't see your scenario in SVN so I
> assume it's a local work not checked in yet?  If you check it in, I'll
> take a look and try to understand the issue.

It's not in SVN because I couldn't get it to work. I've used an 
alternative solution now, which is checked in (uses project locationmap 
for the information I wanted to mount).

If you've made it work then it implies I was doing something stupid 
(wouldn't be the first time in the last few days as David will atest 
to). I'll look into it again when I have time.

Ross

Re: [jira] Commented: (FOR-712) Can't mount locationmaps from a mounted locationmap

Posted by Tim Williams <wi...@gmail.com>.
Taking this discussion on list from JIRA... after we get it resolved,
I can paste the link to this thread back in...

On 10/25/05, Ross Gardler (JIRA) <ji...@apache.org> wrote:
>     [ http://issues.apache.org/jira/browse/FOR-712?page=comments#action_12355753 ]
>
> Ross Gardler commented on FOR-712:
> ----------------------------------
>
> The specific thing I was trying to do was in the projectInfo plugin. Here we have a locationmap provided by the plugin. I want to mount another locationmap from there, e.g. the plugin locationmap mounts locationmap-descriptors.xml (also provided by the plugin).
>
> I've not done exhoustive tests on this, just observed that the second mount was not being processed according to the logs.

I can successfully mount sub-lm's from a plugin-mounted lm here in
just the way you describe.  I don't see your scenario in SVN so I
assume it's a local work not checked in yet?  If you check it in, I'll
take a look and try to understand the issue.
--tim




>
>
> > Can't mount locationmaps from a mounted locationmap
> > ---------------------------------------------------
> >
> >          Key: FOR-712
> >          URL: http://issues.apache.org/jira/browse/FOR-712
> >      Project: Forrest
> >         Type: Bug
> >   Components: Locationmap
> >     Reporter: Ross Gardler
> >      Fix For: 0.8-dev
>
> >
> > It seems that we cannot mount a locationmap from within another mounted locationmap. That is, mounting only works in the root sitemap.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>

[jira] Commented: (FOR-712) Can't mount locationmaps from a mounted locationmap

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-712?page=comments#action_12355753 ] 

Ross Gardler commented on FOR-712:
----------------------------------

The specific thing I was trying to do was in the projectInfo plugin. Here we have a locationmap provided by the plugin. I want to mount another locationmap from there, e.g. the plugin locationmap mounts locationmap-descriptors.xml (also provided by the plugin).

I've not done exhoustive tests on this, just observed that the second mount was not being processed according to the logs.






> Can't mount locationmaps from a mounted locationmap
> ---------------------------------------------------
>
>          Key: FOR-712
>          URL: http://issues.apache.org/jira/browse/FOR-712
>      Project: Forrest
>         Type: Bug
>   Components: Locationmap
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> It seems that we cannot mount a locationmap from within another mounted locationmap. That is, mounting only works in the root sitemap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FOR-712) Can't mount locationmaps from a mounted locationmap

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-712?page=all ]

Ross Gardler updated FOR-712:
-----------------------------

    Priority: Minor  (was: Major)

This was discussed onlist and Tim assures me that it is possible so it may well have been a stupid mistake on my part. Need to berify this.

In the meantime I've reduced the importance.

> Can't mount locationmaps from a mounted locationmap
> ---------------------------------------------------
>
>          Key: FOR-712
>          URL: http://issues.apache.org/jira/browse/FOR-712
>      Project: Forrest
>         Type: Bug
>   Components: Locationmap
>     Reporter: Ross Gardler
>     Priority: Minor
>      Fix For: 0.8-dev

>
> It seems that we cannot mount a locationmap from within another mounted locationmap. That is, mounting only works in the root sitemap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-712) Can't mount locationmaps from a mounted locationmap

Posted by "Tim Williams (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-712?page=comments#action_12355747 ] 

Tim Williams commented on FOR-712:
----------------------------------

Is anyone else seeing this?  This is actually how plugin locationmaps are implemented:
root-lm
->(mounts)plugins/locationmaps
- - > plugin-locationmap(mounts)/plugin-specific-locationmap

If this isn't the scenario, can you give more information?  I've also done a couple of simple tests on more than one lm in a project and all is well.  

You've probably already done this but you should also make sure that all used components (e.g. selectors) are declared -- this would obviously make the mount fail.

--tim

> Can't mount locationmaps from a mounted locationmap
> ---------------------------------------------------
>
>          Key: FOR-712
>          URL: http://issues.apache.org/jira/browse/FOR-712
>      Project: Forrest
>         Type: Bug
>   Components: Locationmap
>     Reporter: Ross Gardler
>      Fix For: 0.8-dev

>
> It seems that we cannot mount a locationmap from within another mounted locationmap. That is, mounting only works in the root sitemap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (FOR-712) Can't mount locationmaps from a mounted locationmap

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-712?page=all ]
     
Ross Gardler resolved FOR-712:
------------------------------

    Resolution: Cannot Reproduce

> Can't mount locationmaps from a mounted locationmap
> ---------------------------------------------------
>
>          Key: FOR-712
>          URL: http://issues.apache.org/jira/browse/FOR-712
>      Project: Forrest
>         Type: Bug
>   Components: Locationmap
>     Reporter: Ross Gardler
>     Priority: Minor
>      Fix For: 0.8-dev

>
> It seems that we cannot mount a locationmap from within another mounted locationmap. That is, mounting only works in the root sitemap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira