Bug #55358 [Opn->Csd]: Wrong error warning
| From: | irker@php.net | Date: | Fri, 16 Sep 2011 07:28:44 +0000 |
| Subject: | Bug #55358 [Opn->Csd]: Wrong error warning | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7198@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55358&edit=1
ID: 55358
User updated by: irker@php.net
Reported by: irker@php.net
Summary: Wrong error warning
-Status: Open
+Status: Closed
Type: Bug
Package: Online Doc Editor problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Fixed in rev. 316840
Previous Comments:
------------------------------------------------------------------------
[2011-09-05 14:04:44] irker@php.net
It seems errors were caused by other things.
Look here:
1) User (anonymous/authenticated) change english file and do not commit it (.new file created)
2) Lang user opens corresponding "needs update" file in his language.
3) After he opens file for translation he sees modified english file (the .new one) in the right
side and not in its original state (repository
version)
4) User translates wrong file
I suggest always open original file (not .new) in the right side with readonly flag. (Change
FilePanel and GetFileTask in ExtJS/server side?)
------------------------------------------------------------------------
[2011-09-04 07:00:39] yannick@php.net
Hi Irker,
I'm trying to understand this bug.
Could you please explain it in an others ways ?
The actual test done on a file on saving it is a XMLlint check to test if the
content of the file is a valid XML file. If isn't, an error is display, and the
file just can't by saved until the xml is wrong.
------------------------------------------------------------------------
[2011-08-04 06:37:43] irker@php.net
Description:
------------
1) english anonymous or user with account change english file. For example add in
this file few <para> tags
2) They NOT commit this file.
3) In local language part of site show error: wrong numbers of para tags.
I think site want to check file from repository, not from local working copy.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55358&edit=1