Changing users in collect - Potential Bug

ODK Aggregate v1.4.3 instance running with a PostgreSQL 9.1 database. With
ODK Collect 1.4.3 (1042) tested on both Android 4.1.2 and 4.4.2.

I an encountering a problem where it seems that if you change the username
and password in "General Settings" that those changes are not put into
effect for any subsequently submitted forms until you hard exit from
Collect and re-open. Here are some steps to follow to replicate my problems.

  1. Start by logging in as "User_1" and download a form.

  2. Fill out a survey and send finalized form.

  3. Go to "General Settings" and change username and password to "User_2"

  4. Fill out a survey and send finalized form.

  5. Running a query shows both submitted forms are from "User_1"

  6. Hard exit out of ODK Collect

  7. Re-open ODK Collect fill out form and submit. You are prompted to enter
    username and password, but the username set in Step 3 is already set as
    default. Submitted form is now showing "User_2."

Am I changing users correctly? Is the only way for different users to take
effect is to hard exit after changing user in "General Settings?" Thanks.

Interesting. Yes, I have confirmed that this is the way the code was
written -- at start-up, it collects information about the device, user,
etc., and never re-loads that, so even though you change the value in step
3, the change is not seen until ODK Collect is shut down and restarted.

I have created this issue:
http://code.google.com/p/opendatakit/issues/detail?id=1037

Please "Star" it if you want to be notified of any changes/fixes for this
issue. No ETA for a fix.

Mitch

··· On Mon, Aug 4, 2014 at 12:37 PM, Jeffrey Meyers wrote:

ODK Aggregate v1.4.3 instance running with a PostgreSQL 9.1 database. With
ODK Collect 1.4.3 (1042) tested on both Android 4.1.2 and 4.4.2.

I an encountering a problem where it seems that if you change the username
and password in "General Settings" that those changes are not put into
effect for any subsequently submitted forms until you hard exit from
Collect and re-open. Here are some steps to follow to replicate my problems.

  1. Start by logging in as "User_1" and download a form.

  2. Fill out a survey and send finalized form.

  3. Go to "General Settings" and change username and password to "User_2"

  4. Fill out a survey and send finalized form.

  5. Running a query shows both submitted forms are from "User_1"

  6. Hard exit out of ODK Collect

  7. Re-open ODK Collect fill out form and submit. You are prompted to enter
    username and password, but the username set in Step 3 is already set as
    default. Submitted form is now showing "User_2."

Am I changing users correctly? Is the only way for different users to take
effect is to hard exit after changing user in "General Settings?" Thanks.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Great. Thanks for the quick response.

··· On Monday, August 4, 2014 12:54:34 PM UTC-7, Mitch Sundt wrote: > > Interesting. Yes, I have confirmed that this is the way the code was > written -- at start-up, it collects information about the device, user, > etc., and never re-loads that, so even though you change the value in step > 3, the change is not seen until ODK Collect is shut down and restarted. > > I have created this issue: > http://code.google.com/p/opendatakit/issues/detail?id=1037 > > Please "Star" it if you want to be notified of any changes/fixes for this > issue. No ETA for a fix. > > Mitch > > > > On Mon, Aug 4, 2014 at 12:37 PM, Jeffrey Meyers <mey...@pdx.edu > wrote: > >> ODK Aggregate v1.4.3 instance running with a PostgreSQL 9.1 database. >> With ODK Collect 1.4.3 (1042) tested on both Android 4.1.2 and 4.4.2. >> >> I an encountering a problem where it seems that if you change the >> username and password in "General Settings" that those changes are not put >> into effect for any subsequently submitted forms until you hard exit from >> Collect and re-open. Here are some steps to follow to replicate my problems. >> >> 1) Start by logging in as "User_1" and download a form. >> >> 2) Fill out a survey and send finalized form. >> >> 3) Go to "General Settings" and change username and password to "User_2" >> >> 4) Fill out a survey and send finalized form. >> >> 5) Running a query shows both submitted forms are from "User_1" >> >> 6) Hard exit out of ODK Collect >> >> 7) Re-open ODK Collect fill out form and submit. You are prompted to >> enter username and password, but the username set in Step 3 is already set >> as default. Submitted form is now showing "User_2." >> >> Am I changing users correctly? Is the only way for different users to >> take effect is to hard exit after changing user in "General Settings?" >> Thanks. >> >> >> >> >> >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >