Log in with username/password: lyceum/lyceum

Ticket #745 (new defect)

Opened 2 years ago

Last modified 11 months ago

Batch user creation allows spaces

Reported by: lyceum Assigned to:
Priority: low Milestone: 1.1.1
Keywords: Cc: josh@jbloomdesign.com

Description (Last modified by jjb)

In System Settings | Batch User/Blog Creation, instructions for the import format are:

username1,email1@example.com;username2,email2@example.com

But if you make a mistake and leave a space in a username ("user name"), the importer will not complain - it proceeds to create that blog, with "user name" as the slug. The blog will appear to be fine in the user's /admin, but will not render for the public until spaces are removed from the blog slug.

The importer should either refuse to create blogs with spaces, or should intelligently remove them prior to insert.


(taken from #644):

Should also ensure there are no blank entries.

Change History

02/17/07 12:30:20 changed by ageller

If "intelligently removed," please make sure to spit out a message to the admin indicating this has happened.

Inherently, a batch creation is likely to be the product of some other database's output. We need to inform the admin that the source data had the error so it can be fixed, too.

02/26/07 14:23:42 changed by lyceum

To clarify - By "intelligently removed" I meant that the space should be removed from the slug (or replaced with dashes or underscores) - not that the importer should refuse to create the blog altogether.

03/02/07 01:59:13 changed by jjb

  • milestone set to 1.0.

03/05/07 21:50:18 changed by jjb

  • keywords deleted.
  • priority changed from normal to lowest.

08/12/07 14:02:48 changed by jjb

  • priority changed from lowest to low.
  • milestone changed from 1.0.11.0 to 1.0.11.1.

09/05/07 03:12:19 changed by jjb

  • milestone changed from 1.0.1 to 1.0.

09/08/07 23:11:49 changed by jjb

  • cc set to josh@jbloomdesign.com.
  • description changed.

09/08/07 23:12:16 changed by jjb

  • milestone changed from 1.0 to 1.0.1.

10/20/07 23:19:06 changed by jjb

  • milestone changed from 1.0.1 to 1.1.1.
Log in with username/password: lyceum/lyceum