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

Fluidity: Vorto and Media picker #127

Open
tomotrepo opened this issue Apr 15, 2020 · 1 comment
Open

Fluidity: Vorto and Media picker #127

tomotrepo opened this issue Apr 15, 2020 · 1 comment

Comments

@tomotrepo
Copy link

Hi, great plugin (as well as Vorto). Two things bothers me:

  1. I’m trying to implement Vorto inside Fluidity. While the UI is rendered - there is ‘activeLanguage’ missing. I tried with Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en"); without success. Is Vorto possible inside Fluidity and how?
  2. Implementing Media picker throw this error:
    Message: "The request contains an entity body but no Content-Type header. The inferred media type 'application/octet-stream' is not supported for this resource." Am I missing property converter...
@tomotrepo
Copy link
Author

However, I played a bit because it didn't give me peace of mind, and I came to the conclusion that because the vorto is not inside the 'right content tree', this api doesn't get the right data: public IEnumerable GetLanguages(string section, int id, int parentId, Guid dtdGuid). In fact, the problem is in dtdGuid type that requires a Guid, but an 'undefined' string comes inside. Changing Guid to string type (and then try-convert to Guid) solves the problem (I hope no one else shows up :)). The second question still bothers me...

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

1 participant