Ticket #657 (closed defect: fixed)
node model does not match current migrations
|Reported by:||richard@…||Owned by:||nickblack1@…|
amf_controller is throwing an error:
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active_record/attribute_methods.rb:205:in `method_missing' /app/models/node.rb:153:in `tags_as_hash' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active_record/associations/association_proxy.rb:124:in `send'
Currently the (unrewritten) putway (L352/353, 364/365, and calls to readwayquery and readwayquery_old), putpoi (L467/468, 471/472), getway_old (call to readwayquery_old), readwayquery (L550-560) and readwayquery_old (L568-621) contain SQL referring to the tags column in nodes.
The independent references in putway and putpoi are easily patched pending the rewrite into Rails. readwayquery and readwayquery_old currently get the nodes as part of a single query with a join to way_nodes (or current_way_nodes), so I guess are going to be harder.
- Summary changed from tags_as_hash missing to amf_controller needs node_tags support
- Owner changed from steve@… to nickblack1@…
- Component changed from potlatch (flash editor) to api
- Summary changed from amf_controller needs node_tags support to node model does not match current migrations