trentinodigitale / civi.ci

0 stars 0 forks source link

Add registration as organisation #31

Open gianpaolom opened 9 years ago

gianpaolom commented 9 years ago

We need to change registration flow to allow reigistration of organisation instead of people

We shall enable this also on Timu

ghost commented 9 years ago

This feature is added. Please check at devserver : http://dev-pianosalute.partecipa.tn.it/ Commit url : https://github.com/informaticatrentina/civi.ci/commit/fa1f6d539f969a4d77cd6785a53389bb85849f89, https://github.com/informaticatrentina/backendconnector/commit/8aa1556ed3b41a2481d8729c7ab91f4a3bc2decf, https://github.com/informaticatrentina/civici-pianosalute/commit/3b80dd319a42e4783d37d2716cec122487d12e7f

gianpaolom commented 9 years ago

@harshgirdhar

I checked this and tried to register an org, then create some proposal/opinion and the flow works. I was just noticing a thing in mongo, as I wanted to delete the proposal created and so I was searching in the aggregator against proposal's author.name, and I was not able to find it. So I've seen that in the aggregator, author name is the name of the organisation, followed by 2 white spaces. You can check it for

ObjectId("5549cbf99db2961f06568a5e")

on dev server. I noticed this also for things created when you use a nickname (but this time the white space is just one)

annastefani commented 9 years ago

@gianpaolom I checket but there are some problems and errors. See errors sent by email in date June 19, 2015