Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-24559

Forums - Count words/Update word count counts extra spaces as words

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.7.1, 2.8.0
    • Component/s: Messages Tool
    • Labels:
      None
    • Environment:
      sakai-2.7.0-rc01 QA on Oracle - Built: 05/28/10 13:02 - Sakai sakai-2.7.0-rc01 - Server qa3-us
      Win7; IE8, FF3
    • Previous Issue Keys:
      MSGCNTR-322

      Description

      http://qa3-us.sakaiproject.org:8086/portal/site/a7c66f29-1c46-4700-9bba-0c816828f9ad/page/e8aa4695-05fb-4003-aec7-cddfe222dbee
      Similar to http://jira.sakaiproject.org/browse/MSGCNTR-246

      Trim function should be used on text to get rid of extra whitespace before/after message text instead of counting spaces as extra words.

      To reproduce:
      1) Click on post new thread in a forum
      2) Start entering text in the textbox
      3) Add an extra space after the text
      4) Click on Count words - count is 1 higher than actual words in box

      See attachment for screenshots when there is extra space after and/or before text.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                maintenanceteam Core Team
                Reporter:
                agschmidt Andrea Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code