Skip to content

参照先テーブルのキーが座標型なカラムに対する SetValue() が失敗する #22

Open

Description

@s-yata

概要

参照先テーブルのキーが TokyoGeoPoint, WGS84GeoPoint であり,指定された値がキーとして存在しないとき, SetValue() により正しく値を設定することができません.

以下のコメントアウトを解除することで再現できます.

$ go test
--- FAIL: TestRefColumn (0.09s)
    grngo_test.go:558: DeepEqual() failed: value = {132293323 518509152}, storedValue = {0 0}
    grngo_test.go:578: [ fail ] keyType = "TokyoGeoPoint", refType = "Table"
    grngo_test.go:558: DeepEqual() failed: value = {91870030 516000717}, storedValue = {0 0}
    grngo_test.go:578: [ fail ] keyType = "WGS84GeoPoint", refType = "Table"
FAIL

Activity

  1. self-assigned this
    on Jul 31, 2015
  2. added this to the v0.2 milestone on Jul 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions