Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-150

Not correct behavior on reply on the message.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.17
    • Labels:
      None

      Description

      You should have two users, for example, user1 and user2.
      Steps to reproduce:
      1. Login as user1 and send private message(pm further) to user2. Let the message body will be "message".
      2. Relogin as user2, go to pm, choose last pm from user1 and push on "Quote" button.
      Expected result:
      message body is >>message
      Actual result:
      message body is <message
      3. Start a new line and write "answer". Send message. Relogin as user1, go to pm, choose last pm from user2.
      Expected result:
      >>message
      answer
      Actual result:
      <message answer
      4. Push on "Quote" button.
      Expected result:
      >>message
      >>answer
      Actual result:
      <<message answer
      ----------------------------------------
      Quote example

      each new line beginning with ">":
      >>>> some text1
      >>> reply
      >> reply
      > reply
      current message

      need to add the space between ">" and line if there is not ">" or space in the start of the line:
      input — "line"
      output — "> line"
      ------------------------------------------------
      Test case
      http://jtalks.org/display/jcommune/TC-JC-16+Creating+and+sending+new+personal+message

        Attachments

          Issue Links

            Activity

            Hide
            alexandreteterin@gmail.com Alexandre Teterin added a comment -

            Code review

            Show
            alexandreteterin@gmail.com Alexandre Teterin added a comment - Code review
            Hide
            jk1 Evgeniy Naumenko added a comment -

            Reopened after code review

            Show
            jk1 Evgeniy Naumenko added a comment - Reopened after code review
            Hide
            jk1 Evgeniy Naumenko added a comment -

            reviewed and validated

            Show
            jk1 Evgeniy Naumenko added a comment - reviewed and validated
            Hide
            odanee Olga Danieloff added a comment -

            On the second step actual result is "> message" instead of expected ">>message".

            On the third step actual result is "> message answer"

            On the fourth step actual result is:
            >> message
            > answer
            instead of:
            >>message
            >>answer

            Show
            odanee Olga Danieloff added a comment - On the second step actual result is "> message" instead of expected ">>message". On the third step actual result is "> message answer" On the fourth step actual result is: >> message > answer instead of: >>message >>answer
            Hide
            odanee Olga Danieloff added a comment -

            Bug reopened due the inequality of actual and expected results.

            Show
            odanee Olga Danieloff added a comment - Bug reopened due the inequality of actual and expected results.
            Hide
            alexandreteterin@gmail.com Alexandre Teterin added a comment -

            I try to quote (3 times) message. I have got the next result http://bit.ly/oC4Vmm. Could you describe steps for getting your result?

            Show
            alexandreteterin@gmail.com Alexandre Teterin added a comment - I try to quote (3 times) message. I have got the next result http://bit.ly/oC4Vmm . Could you describe steps for getting your result?
            Hide
            odanee Olga Danieloff added a comment -

            verified

            Show
            odanee Olga Danieloff added a comment - verified

              People

              • Assignee:
                odanee Olga Danieloff
                Reporter:
                phoenix Eugeny Batov
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.4h
                  2.4h

                    Structure Helper Panel