{"action":"created","issue":{"url":"https://api.github.com/repos/trife/Field-Book/issues/6","repository_url":"https://api.github.com/repos/trife/Field-Book","labels_url":"https://api.github.com/repos/trife/Field-Book/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/trife/Field-Book/issues/6/comments","events_url":"https://api.github.com/repos/trife/Field-Book/issues/6/events","html_url":"https://github.com/trife/Field-Book/issues/6","id":190817538,"number":6,"title":"wrong value is exported for photo traits","user":{"login":"bellerbrock","id":11297346,"avatar_url":"https://avatars.githubusercontent.com/u/11297346?v=3","gravatar_id":"","url":"https://api.github.com/users/bellerbrock","html_url":"https://github.com/bellerbrock","followers_url":"https://api.github.com/users/bellerbrock/followers","following_url":"https://api.github.com/users/bellerbrock/following{/other_user}","gists_url":"https://api.github.com/users/bellerbrock/gists{/gist_id}","starred_url":"https://api.github.com/users/bellerbrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellerbrock/subscriptions","organizations_url":"https://api.github.com/users/bellerbrock/orgs","repos_url":"https://api.github.com/users/bellerbrock/repos","events_url":"https://api.github.com/users/bellerbrock/events{/privacy}","received_events_url":"https://api.github.com/users/bellerbrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-21T19:48:58Z","updated_at":"2016-11-22T23:07:35Z","closed_at":null,"body":"It looks like photo traits are given the value recorded for the previous trait when they are exported in table format, rather than the photo's path. The database format has duplicate rows, the first with the same error, and the second with the correct path.\r\n\r\nI ran into this issue on a Nexus 5X running fieldBook version 3.2.5, then saw it again when I switched to a Nexus 7 running 3.2.4. The import, .trt, and export files I was using are attached as a zip file. \r\n[export_error_files.zip](https://github.com/trife/Field-Book/files/604586/export_error_files.zip)\r\n\r\nAssuming I'm not doing something wrong, would this be a simple fix? We'd like to use photo traits to start uploading pictures recorded with the fieldbook app to sgn databases."},"comment":{"url":"https://api.github.com/repos/trife/Field-Book/issues/comments/262393156","html_url":"https://github.com/trife/Field-Book/issues/6#issuecomment-262393156","issue_url":"https://api.github.com/repos/trife/Field-Book/issues/6","id":262393156,"user":{"login":"bellerbrock","id":11297346,"avatar_url":"https://avatars.githubusercontent.com/u/11297346?v=3","gravatar_id":"","url":"https://api.github.com/users/bellerbrock","html_url":"https://github.com/bellerbrock","followers_url":"https://api.github.com/users/bellerbrock/followers","following_url":"https://api.github.com/users/bellerbrock/following{/other_user}","gists_url":"https://api.github.com/users/bellerbrock/gists{/gist_id}","starred_url":"https://api.github.com/users/bellerbrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bellerbrock/subscriptions","organizations_url":"https://api.github.com/users/bellerbrock/orgs","repos_url":"https://api.github.com/users/bellerbrock/repos","events_url":"https://api.github.com/users/bellerbrock/events{/privacy}","received_events_url":"https://api.github.com/users/bellerbrock/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T23:07:35Z","updated_at":"2016-11-22T23:07:35Z","body":"No problem, here are the zipped files. After exporting the db, I reset the app, re-imported the field, recorded a couple of numeric traits and captured a single image. It looks like the same bug still happens on export.\r\n\r\n[database_export.zip](https://github.com/trife/Field-Book/files/607793/database_export.zip)\r\n"}}
{"actor":{"display_login":"bellerbrock"}}