Closed (fixed)
Project:
Drupal 7 to Modern Drupal Module Upgrader
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Oct 2014 at 16:39 UTC
Updated:
22 Oct 2014 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
phenaproximaComment #3
webchickNow I get this:
Comment #4
webchickEr. that's when enabling the diff module that is. The upgrade command runs without error now.
Comment #5
webchickAfter testing this a few times, the actual function it complains about is different each time. The latest run against 5fdefa30 it was:
Adam also tested it and got a different duplicate function. So something be funky.
Comment #6
phenaproximaComment #7
webchickNow I'm back to this on drush dmu-upgrade diff. :(
Comment #8
phenaproxima(Lest this be interpreted the wrong way: 'tis but a metaphor. You're much nicer than Lucy!)
Comment #9
phenaproximaI can't reproduce this with diff. It stubbornly works for me. I tried running analyze then upgrade, and then just upgrade, then upgrade with only certain plugins (including HookBlockInfo). Worked every time.
Comment #10
webchickLOL that's a totally apt analogy. ;)
And, whew! After a good night's sleep, a drush si, and a retry, it's working for me too against the latest master (649838025eb). YAYYYYYY!!!
Comment #11
phenaproximaI think figured out what causes that.
If you do the following:
- drush si
- dmu-upgrade diff
- Enable diff
- git reset diff (without turning diff off first)
- dmu-upgrade diff
...I think you will get that error.
Because diff is still turned on. The .module is still being loaded when Drupal is bootstrapped, even though it's in its Drupal 7 state!
This also explains why drush si cleared it.