Community
Participate
Working Groups
Build Identifier: I20110526-1708 Typing a less than character before a <?php open tag, to insert a new HTML element, causes the editor to die (various parts go blank) and typing anything is garbled. If you save and reload eclipse, it will have created invalid HTML which generally crashes the PHP editor due to the incorrect HTML syntax (it appears that this full editor crash only sometimes happens with small files like this example, but happens every single time with larger and more complex templates, the top of the backtrace always has methods referring to schema validation). Reproducible: Always Steps to Reproduce: 1. Create a PHP file 2. Paste or type this into the file: <html> <?php echo 'hello'; ?> </html> 4. In the empty line before the PHP tag, start typing <head>. 5. The line should be garbled (mostly blank). Anything you type now will appear garbled. 6. Save 7. Open the file with the Text Editor. You should see something like this: <html> eadh< <?php echo 'hello'; ?> </html> 8. Open the file in the PHP Editor, it will likely crash.
This also happened in the M6 release, which was the first and only other Indigo release I tried before the RC3 build.
Created attachment 197842 [details] Stack of the PHP Editor crash on load This is the stack that appears when the PHP Editor fails to load the file created in the earlier steps.
can you reinstall your pdt?I could not reproduce your issue,please reopen it if you can reproduce it,thanks!
This bug is still present on eclipse indigo, Adrian steps are correctly Eclipse details: Version: 3.7.0 Build id: I20110613-1736 Eclipse Web Developer Tools Version: 3.3.0.v201102200555-7O7IFhJEMiB5vNMYta56_GonLeahqrwnYjv2mBz- Build id: 20100921193530
I reinstalled the release version as you suggested and it still happens but didn't reopen this assuming it was just something about my install, but with the additional comment, it appears to be reproducible by others. Before I had restored my preferences from a saved .efp preference export from a Helios, so this time I manually changed the preferences to my company's standards and it still happens. I'll attach my current preferences export next in case that is a factor. Version: Indigo Release Build id: 20110615-0604
Created attachment 199534 [details] Export of my current preferences
hi, I am sorry you still can reproduce it,can you install this version of pdt,because it is the latest one,we have not released for a long time! https://hudson.eclipse.org/hudson/job/cbi-pdt-3.0-indigo/164/artifact/build/N201107120314/pdt-Update-N201107120314.zip
with last package from zhaozhongwei, bug seems disappear. But not complety tested.
please try the latest build,thanks
Hello, I have the same issue with the official latest realeases : Eclipse Platform 3.7.0.I20110613-1736 PHP Development Tools (PDT) SDK Feature 3.0.0.v20110516-1100-77--84_23JBVgSVXO7XGJz0VLa9O Please is there a later pdt build that fix this bug ? (the link given in this thread is dead). Thank you. Gregory
Some additional informations : My OS : Mac OS X 10.7 Lion My JRE : Apple Java SE 1.6.0_26 Need some help ! Thank you :)
hi, you need download latest build from https://hudson.eclipse.org/hudson/job/cbi-pdt-3.0-indigo
Thanks, it's now ok for me :)
Verified on Mac Lion 10.7 Ilina Stefanova