You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2005/10/06 15:26:47 UTC

[jira] Created: (FOR-705) Target of LocationMap rewriteDemo causes build failure when target not available

Target of LocationMap rewriteDemo causes build failure when target not available
--------------------------------------------------------------------------------

         Key: FOR-705
         URL: http://issues.apache.org/jira/browse/FOR-705
     Project: Forrest
        Type: Bug
  Components: Locationmap  
    Versions: 0.8-dev    
    Reporter: Gavin


Build fails when given target URL of rewriteDemo is not available (site down, no longer exists, incorrect URL typing etc).

For various reasons given in [1] and [2] this default feature should remain but alternative options should be made available. Possible solutions given in [3]

[1] http://marc.theaimsgroup.com/?l=forrest-dev&m=112826350500282

[2] http://marc.theaimsgroup.com/?l=forrest-dev&m=11270994920771

[3] http://marc.theaimsgroup.com/?l=forrest-dev&m=112859428219336&w=2



-- 
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-705) Target of LocationMap rewriteDemo causes build failure when target not available

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

Ross Gardler updated FOR-705:
-----------------------------

    Fix Version: 0.8-dev

> Target of LocationMap rewriteDemo causes build failure when target not available
> --------------------------------------------------------------------------------
>
>          Key: FOR-705
>          URL: http://issues.apache.org/jira/browse/FOR-705
>      Project: Forrest
>         Type: Bug
>   Components: Locationmap
>     Versions: 0.8-dev
>     Reporter: Gavin
>      Fix For: 0.8-dev

>
> Build fails when given target URL of rewriteDemo is not available (site down, no longer exists, incorrect URL typing etc).
> For various reasons given in [1] and [2] this default feature should remain but alternative options should be made available. Possible solutions given in [3]
> [1] http://marc.theaimsgroup.com/?l=forrest-dev&m=112826350500282
> [2] http://marc.theaimsgroup.com/?l=forrest-dev&m=11270994920771
> [3] http://marc.theaimsgroup.com/?l=forrest-dev&m=112859428219336&w=2

-- 
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-705) Target of LocationMap rewriteDemo causes build failure when target not available

Posted by "Tim Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Williams updated FOR-705:
-----------------------------

    Fix Version/s:     (was: 0.9-dev)
                   0.10

Moving to the .10 release.  I think this is an enhancement rather than a bug - as I understand the LM itself is working as designed.  The proposed fix, I think, isn't possible due to lack of context at that point in the processing.  

> Target of LocationMap rewriteDemo causes build failure when target not available
> --------------------------------------------------------------------------------
>
>                 Key: FOR-705
>                 URL: https://issues.apache.org/jira/browse/FOR-705
>             Project: Forrest
>          Issue Type: Bug
>          Components: Locationmap
>    Affects Versions: 0.8
>            Reporter: Gavin
>             Fix For: 0.10
>
>
> Build fails when given target URL of rewriteDemo is not available (site down, no longer exists, incorrect URL typing etc).
> For various reasons given in [1] and [2] this default feature should remain but alternative options should be made available. Possible solutions given in [3]
> [1] http://marc.theaimsgroup.com/?l=forrest-dev&m=112826350500282
> [2] http://marc.theaimsgroup.com/?l=forrest-dev&m=11270994920771
> [3] http://marc.theaimsgroup.com/?l=forrest-dev&m=112859428219336&w=2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FOR-705) Target of LocationMap rewriteDemo causes build failure when target not available

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

David Crossley updated FOR-705:
-------------------------------

    Fix Version: 0.9
                     (was: 0.8-dev)

> Target of LocationMap rewriteDemo causes build failure when target not available
> --------------------------------------------------------------------------------
>
>          Key: FOR-705
>          URL: http://issues.apache.org/jira/browse/FOR-705
>      Project: Forrest
>         Type: Bug

>   Components: Locationmap
>     Versions: 0.8-dev
>     Reporter: Gavin
>      Fix For: 0.9

>
> Build fails when given target URL of rewriteDemo is not available (site down, no longer exists, incorrect URL typing etc).
> For various reasons given in [1] and [2] this default feature should remain but alternative options should be made available. Possible solutions given in [3]
> [1] http://marc.theaimsgroup.com/?l=forrest-dev&m=112826350500282
> [2] http://marc.theaimsgroup.com/?l=forrest-dev&m=11270994920771
> [3] http://marc.theaimsgroup.com/?l=forrest-dev&m=112859428219336&w=2

-- 
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-705) Target of LocationMap rewriteDemo causes build failure when target not available

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

Tim Williams commented on FOR-705:
----------------------------------

I don't have time to look into the best way to fix this right now - maybe this comment will spark some thoughts.  

I'm pretty sure this is happening because the match for the rewrite is in the project-level locationmap and the project-level locationmap is being mounted within a selector.  So when results come back from it, they are coming back through the SelectNode, which, obviously, uses the selector to determine existence and only returns successful ones e.g.:

              if (m_selector.select(location,om,parameters)) {
                  debug("Selected: " + location);
                  return location;
              } else {
                  debug("Not selected: " + location);
              }

When the match is a bum URL, even though location is string is properly retrieved, it will never make it all the way back up because of the selector logic. 

Since I'm having to work with very small fragments of time when I can get them, I'm going to rely on comments like this to remind me where I'm at when I get back to it. 
--tim

> Target of LocationMap rewriteDemo causes build failure when target not available
> --------------------------------------------------------------------------------
>
>          Key: FOR-705
>          URL: http://issues.apache.org/jira/browse/FOR-705
>      Project: Forrest
>         Type: Bug

>   Components: Locationmap
>     Versions: 0.8-dev
>     Reporter: Gavin
>      Fix For: 0.8-dev

>
> Build fails when given target URL of rewriteDemo is not available (site down, no longer exists, incorrect URL typing etc).
> For various reasons given in [1] and [2] this default feature should remain but alternative options should be made available. Possible solutions given in [3]
> [1] http://marc.theaimsgroup.com/?l=forrest-dev&m=112826350500282
> [2] http://marc.theaimsgroup.com/?l=forrest-dev&m=11270994920771
> [3] http://marc.theaimsgroup.com/?l=forrest-dev&m=112859428219336&w=2

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