SmartZoos / Toolset

Gaming platform for SmartZoos project
MIT License
0 stars 1 forks source link

"Language" and "Location" hinders saving changes to Act. Item #162

Closed PatriciaMoller closed 7 years ago

PatriciaMoller commented 7 years ago

When trying to save changes to an Activity Item, the "Language" and "Location" fields are The Language field does not accept "Swedish". Any other option seem to work. This was also issue when using the site in Swedish and trying the change the language to "Swedish".

When trying to change an Item created by someone else, Location is locked and somehow causes issues. This makes it not possible to edit someone else's Item.

skarmklipp

pjotrsavitski commented 7 years ago

The language field not accepting Swedish is surely a bug as it should not be like that.

Changing interface language to Swedish worked for me. I would assume you are referring to the same issue, changing the language to Swedish while having that as the interface language. The interface language has no affect on that kind of things, it just determines the translations used for the texts.

The location being locked is a feature. This is to protect that from someone else making the change (administrators are not affected). It has to do with permission system and the fact that roles specific to certain Zoo are only granted extended privileges to the objects that are related to that Zoo. Changing that would remove the ability of editing altogether.

I will also deal with the issues being caused by that, this has to do with the validator expecting the value and not getting any (disabled elements are not being submitted).

It should be fixed today, but the change could arrive to the server once all the other changes are tested out (will see about that).