{"action":"created","issue":{"url":"https://api.github.com/repos/informatics-isi-edu/chaise/issues/1041","repository_url":"https://api.github.com/repos/informatics-isi-edu/chaise","labels_url":"https://api.github.com/repos/informatics-isi-edu/chaise/issues/1041/labels{/name}","comments_url":"https://api.github.com/repos/informatics-isi-edu/chaise/issues/1041/comments","events_url":"https://api.github.com/repos/informatics-isi-edu/chaise/issues/1041/events","html_url":"https://github.com/informatics-isi-edu/chaise/issues/1041","id":219435090,"number":1041,"title":"JSON column support in chaise","user":{"login":"jrchudy","id":2932600,"avatar_url":"https://avatars1.githubusercontent.com/u/2932600?v=3","gravatar_id":"","url":"https://api.github.com/users/jrchudy","html_url":"https://github.com/jrchudy","followers_url":"https://api.github.com/users/jrchudy/followers","following_url":"https://api.github.com/users/jrchudy/following{/other_user}","gists_url":"https://api.github.com/users/jrchudy/gists{/gist_id}","starred_url":"https://api.github.com/users/jrchudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrchudy/subscriptions","organizations_url":"https://api.github.com/users/jrchudy/orgs","repos_url":"https://api.github.com/users/jrchudy/repos","events_url":"https://api.github.com/users/jrchudy/events{/privacy}","received_events_url":"https://api.github.com/users/jrchudy/received_events","type":"User","site_admin":false},"labels":[{"id":365193950,"url":"https://api.github.com/repos/informatics-isi-edu/chaise/labels/recordedit","name":"recordedit","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"nitishksahu","id":7412235,"avatar_url":"https://avatars0.githubusercontent.com/u/7412235?v=3","gravatar_id":"","url":"https://api.github.com/users/nitishksahu","html_url":"https://github.com/nitishksahu","followers_url":"https://api.github.com/users/nitishksahu/followers","following_url":"https://api.github.com/users/nitishksahu/following{/other_user}","gists_url":"https://api.github.com/users/nitishksahu/gists{/gist_id}","starred_url":"https://api.github.com/users/nitishksahu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitishksahu/subscriptions","organizations_url":"https://api.github.com/users/nitishksahu/orgs","repos_url":"https://api.github.com/users/nitishksahu/repos","events_url":"https://api.github.com/users/nitishksahu/events{/privacy}","received_events_url":"https://api.github.com/users/nitishksahu/received_events","type":"User","site_admin":false},"assignees":[{"login":"nitishksahu","id":7412235,"avatar_url":"https://avatars0.githubusercontent.com/u/7412235?v=3","gravatar_id":"","url":"https://api.github.com/users/nitishksahu","html_url":"https://github.com/nitishksahu","followers_url":"https://api.github.com/users/nitishksahu/followers","following_url":"https://api.github.com/users/nitishksahu/following{/other_user}","gists_url":"https://api.github.com/users/nitishksahu/gists{/gist_id}","starred_url":"https://api.github.com/users/nitishksahu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitishksahu/subscriptions","organizations_url":"https://api.github.com/users/nitishksahu/orgs","repos_url":"https://api.github.com/users/nitishksahu/repos","events_url":"https://api.github.com/users/nitishksahu/events{/privacy}","received_events_url":"https://api.github.com/users/nitishksahu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2017-04-05T01:19:49Z","updated_at":"2017-06-16T05:03:32Z","closed_at":null,"body":"Chaise applications need to properly support JSON columns. If a JSON column is present in a table definition and part of the visible columns list, the column needs to be submitted back to ermrest as a JSON object rather than a string representation of that object. This is the case for `recordedit`."},"comment":{"url":"https://api.github.com/repos/informatics-isi-edu/chaise/issues/comments/308933863","html_url":"https://github.com/informatics-isi-edu/chaise/issues/1041#issuecomment-308933863","issue_url":"https://api.github.com/repos/informatics-isi-edu/chaise/issues/1041","id":308933863,"user":{"login":"nitishksahu","id":7412235,"avatar_url":"https://avatars0.githubusercontent.com/u/7412235?v=3","gravatar_id":"","url":"https://api.github.com/users/nitishksahu","html_url":"https://github.com/nitishksahu","followers_url":"https://api.github.com/users/nitishksahu/followers","following_url":"https://api.github.com/users/nitishksahu/following{/other_user}","gists_url":"https://api.github.com/users/nitishksahu/gists{/gist_id}","starred_url":"https://api.github.com/users/nitishksahu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitishksahu/subscriptions","organizations_url":"https://api.github.com/users/nitishksahu/orgs","repos_url":"https://api.github.com/users/nitishksahu/repos","events_url":"https://api.github.com/users/nitishksahu/events{/privacy}","received_events_url":"https://api.github.com/users/nitishksahu/received_events","type":"User","site_admin":false},"created_at":"2017-06-16T05:03:32Z","updated_at":"2017-06-16T05:03:32Z","body":" To explain what I see in the ermrestjs code: \r\n\r\nIn ermrestjs, both the raw and formatted values are being computed but when the context is (**entry/edit**) in that case ermrestjs returns the **raw data** instead of formatted data, but when the case is **other** than (entry/edit) like (**detailed**) then the **formatted** value is returned to chaise. This is the reason that we observed the difference on display in the two links provided in the issue #1163 .\r\n\r\nFor datatype other than json (like integer/date) the unformatted data would have worked but if a JSON data is unformatted then we see [object Object] in the UI and that is the issue."}}
{"actor":{"display_login":"nitishksahu"}}