Project

General

Profile

Actions

Defect #10576

closed

When editing a comment, when entering two quotes on the same line, the comment is lost

Added by Quentin Nerden almost 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Core Plugins
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

As admin, when editing a comment, if I enter text in the comment, with quotes, the whole comment is lost..

Repro steps.

Login as admin.
In a bug/task, click the edit button (pencil icon) next to a comment.
Add a new line and enter the text (including quotes):
"added comment"
Save
----> The comment is now: added comment. Everything else was lost.

Actions #1

Updated by Etienne Massip almost 12 years ago

  • Resolution set to Cant reproduce

Can't reproduce on trunk, could be a plugin issue?

Actions #2

Updated by Ján Regeš over 11 years ago

Hello.

I have better steps to reproduce this bug. We have Redmine 1.2.2 (and now, for us it's difficult to upgrade to newer version - we have too much custom modifications done by "dirty solutions" .. our upgrade is planned to the beginning of next year).

When on line is just text, which have quotes (") on start and end of line, only this one line (in quotes) is displayed. Nothing else (see example below). When you add before/after quotes some character or whitespace, everything is OK (whole text is displayed).

This is affected in preview and also in normal view of saved comment/text.

In current Redmine version 2.0.3 it works OK. It's possible to tell me, which commit/bugfix fixed it? We'll patch it.. Thank you.

Actions #3

Updated by Ján Regeš over 11 years ago

  • Assignee set to Etienne Massip

Hi Etienne.

Please, look at my previous post http://www.redmine.org/issues/10576#note-2

Actions #4

Updated by Etienne Massip over 11 years ago

  • Assignee deleted (Etienne Massip)

Please do not assign issue directly.

Actions #5

Updated by Etienne Massip over 11 years ago

Saw it but that could also be a plugin issue, I don't remember of such an issue since 1.3.

Actions #6

Updated by Alex Kosiaris over 11 years ago

Hello,

Maybe this isn't going to be much help but I can also reproduce it on 1.0.1 with absolutely no plugins installed. So I doubt it is a plugin issue.

Actions #7

Updated by Etienne Massip over 11 years ago

Can someone tell us if it triggers with 1.4.x?

Actions #8

Updated by Alex Kosiaris over 11 years ago

Hello,

Just downloaded two vm images from bitnami.org and tried

Redmine 1.3.2.stable (MySQL)
Redmine 1.4.4.stable (MySQL)

and failed to reproduce it in both cases. So I guess the issue was fixed somewhere between 1.2.2 and 1.3.2

That being said
git log --oneline 1.2.2..1.3.2 | wc -l

returns 2032 individual commits...

Actions #9

Updated by Etienne Massip over 11 years ago

  • Status changed from New to Closed

I close this issue since 1.4 is ok and previous versions are not maintained anymore.

Thank you for your feedback.

Actions #10

Updated by shravan kumar over 10 years ago

Hi,

I have same issue with quotes.

Last Name has quotes (O'last), this quote is displays in ASCII in IE and Firefox and in chrome it displays correct.

Can i know the reason.

I have installed Redmine 2.2.4

Actions

Also available in: Atom PDF