phpBB 3 Importer (old)

I found one minor issue:

creating users
Skipping user id 1 because email is blank
      641 / 1041 ( 61.6%)    Skipping user id 68191 because email is blank
     1043 / 1041 (100.2%)    
creating categories
    Admin
    The Kiteboarding
    The Gear
    Everything Else
    Snowboarding/Ski
    Other sports - MTB, Wake, SUP, Surf and anything else
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.4/lib/active_record/validations.rb:57:in `save!': Validation failed: Category Name is too long (maximum is 50 characters) (ActiveRecord::RecordInvalid)

I think this can be fixed by changing the mysql select to trim category names to 50 chars. I’ll put that in a pull request.

https://github.com/discourse/discourse/pull/2618

2 „Gefällt mir“