jeddawson / geodatastore

Automatically exported from code.google.com/p/geodatastore
0 stars 0 forks source link

type error in geoserv.py in function editGeometries line 280 #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

in geoserv.py

line 280 
     gp = Geometry.get(key)
     if gp.userid == userid | user.is_current_user_admin():
should be 
     if gp.userId == userid | users.is_current_user_admin():

What steps will reproduce the problem?
1. login
2. select one geometry 
3. edit geometries

What is the expected output? What do you see instead?
      errors indicating Geometry has no attributes 'userid' and user has no 
      is_current_user_admin() function

What version of the product are you using? On what operating system?
      trunk head. 

Please provide any additional information below.

Original issue reported on code.google.com by yc.g...@gmail.com on 1 Jul 2008 at 6:27

GoogleCodeExporter commented 9 years ago
Assigning to Mano. Haven't replicated.

Original comment by pamela.fox on 13 Jul 2008 at 11:09

GoogleCodeExporter commented 9 years ago
This has been removed from the code, so it is no longer relevant.

Original comment by mano.ma...@gmail.com on 17 Jul 2008 at 12:17