Skip to content
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

Version 1.6.2 breaks auto-completion #115

Closed
M66B opened this issue Nov 4, 2023 · 10 comments · Fixed by #116
Closed

Version 1.6.2 breaks auto-completion #115

M66B opened this issue Nov 4, 2023 · 10 comments · Fixed by #116

Comments

@M66B
Copy link

M66B commented Nov 4, 2023

Describe the bug
Version 1.6.2 breaks auto-completion!

To Reproduce

  1. Update to version 1.6.2
  2. Restart Android Studio

Environment:

  1. Android Studio Giraffe | 2022.3.1 Patch 2
  2. Ubuntu

Expected behavior
Auto-completion keeps working, obviously.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context

Run the plugin in Debug mode and provide an extended log.
To enable Debug mode add debug=true to the crowdin.properties file.

Error from server:  , Message: Unrecognized field "excludeCodeBlocks" (class com.crowdin.client.sourcefiles.model.OtherFileImportOptions), not marked as ignorable (2 known properties: "contentSegmentation", "customSegmentation"]) at [Source: (String)"{"contentSegmentation":true,"customSegmentation":false,"excludeCodeBlocks":false,"excludedFrontMatterElements":[]}"; line: 1, column: 81] (through reference chain: com.crowdin.client.sourcefiles.model.FileInfoResponseList["data"]->java.util.ArrayList[1]->com.crowdin.client.sourcefiles.model.FileResponseObject["data"]->com.crowdin.client.sourcefiles.model.File["importOptions"]->com.crowdin.client.sourcefiles.model.OtherFileImportOptions["excludeCodeBlocks"])>
@M66B M66B added the bug label Nov 4, 2023
@M66B
Copy link
Author

M66B commented Nov 4, 2023

In fact, downloading translation doesn't work for me anymore, also not when downgrading to version 1.6.1.
Is there something changed to the server API that the plugin doesn't understand anymore?

@DimaYashchyshyn
Copy link

Hello @M66B
The list of changes can be found in the changelog, you may refer to it.

As far as I'm aware, there haven't been any recent changes to the server API that would affect the plugin. However, to better assist you, could you please provide the name of the project where this issue is occurring?

@M66B
Copy link
Author

M66B commented Nov 4, 2023

@DimaYashchyshyn https://github.com/M66B/FairEmail

@andrii-bodnar
Copy link
Member

@M66B
Copy link
Author

M66B commented Nov 4, 2023

@andrii-bodnar Shouldn't the Crowdin Android Studio plugin take care of this?

@andrii-bodnar
Copy link
Member

andrii-bodnar commented Nov 4, 2023

@M66B this error comes from the API client due to the response deserialization issue. We need to update this dependency in the Crowdin Android Studio plugin.

@M66B
Copy link
Author

M66B commented Nov 4, 2023

Why should an app compile this? This is an Android Studio / plugin problem.

@M66B
Copy link
Author

M66B commented Nov 8, 2023

When will the Android Studio Crowdin plugin be updated? As it is, it is completely unusable, and it is only causing problems with other things, like auto-completion. IMHO, this is a rather critical issue.

M66B added a commit to M66B/FairEmail that referenced this issue Nov 9, 2023
@andrii-bodnar andrii-bodnar linked a pull request Nov 13, 2023 that will close this issue
@andrii-bodnar
Copy link
Member

@M66B please try the 1.6.3 version.

@M66B
Copy link
Author

M66B commented Nov 16, 2023

@andrii-bodnar I don't use the Crowdin Android Studio plugin anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants