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

[Bug]: "The Meta Version field is required" when installing languages #1097

Open
antoniozh opened this issue Oct 24, 2024 · 13 comments
Open

Comments

@antoniozh
Copy link

antoniozh commented Oct 24, 2024

What happened?

When installing languages from the marketplace, it seems like the API returns languages without the version field. Unfortunately, I get this exception as a notification: "The Meta Version field is required."
This response comes back when trying to install new languages:

{
  "#notification": "    <div\n        class=\"alert alert-danger\"\n        data-control=\"flash-message\"\n        data-allow-dismiss=\"false\"\n        role=\"alert\"\n    >\n                    <p>The Meta Version field is required.</p>\n            </div>\n    ",
  "X_IGNITER_ERROR_FIELDS": {
    "items.0.ver": [
      "The Meta Version field is required."
    ]
  }
}

Also, the confirmation dialogue shows no version number, maybe the API left out the version of the language packs?

What did you expect to happen?

Languages to be installed seamlessly

Version

3.x

What browser are you seeing the problem on?

Chrome, Microsoft Edge

Relevant log output

{
  "#notification": "    <div\n        class=\"alert alert-danger\"\n        data-control=\"flash-message\"\n        data-allow-dismiss=\"false\"\n        role=\"alert\"\n    >\n                    <p>The Meta Version field is required.</p>\n            </div>\n    ",
  "X_IGNITER_ERROR_FIELDS": {
    "items.0.ver": [
      "The Meta Version field is required."
    ]
  }
}
@dextar47
Copy link

Getting the same error when installing new language

@webgrafia
Copy link

same problem to me

@nitroglyzerin
Copy link

Bug happend to me too.
Is a fix in Progress or a workaround possible?

@Dielee
Copy link

Dielee commented Feb 9, 2025

Same here... Any fix for this ?

@nitroglyzerin
Copy link

nitroglyzerin commented Feb 9, 2025

Same here... Any fix for this ?

You can work around the issue by manually downloading the language you desire and placing it in the folder structure in a folder with the short for the language "de" for german for example. Than you just create a language in the admin interface with the same short handle and all Translation should appear just like magic, as if you entered them yourself.
I think most of the work on tastyigniter is focused on version 4.0 release hence this issue remains.

@Dielee
Copy link

Dielee commented Feb 9, 2025

I tried, but the "de" language download is greyed out.. Am I missing something ?

@nitroglyzerin
Copy link

Oh yeah you are right, forgot about that part. I remade the folder as i also got to that point and after loads of googleling i found out that Downloads were disabled for tasty language packs. I even tried to get the language pack by capturing the query and replay it with a Version field, but had no luck.
So yeah if you really want the Translation you need to copy and paste each file individually. But it will work :)

@Dielee
Copy link

Dielee commented Feb 9, 2025

This is... but yes, thanks for your fast response!

@Dielee
Copy link

Dielee commented Feb 9, 2025

Maybe someone would like to share me the german language pack ?

@antoniozh
Copy link
Author

Do you have a Discord where I can add and send you the zip?

@Dielee
Copy link

Dielee commented Feb 13, 2025

Yes sure, just add me: dielee_

@antoniozh
Copy link
Author

added

@adamgunderson
Copy link

I get this same error when trying to use the "Install recommended extensions..." button one the Extensions page.

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

No branches or pull requests

6 participants