The account switching for importing and exporting content currently happens in the commands, which means that any edits to content by non privileged users could result in invalid content exports! I found this bug when running drush upwd admin password, which ran as user 0 and removed admin's status and roles.

We should switch to admin in the importer and exporter services.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

samuel.mortenson created an issue. See original summary.

samuel.mortenson’s picture

Status: Active » Needs review
FileSize
11.72 KB

Status: Needs review » Needs work

The last submitted patch, 2: 3058961-2.patch, failed testing. View results

samuel.mortenson’s picture

Status: Needs work » Needs review
FileSize
11.72 KB
0 bytes

Status: Needs review » Needs work

The last submitted patch, 4: 3058961-4.patch, failed testing. View results

samuel.mortenson’s picture

Status: Needs work » Needs review
FileSize
11.15 KB
747 bytes

Note to self: read my own **** interdiffs.

samuel.mortenson’s picture

Status: Needs review » Fixed

samuel.mortenson’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.