Changeset 3793 for framework

Show
Ignore:
Timestamp:
06/20/11 10:13:32 (11 months ago)
Author:
elemoine
Message:

Map Fish? protocol - support feature ids of type string, issue reported by Jason Sanford, r=bbinet (closes #631)

Location:
framework/server/trunk/mapfish
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • framework/server/trunk/mapfish/protocol.py

    r3785 r3793  
    302302            create = False 
    303303            obj = None 
    304             if isinstance(feature.id, int): 
     304            if feature.id is not None: 
    305305                obj = self.Session.query(self.mapped_class).get(feature.id) 
    306306            if self.before_create is not None: 
  • framework/server/trunk/mapfish/tests/test_oracle.py

    r3757 r3793  
    5858 
    5959#engine = create_engine('oracle://gis:gis@localhost:1521/gis', echo=True) 
    60 engine = create_engine('oracle://system:system@172.16.103.136:1521/gis', echo=True) 
     60engine = create_engine('oracle://system:system@172.16.53.129:1521/gis', echo=True) 
    6161 
    6262metadata = MetaData(engine)