| Summary: | cant open php files from 'svn repo exploring' perspective | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] Subversive | Reporter: | jxncl | ||||
| Component: | Core | Assignee: | Igor Burilo <igor.burilo> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | benjamin, info, rvirani, silvio.ginter, ve.ru | ||||
| Version: | 0.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
jxncl
I can confirm that bug with my installation. Eclipse Platform: Version: 3.6.0 Build id: I20100608-0911 (org.eclipse.platform_3.6.0.v201006080911) i can confirm this also happens on my build: OSX 10.6.4 Version: Helios Release Build id: 20100617-1415 Subclipse 1.6.13 Same for me when I try to open a specific revision of a file from the history view. I'm using subversive (SVN Connectors 2.2.2.I20100512-190). Eclipse SDK Version: 3.6.0 Build id: I20100608-0911 Created attachment 180771 [details]
Stack-Trace for invalid Content-Type in Editor Exception
Hi,
i think this must be PDT related, since this issue only affects PHP Content-Type Files. It worked for me with any other type, except PHP. Therefore it might be a very big fluke, if this bug effects Subclipse and Subversive and would be in their charge.
The message for this error is the following:
org.eclipse.team.svn.ui.repository.RepositoryFileEditorInput cannot be cast to org.eclipse.php.internal.ui.editor.input.NonExistingPHPFileEditorInput
Error occurs since Update PDT 2.1 to 2.2.x
>java.lang.ClassCastException: org.eclipse.team.svn.ui.repository.RepositoryFileEditorInput cannot be cast to org.eclipse.php.internal.ui.editor.input.NonExistingPHPFileEditorInput
There is no way Subversive could implement or extend something like org.eclipse.php.internal.ui.editor.input.NonExistingPHPFileEditorInput. So the issue is really related to the PDT and the good point about it is that in the Eclipse 3.6 SR 2 PDT the issue does not seem to appear.
P.S.
If it is only me who does not have the problem in SR2 PDT, please tell me, then I will reopen the issue and move it to the PDT component.
|