php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55358 Wrong error warning
Submitted: 2011-08-04 06:37 UTC Modified: 2011-09-16 07:28 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: irker@php.net Assigned:
Status: Closed Package: Online Doc Editor problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: irker@php.net
New email:
PHP Version: OS:

 

 [2011-08-04 06:37 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-04 07:00 UTC] 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-09-05 14:04 UTC] 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-16 07:28 UTC] irker@php.net
-Status: Open +Status: Closed
 [2011-09-16 07:28 UTC] irker@php.net
Fixed in rev. 316840
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC