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

MIGx DB content is not being copied #2

Open
haeki1 opened this issue Mar 17, 2019 · 3 comments
Open

MIGx DB content is not being copied #2

haeki1 opened this issue Mar 17, 2019 · 3 comments

Comments

@haeki1
Copy link

haeki1 commented Mar 17, 2019

According to Bruno it needs a customPlugin which is bind to the onResourceDuplicate-Event.
So this plugin could be part of copyContent and is checking if there are any migxdb tables connected to a resource which are then iterated over and copied.

@christianseel
Copy link
Member

I guess in our processor we could check if MIGXdb is installed and duplicate the appropriate entries in the custom table...

@haeki1
Copy link
Author

haeki1 commented Mar 18, 2019 via email

@Bruno17
Copy link

Bruno17 commented Mar 18, 2019

I don't see, where a onResourceDuplicate is fired in this processors. Looks like the duplicate - processor isn't used here.

You will need a way to know, the packagename, the classname and the field, which connects to the resource. Maybe another custom system-event or aftersave - hooksnippet would be nice to have, for doing custom - stuff, after the resource was duplicated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants