Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

EZP-30639: Used Content view instead of deprecated Location view #1225

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

Nattfarinn
Copy link
Contributor

Question Answer
Tickets https://jira.ez.no/browse/EZP-30639
Bug fix? no
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@@ -78,7 +78,7 @@
})
.catch(eZ.helpers.notification.showErrorNotification);
};
const generateLink = (locationId) => Routing.generate('_ezpublishLocation', { locationId });
const generateLink = (contentId, locationId) => Routing.generate('_ez_content_view', { contentId, locationId });
Copy link
Member

Choose a reason for hiding this comment

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

This is kind of BC break, the contentId should be added as a second parameter not first.

@Nattfarinn Nattfarinn force-pushed the ezp-30639-deprecate-view-location branch from 3120d2b to b80502f Compare February 14, 2020 09:53
@Nattfarinn Nattfarinn force-pushed the ezp-30639-deprecate-view-location branch from 467545b to 4ac2540 Compare February 27, 2020 13:44
@Nattfarinn Nattfarinn force-pushed the ezp-30639-deprecate-view-location branch from 4ac2540 to 20a7a73 Compare February 27, 2020 13:44
@lserwatka lserwatka merged commit ba2bcf0 into master Feb 27, 2020
@lserwatka lserwatka deleted the ezp-30639-deprecate-view-location branch February 27, 2020 13:58
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

6 participants