Skip to content

Email address not imported to oc_accounts from oc_preferences on upgrade #27625

@PVince81

Description

@PVince81

Steps

  1. Check out v9.1.5RC2
  2. Create a user "user1"
  3. As admin, set an email address to that user. (need to unhide the column in the users page)
  4. Upgrade to master / 10.0 (ran occ upgrade)
  5. Go to users page
  6. Run occ user:sync 'OC\User\Database' (very unintuitive btw, needs shortcuts)
  7. Go to users page

Expected result

Email address still visible

Actual result

Email address is missing.
oc_accounts has NULL in the email field and the email is still present in oc_preferences.

Versions

OC 10.0 beta2

@DeepDiver1975 please have a look, loss of user info

Not sure if the sync is required here, but if it is then it might be nice to either run it for database users directly as part of the first upgrade or add a hint in the output.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions