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

MBS-9675, MBS-9676: Fix work attributes localization issues in the release relationship editor #673

Merged
merged 1 commit into from May 28, 2018

Conversation

yvanzo
Copy link
Contributor

@yvanzo yvanzo commented May 24, 2018

Fix both bugs MBS-9675 and MBS-9676

Cause was translation domain attributes was not loaded from the relationship editor, whereas it is required for adding new works when no existing work is found.

in release relationship editor for adding a new work.
@yvanzo yvanzo requested a review from mwiencek May 24, 2018 16:08
@@ -1,4 +1,4 @@
[%- WRAPPER 'layout.tt' full_width=1 title=l('Edit Relationships: {release}', {release => release.name}) -%]
[%- WRAPPER 'layout.tt' full_width=1 title=l('Edit Relationships: {release}', {release => release.name}) gettext_domains=['attributes'] -%]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems odd though since the entity-creation dialog uses an iframe (so it should be sandboxed and have its own window and set of scripts that it loads?).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Err, it actually doesn’t solve the issue at all. I don’t know how did it get to work for me, maybe I had some other local changes or was not working from the correct base branch.

I reverted it and proposed an actual fix in PR #675.

@yvanzo yvanzo merged commit c291414 into metabrainz:master May 28, 2018
@yvanzo yvanzo deleted the mbs-9675-mbs-9676 branch July 26, 2018 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants