Bug 10112

Summary: Updating syntax highlighting for JavaScript/PHP in Kate to version 1.21 breaks php syntax highlighting
Product: Mageia Reporter: Filip Komar <filip.komar>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: balcaen.john, filip.komar, lmenut, mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: kate-4.10.2-3.mga3.i586 CVE:
Status comment:
Attachments: mga3 RC javascript-php.xml
syntax highlighting that produce error javascript-php.xml

Description Filip Komar 2013-05-15 18:44:34 CEST
Description of problem:
After updating syntax highlighting for JavaScript/PHP to version 1.21 and restarting Kate or Kwrite it complains with a dialog about error on loading syntax highlighting and it disable php syntax highlighting.


Version-Release number of selected component (if applicable):
Fresh install of mga3 RC and fully updated
kate-4.10.2-3.mga3.i586
~/.kde4/share/apps/katepart/syntax/javascript-php.xml (1.21)


How reproducible:
Always on load of Kate with updated syntax highlighting for JavaScript/PHP to version 1.21. Same with Kwrite.
After "rm ~/.kde4/share/apps/katepart/syntax/javascript-php.xml" they both work as before.

Steps to Reproduce:
1. starting Kate or Kwrite
2. updating syntax highlighting for JavaScript/PHP to version 1.21
3. restarting Kate or Kwrite
4. open any php file 
5. error dialog "Can't open" and another about error on loading syntax highlighting
6. disabled php syntax highlighting


Reproducible: 

Steps to Reproduce:
Comment 1 Filip Komar 2013-05-15 18:51:45 CEST
Created attachment 3979 [details]
mga3 RC javascript-php.xml

CC: (none) => filip.komar

Comment 2 Filip Komar 2013-05-15 18:52:58 CEST
Created attachment 3980 [details]
syntax highlighting that produce error javascript-php.xml
Manuel Hiebel 2013-05-24 23:25:56 CEST

CC: (none) => balcaen.john, lmenut, nicolas.lecureuil

Comment 3 Filip Komar 2013-06-09 19:47:41 CEST
Fixed with 1.22.

Status: NEW => RESOLVED
Resolution: (none) => FIXED