marcellourbani / vscode_abap_remote_fs

Remote filesystem for ABAP systems
MIT License
170 stars 28 forks source link

Cannot open FMs, message content not acceptable #181

Closed ghost closed 2 years ago

ghost commented 2 years ago

In short when trying to open or create an SE37 object (function group, function module, etc.), like clicking on the name of function group below:

image

Then the following error message will popup:

The message content is not acceptable. Accepted content types: application/vnd.sap.as+xml

image

The result is no se37 object can be viewed, even using abapfs:search for an existing FM, will still get the same error when trying to open the code. However opening SE38 programs and SE24 classes will not trigger this error.

The error didn't happen until a week ago, when my PC suddenly lost internet connection when using abapfs to open a function module. Reinstalling the extension doesn't help. 😥

marcellourbani commented 2 years ago

I recently introduced a bug like this and fixed it like yesterday Please try to update the plugin If that doesn't work, downgrading to a version from al least a month ago should Please let me know if upgrade does not work though

ghost commented 2 years ago

Much thanks for your rapid reply! The most recent version 1.4.9 still has this bug. After downgrading to an older version the bug disappears.

image

marcellourbani commented 2 years ago

I just published 1.4.10 which should revert the offending code (which was supposed to fix a much rarer edge case) Could you please check if that works for you?

ghost commented 2 years ago

Yep 1.4.10 no longer has this problem. That's so efficient haha.