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

Non-legacy solution for ContentMapper::copyLocale #1998

Closed
dantleech opened this issue Feb 11, 2016 · 1 comment
Closed

Non-legacy solution for ContentMapper::copyLocale #1998

dantleech opened this issue Feb 11, 2016 · 1 comment
Labels
Technical Debt Impacts code quality, no or just small impact on end developers and users

Comments

@dantleech
Copy link
Contributor

The copy locale method (ContentMapper::copyLocale) currently has no counterpart in the DocumentManager API(s).

This command might even be redundant when the routing auto (#1989) integration is made, as this method is mainly concerned with the ReosurceLocator.

I think it should basically be possible as follows (with the routing auto PR):

$document = // ...
$newLocale = 'de_at';
$manager->persist($document, $newLocale);
@berndhep berndhep added Technical Debt Impacts code quality, no or just small impact on end developers and users Backlog labels Feb 15, 2016
@chirimoya chirimoya removed the Backlog label Mar 10, 2016
@danrot
Copy link
Contributor

danrot commented Feb 22, 2017

Replaced by #3227

@danrot danrot closed this as completed Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Technical Debt Impacts code quality, no or just small impact on end developers and users
Projects
None yet
Development

No branches or pull requests

4 participants