-
Notifications
You must be signed in to change notification settings - Fork 4
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
Assorted changes 2 #98
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -8,14 +8,13 @@ | |||
namespace Newspack_Network\Hub\Admin; | |||
|
|||
use Newspack_Network\Admin as Network_Admin; | |||
use const Newspack_Network\constants\EVENT_LOG_PAGE_SLUG; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new constant needs to be imported in class-users.php
, too: https://github.com/Automattic/newspack-network/blob/assorted-changes-2/includes/class-users.php#L78
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 8f91df9, thanks!
That should not ever happen, can you please list the exact reproduction steps? Also, I've realized the step 3 instructions were wrong (synced user has to register using RAS, not be created with CLI), so I've updated this step. I don't think this relates to the issue described above, though. |
@dkoo – I've requested a re-review, but what I meant was pinging you about the reproductions steps, as mentioned in the comment above. |
Got this working. Everything is working as described except for this step:
In my testing, the user with the really long email address got propagated across the network, but the username was set to match the username of the account on the original site (not the email address). This username string was already shorter than 60 characters because CLI wouldn't let me create a user with a username longer than that. |
Ah, that's right – the
|
🎉 This PR is included in version 1.9.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.9.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
(Note: this is a part of integrating the changes from the
data-integrity-improvements
branch (#89))How to test the changes in this Pull Request:
--dry-run
flag observe it will dry run by default, making any changes only with--live
flag provided. This brings it in line with other CLI command in this repository.wp newspack-network data-backfill reader_registered --start=2020-01-01 --end=2024-12-31 --live
) from the second siteOther information: