melonhead901 / lab-specimen-transport-system

Automatically exported from code.google.com/p/lab-specimen-transport-system
0 stars 0 forks source link

Wrong picked up by name displayed in item history #166

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Added an item (identifier "i") on staging, added a new courier (named 
"courier"), assigned the courier a new route ("c's new route") that just stops 
at UW Med Center (I'm logged in as admin), on Android logged in as the new 
courier I made and entered the barcode manually in the scan screen.

On the website, the history says "Janet Fairbanks picked up item at UW Medical 
Center." but my new courier "Courier" picked it up.

Original issue reported on code.google.com by stein.za...@gmail.com on 2 Jun 2011 at 5:47

GoogleCodeExporter commented 8 years ago
Looking at the staging log, the user_id submitted to CheckInsController#create 
is 984610557, which is in fact janet's user_id, not courier's, so Android is 
sending the wrong user_id for some reason - possibly it's hard coded somewhere. 
It's also possible that the build on Kellen's phone is not the latest one, so 
maybe this is fixed for others..?

Original comment by stein.za...@gmail.com on 2 Jun 2011 at 6:02

GoogleCodeExporter commented 8 years ago
Kellen just figured it out - sending courier_id instead of user_id.

Original comment by stein.za...@gmail.com on 2 Jun 2011 at 6:04

GoogleCodeExporter commented 8 years ago

Original comment by melonhea...@gmail.com on 2 Jun 2011 at 6:07

GoogleCodeExporter commented 8 years ago

Original comment by stein.za...@gmail.com on 2 Jun 2011 at 6:22