Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-757

RequestUtils getBooleanParameter() always returns false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.1
    • None
    • None
    • Patch Available

    Description

      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"

      Attachments

        Activity

          People

            ab Andrzej Bialecki
            niallp Niall Pemberton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: