{"action":"created","issue":{"url":"https://api.github.com/repos/stemey/dojo-generate-form/issues/47","labels_url":"https://api.github.com/repos/stemey/dojo-generate-form/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/stemey/dojo-generate-form/issues/47/comments","events_url":"https://api.github.com/repos/stemey/dojo-generate-form/issues/47/events","html_url":"https://github.com/stemey/dojo-generate-form/issues/47","id":56358951,"number":47,"title":"\"this.options\" is null when mapped primitives nested in groups during set data","user":{"login":"shahuwang","id":1522963,"avatar_url":"https://avatars.githubusercontent.com/u/1522963?v=3","gravatar_id":"","url":"https://api.github.com/users/shahuwang","html_url":"https://github.com/shahuwang","followers_url":"https://api.github.com/users/shahuwang/followers","following_url":"https://api.github.com/users/shahuwang/following{/other_user}","gists_url":"https://api.github.com/users/shahuwang/gists{/gist_id}","starred_url":"https://api.github.com/users/shahuwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahuwang/subscriptions","organizations_url":"https://api.github.com/users/shahuwang/orgs","repos_url":"https://api.github.com/users/shahuwang/repos","events_url":"https://api.github.com/users/shahuwang/events{/privacy}","received_events_url":"https://api.github.com/users/shahuwang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-03T10:23:58Z","updated_at":"2015-02-04T12:59:27Z","closed_at":null,"body":"Hi, I ran into this problem when processing this schema:\r\n```\r\n{\r\n    \"attributes\": [\r\n        {\r\n            \"label\": \"test\",\r\n            \"code\": \"value\",\r\n            \"type\": \"object\",\r\n            \"typeProperty\": \"type\",\r\n            \"groups\": [\r\n                {\r\n                    \"code\": \"test2\",\r\n                    \"label\": \"test2\",\r\n                    \"attributes\": [\r\n                        {\r\n                            \"type\": \"string\",\r\n                            \"label\": \"language\",\r\n                            \"values\": [\r\n                                \"english\",\r\n                                \"german\"\r\n                            ],\r\n                            \"code\": \"language\"\r\n                        },\r\n                        {\r\n                            \"type\": \"string\",\r\n                            \"label\": \"salutation\",\r\n                            \"mapped_attribute\": \"language\",\r\n                            \"mapped_values\": {\r\n                                \"english\": [\r\n                                    \"Mr.\",\r\n                                    \"Mrs.\"\r\n                                ],\r\n                                \"german\": [\r\n                                    \"Herr\",\r\n                                    \"Frau\"\r\n                                ]\r\n                            },\r\n                            \"code\": \"salutation\"\r\n                        }\r\n                    ]\r\n                }\r\n            ]\r\n        }\r\n    ]\r\n}\r\n```\r\nit is ok to create an editor with this schema, but when I want to set PlainValue:\r\nvar data = {\"value\":{\"language\":\"german\", \"salutation\":\"Frau\", \"type\":\"test2\"}};\r\neditor.setMetaAndPlainValue(schema,data);\r\n\r\nI got an error:\r\nTypeError: Cannot read property 'length' of null {stack: (...), message: \"Cannot read property 'length' of null\"}message: \"Cannot read property 'length' of null\"stack: (...)get stack: function () { [native code] }set stack: function () { [native code] }__proto__: Error \"TypeError: Cannot read property 'length' of null\r\n\r\nI don't know why this happened, wish to be fixed quickly, thanks!"},"comment":{"url":"https://api.github.com/repos/stemey/dojo-generate-form/issues/comments/72850167","html_url":"https://github.com/stemey/dojo-generate-form/issues/47#issuecomment-72850167","issue_url":"https://api.github.com/repos/stemey/dojo-generate-form/issues/47","id":72850167,"user":{"login":"stemey","id":1496787,"avatar_url":"https://avatars.githubusercontent.com/u/1496787?v=3","gravatar_id":"","url":"https://api.github.com/users/stemey","html_url":"https://github.com/stemey","followers_url":"https://api.github.com/users/stemey/followers","following_url":"https://api.github.com/users/stemey/following{/other_user}","gists_url":"https://api.github.com/users/stemey/gists{/gist_id}","starred_url":"https://api.github.com/users/stemey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stemey/subscriptions","organizations_url":"https://api.github.com/users/stemey/orgs","repos_url":"https://api.github.com/users/stemey/repos","events_url":"https://api.github.com/users/stemey/events{/privacy}","received_events_url":"https://api.github.com/users/stemey/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T12:59:27Z","updated_at":"2015-02-04T12:59:27Z","body":"Here is the explanation : https://rawgit.com/"}}