Skip to content

[FIX] CSV Importer failing to import users#24090

Merged
matheusbsilva137 merged 3 commits intodevelopfrom
fix/csv-importer
Jan 12, 2022
Merged

[FIX] CSV Importer failing to import users#24090
matheusbsilva137 merged 3 commits intodevelopfrom
fix/csv-importer

Conversation

@pierre-lehnen-rc
Copy link
Copy Markdown
Contributor

@pierre-lehnen-rc pierre-lehnen-rc commented Jan 3, 2022

Proposed changes (including videos or screenshots)

  • Update use of setRealName function to _setRealName.

Issue(s)

Closes #24073
Fixes #23997

Steps to test or reproduce

  1. Create a CSV file (e.g. users.csv) with the following content:
bradley.hilton,[email protected],Bradley Hilton
billy.bob, [email protected], Billy Bob Jr.
graywolf336,[email protected],GrayWolf336
  1. Create a ZIP file containing only the CSV file you created in the previous step;

  2. Go to Administration > Import > Import New File, then choose CSV as the Import Type and upload the ZIP file from your computer;

  3. Click on Import. Expected behavior: 3 users should be displayed with all the info given in the CSV file.

  4. Click on Start Importing. Expected behavior: all 3 users should be succesfully imported with their corresponding real names (what can be checked in Administration > Users);

  5. Delete the 3 users and repeat this process using a CSV with a single user. No error should be displayed in the whole process.

Further comments

@matheusbsilva137 matheusbsilva137 added this to the 4.3.2 milestone Jan 12, 2022
@matheusbsilva137 matheusbsilva137 merged commit c688917 into develop Jan 12, 2022
@matheusbsilva137 matheusbsilva137 deleted the fix/csv-importer branch January 12, 2022 21:36
gabriellsh added a commit that referenced this pull request Jan 17, 2022
…ove/setup-wizard

* 'develop' of github.com:RocketChat/Rocket.Chat: (176 commits)
  [IMPROVE] Admin page header buttons consistency (#24168)
  i18n: Language update from LingoHub 🤖 on 2022-01-17Z (#24193)
  [FIX] Integration section crashing opening in My Account (#24068)
  [IMPROVE] Rewrite roomNotFound to React Component (#24044)
  Regression: Enable custom emoji on admin custom status page (#24186)
  Chore: Update Meteor to 2.5.3 (#24075)
  [NEW] Apple Login (#24060)
  Chore: Update Apps-Engine to 1.29.2 (#24171)
  feat: enabling emoji on custom status (#24170)
  [FIX] App Framework Enable hanging indefinitely (#24158)
  [FIX] CSV Importer failing to import users (#24090)
  Fix Engagement Dashboard API requests (#24142)
  Language update from LingoHub 🤖 (#24127)
  Chore: Migrate useOutsideClick to fuselage-hooks (#24133)
  Revert "Use fibers to store context"
  Use fibers to store context
  Chore: Include REG_TOKEN in docker-compose (#24123)
  [FIX] Custom Emoji Image preview #24117
  [IMPROVE] Added a Reset Button in the Account Profile Page (#24078)
  Revert: "[IMPROVE] Throw 404 error in invalid endpoints" (#24118)
  ...
@sampaiodiego sampaiodiego mentioned this pull request Jan 19, 2022
sampaiodiego pushed a commit that referenced this pull request Jan 19, 2022
gabriellsh added a commit that referenced this pull request Jan 19, 2022
…hat into improve/setup-wizard

* 'improve/setup-wizard' of github.com:RocketChat/Rocket.Chat:
  Regression: Fix handling of http requests in apps bridge (#24211)
  Bump version to 4.3.2
  [FIX] Integration section crashing opening in My Account (#24068)
  Chore: Update Apps-Engine to 1.29.2 (#24171)
  [FIX] App Framework Enable hanging indefinitely (#24158)
  [FIX] CSV Importer failing to import users (#24090)
  Fix Engagement Dashboard API requests (#24142)
  [FIX] MAU when using micro services (#24204)
  [IMPROVE] Limit recent emojis to 27 (#24210)
  Bump version to 4.3.1
  Bump Fuselage packages
  [FIX][APPS] Action buttons not removed when app is disabled or uninstalled (#24107)
  [FIX][APPS] Prevents emails from being sent when apps framework is disabled (#24105)
  [FIX] Ensure Firefox 91 ESR support (#24096)
  Chore: Update Livechat (#24091)
  [FIX] Omnichannel enabled setting not working when creating rooms (#24067)
  [FIX] Enter not working on modal's multi-line input (#23981)
  [FIX] Omnichannel Current chats pagination not working (#24039)
@sampaiodiego sampaiodiego mentioned this pull request Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when importing users from csv file: only first user imported with incomplete information, not working with TOTP

2 participants