{"action":"created","issue":{"url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/issues/37","repository_url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms","labels_url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/issues/37/comments","events_url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/issues/37/events","html_url":"https://github.com/dnadesign/silverstripe-elemental-userforms/issues/37","id":389130369,"node_id":"MDU6SXNzdWUzODkxMzAzNjk=","number":37,"title":"Can't publish elemental page","user":{"login":"maxime-rainville","id":1168676,"node_id":"MDQ6VXNlcjExNjg2NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1168676?v=4","gravatar_id":"","url":"https://api.github.com/users/maxime-rainville","html_url":"https://github.com/maxime-rainville","followers_url":"https://api.github.com/users/maxime-rainville/followers","following_url":"https://api.github.com/users/maxime-rainville/following{/other_user}","gists_url":"https://api.github.com/users/maxime-rainville/gists{/gist_id}","starred_url":"https://api.github.com/users/maxime-rainville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxime-rainville/subscriptions","organizations_url":"https://api.github.com/users/maxime-rainville/orgs","repos_url":"https://api.github.com/users/maxime-rainville/repos","events_url":"https://api.github.com/users/maxime-rainville/events{/privacy}","received_events_url":"https://api.github.com/users/maxime-rainville/received_events","type":"User","site_admin":false},"labels":[{"id":730323596,"node_id":"MDU6TGFiZWw3MzAzMjM1OTY=","url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/labels/affects/v4","name":"affects/v4","color":"5319e7","default":false},{"id":730323623,"node_id":"MDU6TGFiZWw3MzAzMjM2MjM=","url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/labels/change/patch","name":"change/patch","color":"fef2c0","default":false},{"id":730323624,"node_id":"MDU6TGFiZWw3MzAzMjM2MjQ=","url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/labels/effort/easy","name":"effort/easy","color":"c2e0c6","default":false},{"id":730323702,"node_id":"MDU6TGFiZWw3MzAzMjM3MDI=","url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/labels/impact/high","name":"impact/high","color":"eb6420","default":false},{"id":730323822,"node_id":"MDU6TGFiZWw3MzAzMjM4MjI=","url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/labels/type/UX","name":"type/UX","color":"006b75","default":false},{"id":638684709,"node_id":"MDU6TGFiZWw2Mzg2ODQ3MDk=","url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/labels/type/bug","name":"type/bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-10T04:13:43Z","updated_at":"2018-12-12T14:39:56Z","closed_at":null,"author_association":"NONE","body":"# Affected  version\r\n* SilverStripe 4.3-RC1\r\n* dnadesign/silverstripe-elemental 4.0.0-beta1\r\n* dnadesign/silverstripe-elemental-userforms 3.0.0-beta1\r\n* with the Kitchen sink installed\r\n\r\n# Description\r\nIf you try to publish a content block page with a user form block, you get a 500 internal server error.\r\n\r\n```\r\n[Warning] Invalid argument supplied for foreach()\r\nPOST /admin/pages/edit/EditForm/17/\r\n\r\nLine 232 in /home/maxime/Projects/ss43rc/vendor/dnadesign/silverstripe-elemental/src/Forms/ElementalAreaField.php\r\n```\r\n\r\n# Steps to reproduce\r\n* Create a elemental page\r\n* Add a user form block.\r\n* Add a title and a single text field to you block.\r\n* Try publishing your page.\r\n\r\nhttps://youtu.be/aYuDTgeFO0Y"},"comment":{"url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/issues/comments/446610329","html_url":"https://github.com/dnadesign/silverstripe-elemental-userforms/issues/37#issuecomment-446610329","issue_url":"https://api.github.com/repos/dnadesign/silverstripe-elemental-userforms/issues/37","id":446610329,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjYxMDMyOQ==","user":{"login":"robbieaverill","id":5170590,"node_id":"MDQ6VXNlcjUxNzA1OTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5170590?v=4","gravatar_id":"","url":"https://api.github.com/users/robbieaverill","html_url":"https://github.com/robbieaverill","followers_url":"https://api.github.com/users/robbieaverill/followers","following_url":"https://api.github.com/users/robbieaverill/following{/other_user}","gists_url":"https://api.github.com/users/robbieaverill/gists{/gist_id}","starred_url":"https://api.github.com/users/robbieaverill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbieaverill/subscriptions","organizations_url":"https://api.github.com/users/robbieaverill/orgs","repos_url":"https://api.github.com/users/robbieaverill/repos","events_url":"https://api.github.com/users/robbieaverill/events{/privacy}","received_events_url":"https://api.github.com/users/robbieaverill/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T14:39:56Z","updated_at":"2018-12-12T14:39:56Z","author_association":"CONTRIBUTOR","body":"I suspect there'll be a workaround for this involving a combination of page publishing and flushing, but haven't tested yet"}}
{"actor":{"display_login":"robbieaverill"}}