{"action":"created","issue":{"url":"https://api.github.com/repos/collective/collective.z3cform.datagridfield/issues/73","repository_url":"https://api.github.com/repos/collective/collective.z3cform.datagridfield","labels_url":"https://api.github.com/repos/collective/collective.z3cform.datagridfield/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/collective/collective.z3cform.datagridfield/issues/73/comments","events_url":"https://api.github.com/repos/collective/collective.z3cform.datagridfield/issues/73/events","html_url":"https://github.com/collective/collective.z3cform.datagridfield/issues/73","id":354307245,"node_id":"MDU6SXNzdWUzNTQzMDcyNDU=","number":73,"title":"IndexError after upgrade from 1.2 to 1.3.0","user":{"login":"sgeulette","id":1401623,"node_id":"MDQ6VXNlcjE0MDE2MjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1401623?v=4","gravatar_id":"","url":"https://api.github.com/users/sgeulette","html_url":"https://github.com/sgeulette","followers_url":"https://api.github.com/users/sgeulette/followers","following_url":"https://api.github.com/users/sgeulette/following{/other_user}","gists_url":"https://api.github.com/users/sgeulette/gists{/gist_id}","starred_url":"https://api.github.com/users/sgeulette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgeulette/subscriptions","organizations_url":"https://api.github.com/users/sgeulette/orgs","repos_url":"https://api.github.com/users/sgeulette/repos","events_url":"https://api.github.com/users/sgeulette/events{/privacy}","received_events_url":"https://api.github.com/users/sgeulette/received_events","type":"User","site_admin":false},"labels":[{"id":242306069,"node_id":"MDU6TGFiZWwyNDIzMDYwNjk=","url":"https://api.github.com/repos/collective/collective.z3cform.datagridfield/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"open","locked":false,"assignee":{"login":"jensens","id":157140,"node_id":"MDQ6VXNlcjE1NzE0MA==","avatar_url":"https://avatars1.githubusercontent.com/u/157140?v=4","gravatar_id":"","url":"https://api.github.com/users/jensens","html_url":"https://github.com/jensens","followers_url":"https://api.github.com/users/jensens/followers","following_url":"https://api.github.com/users/jensens/following{/other_user}","gists_url":"https://api.github.com/users/jensens/gists{/gist_id}","starred_url":"https://api.github.com/users/jensens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensens/subscriptions","organizations_url":"https://api.github.com/users/jensens/orgs","repos_url":"https://api.github.com/users/jensens/repos","events_url":"https://api.github.com/users/jensens/events{/privacy}","received_events_url":"https://api.github.com/users/jensens/received_events","type":"User","site_admin":false},"assignees":[{"login":"jensens","id":157140,"node_id":"MDQ6VXNlcjE1NzE0MA==","avatar_url":"https://avatars1.githubusercontent.com/u/157140?v=4","gravatar_id":"","url":"https://api.github.com/users/jensens","html_url":"https://github.com/jensens","followers_url":"https://api.github.com/users/jensens/followers","following_url":"https://api.github.com/users/jensens/following{/other_user}","gists_url":"https://api.github.com/users/jensens/gists{/gist_id}","starred_url":"https://api.github.com/users/jensens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensens/subscriptions","organizations_url":"https://api.github.com/users/jensens/orgs","repos_url":"https://api.github.com/users/jensens/repos","events_url":"https://api.github.com/users/jensens/events{/privacy}","received_events_url":"https://api.github.com/users/jensens/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-08-27T12:55:20Z","updated_at":"2018-10-23T12:48:25Z","closed_at":null,"author_association":"MEMBER","body":"Hi,\r\n\r\nI have multiple forms displaying registry records with datagrid field, like https://github.com/collective/collective.contact.plonegroup/blob/44e8011190bc2f0f027152e70430f40b5bf4be84/src/collective/contact/plonegroup/browser/settings.py#L129\r\n\r\nAfter upgrade to 1.3.0, I have the following error on form view:\r\n```\r\nModule zope.tales.tales, line 696, in evaluate\r\n   - URL: /srv/cache/eggs/plone.app.z3cform-0.7.7-py2.7.egg/plone/app/z3cform/templates/multi_input.pt\r\n   - Line 3, Column 8\r\n   - Expression: <PythonExpr (view.key_widgets[repeat['widget'].index()])>\r\n   - Names:\r\n      {'args': (),\r\n       'context': <RecordsProxy for collective.contact.plonegroup.browser.settings.IContactPlonegroupConfig>,\r\n       'default': <object object at 0x7f71623bcc10>,\r\n       'loop': {},\r\n       'nothing': None,\r\n       'options': {},\r\n       'repeat': {},\r\n       'request': <HTTPRequest, URL=http://localhost:8089/troisponts/@@contact-plonegroup-settings>,\r\n       'template': <zope.browserpage.viewpagetemplatefile.ViewPageTemplateFile object at 0x7f714af497d0>,\r\n       'view': <DataGridField 'form.widgets.functions'>,\r\n       'views': <zope.browserpage.viewpagetemplatefile.ViewMapper object at 0x7f71418d0950>}\r\n  Module zope.tales.pythonexpr, line 59, in __call__\r\n   - __traceback_info__: (view.key_widgets[repeat['widget'].index()])\r\n  Module <string>, line 1, in <module>\r\nIndexError: list index out of range\r\n\r\n```\r\n\r\nSame form is working on a new site...\r\n"},"comment":{"url":"https://api.github.com/repos/collective/collective.z3cform.datagridfield/issues/comments/432232512","html_url":"https://github.com/collective/collective.z3cform.datagridfield/issues/73#issuecomment-432232512","issue_url":"https://api.github.com/repos/collective/collective.z3cform.datagridfield/issues/73","id":432232512,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjIzMjUxMg==","user":{"login":"idgserpro","id":8203476,"node_id":"MDQ6VXNlcjgyMDM0NzY=","avatar_url":"https://avatars3.githubusercontent.com/u/8203476?v=4","gravatar_id":"","url":"https://api.github.com/users/idgserpro","html_url":"https://github.com/idgserpro","followers_url":"https://api.github.com/users/idgserpro/followers","following_url":"https://api.github.com/users/idgserpro/following{/other_user}","gists_url":"https://api.github.com/users/idgserpro/gists{/gist_id}","starred_url":"https://api.github.com/users/idgserpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idgserpro/subscriptions","organizations_url":"https://api.github.com/users/idgserpro/orgs","repos_url":"https://api.github.com/users/idgserpro/repos","events_url":"https://api.github.com/users/idgserpro/events{/privacy}","received_events_url":"https://api.github.com/users/idgserpro/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T12:48:25Z","updated_at":"2018-10-23T12:48:25Z","author_association":"MEMBER","body":"> But recent changes like https://github.com/collective/collective.z3cform.datagridfield/blob/master/src/collective/z3cform/datagridfield/static/datagridfield.js#L179\r\n\r\n@jensens Any chance of working with Plone 4?"}}
{"actor":{"display_login":"idgserpro"}}