These are chat archives for OrchardCMS/Orchard

8th
Mar 2017
Jean Jordaan
@jean
Mar 08 2017 07:22
@Xceno that issue with user import sounds like something I'll run into sooner or later
Xceno
@Xceno
Mar 08 2017 07:45
@jean it's easy to patch OrchardCMS/Orchard#7601 but after thinking about what s├ębastien said, it's probably safer to do an extra import for users first. Since the importer doesn't validate users it's easy to duplicate users or import "corrupt" data.
But like i said in the issue, it worked really well for me with a blank setup, so if you don't wanna patch the original driver you could also copy the original to a separate feature, modify it and use the OrchardSurpressDependency Attribute
Jean Jordaan
@jean
Mar 08 2017 07:51
@Xceno thanks, food for thought :-)
it's probably safer to do an extra import for users first <-- that sounds fine.
How about import of items with content picker fields?
This seems to work OK starting from blank (item1---ref--->item2, but item2 wasn't imported yet).
Xceno
@Xceno
Mar 08 2017 07:53
it's only an issue with users, everything else should be picked up from the import context. If in doubt, consult your preferred ContentPartDriver ;)
Jean Jordaan
@jean
Mar 08 2017 07:53
:thumbsup: