Ticket #204 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

CSV import - Users creation doesn't work "Invalid group"

Reported by: pjoulaud Owned by:
Priority: major Milestone: OpenPLM 2.0
Component: models & controllers Version: 1.2
Keywords: Cc:

Description

bug description

Summary

I went to :  http://electronics.openplm.org/import/users/
I wanted to create several users using csv import.
See enclosed the csv file I used.

I've got the error messages "Invalid group"

Environment

  • Version/SVN revision: 2466
  • Browser: Firefox
  • Operating system: Ubuntu

Steps to reproduce this issue

bug analysis

fix recommendation

Attachments

import_users2.csv Download (302 bytes) - added by pjoulaud 7 years ago.

Change History

Changed 7 years ago by pjoulaud

comment:1 Changed 7 years ago by pcosquer

There are spaces in your csv file which are kept by default.

I think we can strip spaces.

Moreover, language values must be language codes like "en" or "fr".

comment:2 Changed 7 years ago by pcosquer

(and example.com is a good candidate for example domains)

comment:3 Changed 7 years ago by pcosquer

In [2513/main]:

csv import: strip spaces, see #204

comment:4 Changed 7 years ago by pjoulaud

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.