Skip to content

Downgrade platformVersion #268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Downgrade platformVersion #268

merged 1 commit into from
Jul 6, 2023

Conversation

code-asher
Copy link
Member

If you run the latest plugin on Gateway 231 you get an error about DeployWithDownload being void when the IDE is not already installed.

Reverting the platform version back to 231 makes the plugin work on both 231 and 232 (the current EAP).

Honestly I do not understand why this is necessary as the API here does not appear to have changed at all.

Upon doing some research though it appears that the platform version should match the "since build" version so I downgraded further. It seems minimumWidth and maximumWidth are not available in that version so our plugin is currently broken there as well. This is fixed by using size instead.

I think normally the plugin verifier would catch these things and I tried getting it working by specifying the versions to check but it seems to be bugged; the only errors it shows appear to be from a failure to properly resolve dependencies.

If you run the latest plugin on Gateway 231 you get an error about
DeployWithDownload being void when the IDE is not already installed.

Reverting the platform version back to 231 makes the plugin work on both
231 and 232 (the current EAP).

Honestly I do not understand why this is necessary as the API here does
not appear to have changed at all.

Upon doing some research though it appears that the platform version
should match the "since build" version so I downgraded further.  It
seems `minimumWidth` and `maximumWidth` are not available in that
version so our plugin is currently broken there as well.  This is fixed
by using `size` instead.

I think normally the plugin verifier would catch these things and I
tried getting it working by specifying the versions to check but it
seems to be bugged; the only errors it shows appear to be from a failure
to properly resolve dependencies.
@code-asher
Copy link
Member Author

I tested the plugin built by CI on 2022.3, 2023.1, and 2023.2 and with an existing IDE and with downloading a new IDE and all seems well.

@code-asher code-asher marked this pull request as ready for review July 5, 2023 22:33
@code-asher code-asher requested a review from johnstcn July 5, 2023 22:33
@code-asher code-asher merged commit 7cc85d2 into main Jul 6, 2023
@code-asher code-asher deleted the void-function branch July 6, 2023 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants