You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Sivan Barzilay (JIRA)" <ji...@apache.org> on 2010/12/23 12:32:01 UTC

[jira] Commented: (ABDERA-276) DefaultProvider doesn't properly handle parameters in base routes

    [ https://issues.apache.org/jira/browse/ABDERA-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974604#action_12974604 ] 

Sivan Barzilay commented on ABDERA-276:
---------------------------------------

For a quick fix, replace the methods urlFor(RequestContext context, Object key, Object param) and getContext(Object param) in the file RouteManager.java with the 0.4.0 version.

> DefaultProvider doesn't properly handle parameters in base routes
> -----------------------------------------------------------------
>
>                 Key: ABDERA-276
>                 URL: https://issues.apache.org/jira/browse/ABDERA-276
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 1.0, 1.1, 1.1.1
>            Reporter: Sivan Barzilay
>             Fix For: 0.4.0
>
>
> The problem occurs in load, when calling AbstractCollectionAdapter.getHref(RequestContext request), which calls request.urlFor("feed", hrefParams). The hrefParams map is cleared and not properly initialized, resulting in it being empty and so the request cannot be routed properly.
> The bug was fixed in 0.4.0 but seems to be reintrocued in later versions.

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