-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
client error on IE: Assignment to read-only properties is not allowed in strict mode #8516
Comments
hi, |
IE 11. |
Does anybody have a quick fix for this issue? The Odoo 9 Community edition currently cannot be used by IE 11 users! Is this issue fixed in the enterprise version? |
Fix: in File: addons/web/static/src/js/framework/mixins.js _trigger_up: function(event) {
this.__edispatcherEvents.trigger(event.name, event);
var parent = this.getParent();
if (!event.is_stopped() && (parent)) {
parent._trigger_up(event);
}
} Diff:
|
Hello thanks for reporting and investigating, it should be fixed in f5bd1cc which has the same effect than your last diff.
It was fixed but was part of a very big commit. Hence, that this small line was also needed in community was overlooked. |
Is this a general fix or for this specific project. Many people hit this error and mentioning what the general problem is and how to generally handle it would help many. Thanks for considering it. |
@sjatkins the fix I spoke above is a fix for this particular issue. the issue could happen to any project and was that we used a variable without declaring it (by doing |
When running Odoo 9.0 from git:
Expected:
The project is shown
Actual:
client error: Assignment to read-only properties is not allowed in strict mode .... at web.assets_common.js
This only happens on IE, not on Chrome.
The text was updated successfully, but these errors were encountered: