Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Bugfix: invalid mapping action entries in the new site #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Bugfix: invalid mapping action entries in the new site #22

wants to merge 2 commits into from

Conversation

Undergrounder
Copy link
Contributor

Many of the action entries are invalid on the new site, when the old id is -1, 0 or null.

It can be reproduced in the integration tests that folow up this change (It has no sense to merge failling integration tests...).

I have seen, that some tests have failed. I will try to fix them the next week.

@Undergrounder Undergrounder changed the title Bugfix: invalid mapping action entries in the new site [WIP] Bugfix: invalid mapping action entries in the new site Sep 24, 2015
@Undergrounder Undergrounder changed the title [WIP] Bugfix: invalid mapping action entries in the new site Bugfix: invalid mapping action entries in the new site Sep 29, 2015
@mattab
Copy link
Contributor

mattab commented Oct 6, 2015

Hi @Undergrounder
Thanks for the PR!

It can be reproduced in the tests.

Where could you see this bug in the tests? the build seems to pass, but maybe tests are not covering this use case? https://travis-ci.org/PiwikPRO/plugin-SiteMigration/jobs/81562722 - Maybe you could add some tests for it?

@Undergrounder
Copy link
Contributor Author

Updated. It could be reproduced in the integration tests that follow up this change. I have now added some unit tests for this use case.

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

Successfully merging this pull request may close these issues.

2 participants