Commit 1fbac86
committed
Set the
The `Import()` extension method provided by the Data Transfer Library doesn't have access to the `HttpContext` and, thus, can't set the `LastModifiedBy` to the current user if that option is selected via the editor (see #5361a8e). This can be mitigated by injecting that value into the `ImportOptions` object prior to import. Note that this behavior is by design, but it does require this configuration from callers to ensure that it works correctly.CurrentUser when doing imports1 parent 5361a8e commit 1fbac86
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
| 653 | + | |
652 | 654 | | |
653 | 655 | | |
654 | 656 | | |
655 | | - | |
| 657 | + | |
656 | 658 | | |
657 | 659 | | |
658 | 660 | | |
| |||
0 commit comments