You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Tim Williams (JIRA)" <ji...@apache.org> on 2005/07/17 05:34:09 UTC

[jira] Created: (FOR-576) Locationmap selector not working

Locationmap selector not working
--------------------------------

         Key: FOR-576
         URL: http://issues.apache.org/jira/browse/FOR-576
     Project: Forrest
        Type: Bug
  Components: Locationmap  
    Versions: 0.8-dev    
    Reporter: Tim Williams
 Attachments: for-576.patch

The locationmap's ability to use a selector doesn't work.  It is intended to work like:
<match pattern="xyz">
  <select>
       <location src="somelocationA"/>
       <location src="somelocationB"/>
  </select>
</match>

The problem appears to be that the selector isn't serviced when it's processed/created.  This results in the resolver never being set in the SourceExistsSelector.  I tried Cocoon's ResourceExistsSelector as well with the same result.   

-- 
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-576) Locationmap selector not working

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

Tim Williams updated FOR-576:
-----------------------------

    Attachment: for-576.patch

A path to createComponent in LocationMap.java that services components after they're created.  Testing afterwards included both SourceExistsSelector and Cocoon's ResourceExistsSelector and they both appear to work.

--tim


> Locationmap selector not working
> --------------------------------
>
>          Key: FOR-576
>          URL: http://issues.apache.org/jira/browse/FOR-576
>      Project: Forrest
>         Type: Bug
>   Components: Locationmap
>     Versions: 0.8-dev
>     Reporter: Tim Williams
>  Attachments: for-576.patch
>
> The locationmap's ability to use a selector doesn't work.  It is intended to work like:
> <match pattern="xyz">
>   <select>
>        <location src="somelocationA"/>
>        <location src="somelocationB"/>
>   </select>
> </match>
> The problem appears to be that the selector isn't serviced when it's processed/created.  This results in the resolver never being set in the SourceExistsSelector.  I tried Cocoon's ResourceExistsSelector as well with the same result.   

-- 
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] Closed: (FOR-576) Locationmap selector not working

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

    Fix Version: 0.8-dev
     Resolution: Fixed

Applied patch that resolved the issue.
--tim

> Locationmap selector not working
> --------------------------------
>
>          Key: FOR-576
>          URL: http://issues.apache.org/jira/browse/FOR-576
>      Project: Forrest
>         Type: Bug
>   Components: Locationmap
>     Versions: 0.8-dev
>     Reporter: Tim Williams
>     Assignee: Tim Williams
>      Fix For: 0.8-dev
>  Attachments: for-576.patch
>
> The locationmap's ability to use a selector doesn't work.  It is intended to work like:
> <match pattern="xyz">
>   <select>
>        <location src="somelocationA"/>
>        <location src="somelocationB"/>
>   </select>
> </match>
> The problem appears to be that the selector isn't serviced when it's processed/created.  This results in the resolver never being set in the SourceExistsSelector.  I tried Cocoon's ResourceExistsSelector as well with the same result.   

-- 
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] Assigned: (FOR-576) Locationmap selector not working

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

Tim Williams reassigned FOR-576:
--------------------------------

    Assign To: Tim Williams

> Locationmap selector not working
> --------------------------------
>
>          Key: FOR-576
>          URL: http://issues.apache.org/jira/browse/FOR-576
>      Project: Forrest
>         Type: Bug
>   Components: Locationmap
>     Versions: 0.8-dev
>     Reporter: Tim Williams
>     Assignee: Tim Williams
>  Attachments: for-576.patch
>
> The locationmap's ability to use a selector doesn't work.  It is intended to work like:
> <match pattern="xyz">
>   <select>
>        <location src="somelocationA"/>
>        <location src="somelocationB"/>
>   </select>
> </match>
> The problem appears to be that the selector isn't serviced when it's processed/created.  This results in the resolver never being set in the SourceExistsSelector.  I tried Cocoon's ResourceExistsSelector as well with the same result.   

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