products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: PHP-43
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Unprioritized Unprioritized
Assignee: Pavel Petrochenko
Reporter: Kevin Sawicki
Votes: 3
Watchers: 6
Operations

If you were logged in you would be able to see more operations.
Aptana PHP Support

Aptana PHP content type interferes with PDT PHP content type

Created: 28/Jan/08 01:40 PM   Updated: 24/Jun/08 03:16 PM
Component/s: None
Affects Version/s: 0.9.0
Fix Version/s: 0.9.0

Importance: Average
Studio Install Type: N/A
Participants: Bulle Bas, Damiano Zucconi, Daniel Anderson Tiecher, Glen Ainscow, Ishtanzar, Joakim Schramm, Keith Davis, Kevin Sawicki, Pavel Petrochenko, Rafael Biermann and Svetlana Shcherbina


 Description  « Hide
Investigate how to avoid side-by-side conflicts with PDT content type and Aptana PHP content type.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order

Joakim Schramm - 28/Jan/08 02:28 PM
This is not only an php issue, same things go for HTML, JavaScript and CSS as well.

Kevin Sawicki - 28/Jan/08 02:29 PM
In what ways does this impact HTML, JavaScript, and CSS?

Kevin Sawicki - 29/Jan/08 12:03 PM
This should be fixed by setting our content type priority to low since content type doesn't directly affect our editors opening.

Joakim Schramm - 29/Jan/08 12:27 PM
"In what ways does this impact HTML, JavaScript, and CSS?"

Apart from PHP, Aptana also install content types for HTML, JavaScript, and CSS, although these already exists in Eclipse. I am not sure but assume they belong to/come with PDT. I started out with installing the "All-in-one" PDT version of Eclipse 3.3 and have only added Aptana after so I guess they must have been there.

The problem is that neighter the Aptana nor PDT content types can be changed as all items are (locked). The only thing that can be done/changed,afai can see, is to set the default editor for a File association, but for these duplicated types the result seem to be the will be the only available editor.


Daniel Anderson Tiecher - 15/Feb/08 07:40 AM
I installed version 0.2.11 today and this issue happened to me. I can use the Aptana PHP plugin just fine but trying to change the association to PDT break the content type for php files.

I don't know if this will help but only the locked content types are afected because I can change between editors just fine when the file extension is *.thtml (CakePHP extension for view files).


Kevin Sawicki - 15/Feb/08 10:57 AM
Hi,

What version of Studio are you using?


Daniel Anderson Tiecher - 15/Feb/08 11:22 AM
Hello, thanks for your reply.

I'm using the patch version for the 1.1.1 release. My PHP plugin version is 0.2.11.00706


Kevin Sawicki - 15/Feb/08 12:27 PM
So you are seeing errors when you open the PDT editor?

Daniel Anderson Tiecher - 15/Feb/08 12:37 PM
Yes, I get the message "unsupported content type" from Eclipse but going trough the supported PHP content types all my supported file extensions are there. When I change the default editor for php files to be Aptana then everything works as expected.

Rafael Biermann - 18/Mar/08 06:49 AM
Not fixed atm - my PHP plugin version: 0.2.11.006706_200801112034

When installed, "PHP Editor" and "PHP/HTML WYSIWYG Editor" are not working any longer.


Ishtanzar - 19/Mar/08 12:22 PM
Same here.
If Aptana is the default editor for *.php files, it works fine but when the PDT PHP Editor is set as the default editor, I get the error message: "unsupported content type in editor"

Damiano Zucconi - 28/Mar/08 03:29 AM
It's the same for me: I'm using PDT editor by default. When Aptana PHP plugin is enabled, the PDT editor signals "unsupported content type in editor". So I must disable Aptana PHP plugin.
My plugin version is 0.2.11.006706_200801112034

Svetlana Shcherbina - 24/Apr/08 07:15 AM
This still happens, so I reopen this bug.
I have
Aptana plugin for Eclipse version: 1.11.1.00004
PHP plugin version: 0.2.11.006706_200801112034

Bulle Bas - 06/Jun/08 11:08 AM
This is an annoying bug and should have high priority. I am forced to make a clean eclipse install as the redundant content-types provided by Aptana are locked up. I've removed the aptana php plugin, but the php content type is still regisered with aptana, so pdt can't open php files anymore. I think that the eclipse integration needs to be more smooth, and it is therefore better to use the file-association system from eclipse itself, rather than introducing a new and conflicting system.
Hope the team will comment/fix on this issue soon!

Bulle Bas - 06/Jun/08 02:58 PM
Follow up to my comment:
a workaround is to delete com.aptana.ide.editor.php_X_Y.jar from the eclipse/plugins folder. This removes the php aptana editor completely. Restart with -clean option.

Keith Davis - 09/Jun/08 07:57 PM
Somehow I fixed this a while back. I've had to re-install, and now it's back. Duplicate content types for HTM, JS and CSS. This makes it impossible to associate these files types with Aptana.

Pavel Petrochenko - 10/Jun/08 08:37 AM
Interferencing of launch configuration delegates is fixed. PHP editors are binded to different content types. So it seems that issue is fixed. According to other content types(HTML,CSS,...) issue #STU-1898 is created.

Svetlana Shcherbina - 23/Jun/08 12:24 PM
If this problem occurrs again please reopen this issue.
Verified.

Keith Davis - 24/Jun/08 03:16 PM
This appears to be the same issue as http://support.aptana.com/asap/browse/STU-1898.