Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13339

Search error results in two displayed messages

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.1.1
    • 3.1.13-RC1
    • Search
    • None
    • PostgreSQL 9.3.5 on x86_64-redhat-linux-gnu (Fedora 20), 64-bit, Firefox 31.0

    Description

      Using a 15 character search term and (no wildcard) of "123456789012345" results in an error, which is expected behavior. However two conflicting error messages are displayed:

      The following words in your search query were ignored because they are too common words: 123456789012345.
      You must specify at least one word to search for. Each word must consist of at least 3 characters and must not contain more than 14 characters excluding wildcards.

      If a search was performed, the error message should be "The following words in your search query were ignored because they are too common words:"

      If a search was not performed, the error message should be "You must specify at least one word to search for. Each word must consist of at least 3 characters and must not contain more than 14 characters excluding wildcards."

      There should only be one error message displayed.

      This bug is a fork from discussion of bug #12933 (https://tracker.phpbb.com/browse/PHPBB3-12933)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Lady_G Lady_G
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: