You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2009/10/09 15:32:31 UTC

[jira] Commented: (NUTCH-757) RequestUtils getBooleanParameter() always returns false

    [ https://issues.apache.org/jira/browse/NUTCH-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764019#action_12764019 ] 

Andrzej Bialecki  commented on NUTCH-757:
-----------------------------------------

Fixed in rev. 823547 - special thanks for the comprehensive unit test!

> RequestUtils getBooleanParameter() always returns false
> -------------------------------------------------------
>
>                 Key: NUTCH-757
>                 URL: https://issues.apache.org/jira/browse/NUTCH-757
>             Project: Nutch
>          Issue Type: Bug
>          Components: searcher
>    Affects Versions: 1.0.0
>            Reporter: Niall Pemberton
>            Assignee: Andrzej Bialecki 
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: NUTCH-757-RequestUtils-boolean.patch
>
>
> RequestUtils getBooleanParameter() always returns false because it tests the name of the parameter rather than the value!
> You can see this problem with the Nutch webapp, if you try adding a "summary" parameter the summary is never included, whatever value you specify (either "1", "true" or "yes"

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