Problem/Motivation
To allow easy migration of users of SMS Framework to D8, migrations are needed for the sms_user phone numbers verification system to the new D8 phone number verifications system.
Resolution
Develop data migrations for D6 -> D8 and D7 -> D8.
| Comment | File | Size | Author |
|---|---|---|---|
| #17 | 2858177-17.patch | 37.44 KB | almaudoh |
| #11 | interdiff.txt | 5.01 KB | almaudoh |
| #11 | 2858177-11.patch | 37.4 KB | almaudoh |
| #8 | 2858177-8.patch | 37.43 KB | almaudoh |
| #8 | interdiff.txt | 10.45 KB | almaudoh |
Comments
Comment #2
almaudoh commentedComment #4
almaudoh commentedAdded a rollback for the change to user telephone field. This should pass now in 8.3 since #2851864: Update installation tests is in.
Comment #5
almaudoh commentedThis needs tests for the migration before it can be committed.
Comment #6
almaudoh commentedAdded tests and fixed a whole lot of stuff. PR also on Github
Comment #8
almaudoh commentedFixed @group annotation and code standards.
Comment #10
almaudoh commentedIt is weird that in PHP 7.1, the order in which the missing migrations for the D7 migration exception message changes BUT IT DOESN'T AFFECT THE D6 MIGRATION EXCEPTION MESSAGE
I haven't been able to figure out this one...:(
Comment #11
almaudoh commentedFound a way to fix the test using regular expression assertions. Still can't figure out the cause of the weird PHP 7.1 behavior, but it doesn't matter now.
Comment #13
almaudoh commentedAll the tests pass except on D8.5 due to newly introduced test fails from use of deprecated API's. See #2870194: Ensure that process-isolated tests can use Symfony's PHPunit bridge to catch usages of deprecated code. This will be fixed in a different issue.
Will commit this later in the day.
Comment #14
dpiId prefer to get HEAD green on 8.5 first, I spotted at least one other error in there. #2922871: Fix test failures in D8.5 due to use of deprecated APIs
Comment #15
almaudoh commentedThere is just one error in there which still only exists in D8.5. I have raised #2925655: Fix failure of SmsFrameworkViewsTest in D8.5 to deal with that.
#2922871: Fix test failures in D8.5 due to use of deprecated APIs reduced the fails in D8.5 to 14, while #2924436: Convert all SmsFramework WebTests to BrowserTests has reduced the errors to zero on D8.4 and one on D8.5 (#2925655: Fix failure of SmsFrameworkViewsTest in D8.5 already mentioned).
Setting back to RTBC.
Comment #16
almaudoh commentedNW for
@group legacyin the tests.Comment #17
almaudoh commentedAdded
@group legacyto the new tests. This should be ready now.PR is at https://github.com/almaudoh/smsframework/pull/6/files
Comment #18
almaudoh commentedThis issue is blocked by #2924436: Convert all SmsFramework WebTests to BrowserTests and #2925655: Fix failure of SmsFrameworkViewsTest in D8.5. Setting back to RTBC. Will commit immediately those two are committed and we can confirm tests passing on D8.5.
Comment #19
almaudoh commentedConsidering that there is only one test fail left in D8.5 head due to #2925655: Fix failure of SmsFrameworkViewsTest in D8.5 and this issue has nothing to do with it, and considering that that issue appears to have become slightly more complicated, I'll go ahead and commit and push this to 8.x-1.x
Let's continue work at #2925655: Fix failure of SmsFrameworkViewsTest in D8.5.