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

Not correct behavior on reply on the message.

VotersWatchers
    XMLWordPrintable

    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

            Structure

              Activity

                People

                • Assignee:
                  odanee Olga Danieloff
                  Reporter:
                  phoenix Eugeny Batov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 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