{"action":"created","issue":{"url":"https://api.github.com/repos/plonegovbr/brasil.gov.portal/issues/560","repository_url":"https://api.github.com/repos/plonegovbr/brasil.gov.portal","labels_url":"https://api.github.com/repos/plonegovbr/brasil.gov.portal/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/plonegovbr/brasil.gov.portal/issues/560/comments","events_url":"https://api.github.com/repos/plonegovbr/brasil.gov.portal/issues/560/events","html_url":"https://github.com/plonegovbr/brasil.gov.portal/issues/560","id":384414348,"node_id":"MDU6SXNzdWUzODQ0MTQzNDg=","number":560,"title":"AttributeError após atualizar de v2.1rc1 para v2.1rc2","user":{"login":"hvelarde","id":341393,"node_id":"MDQ6VXNlcjM0MTM5Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/341393?v=4","gravatar_id":"","url":"https://api.github.com/users/hvelarde","html_url":"https://github.com/hvelarde","followers_url":"https://api.github.com/users/hvelarde/followers","following_url":"https://api.github.com/users/hvelarde/following{/other_user}","gists_url":"https://api.github.com/users/hvelarde/gists{/gist_id}","starred_url":"https://api.github.com/users/hvelarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvelarde/subscriptions","organizations_url":"https://api.github.com/users/hvelarde/orgs","repos_url":"https://api.github.com/users/hvelarde/repos","events_url":"https://api.github.com/users/hvelarde/events{/privacy}","received_events_url":"https://api.github.com/users/hvelarde/received_events","type":"User","site_admin":false},"labels":[{"id":991127390,"node_id":"MDU6TGFiZWw5OTExMjczOTA=","url":"https://api.github.com/repos/plonegovbr/brasil.gov.portal/labels/2.x","name":"2.x","color":"fbca04","default":false},{"id":35128176,"node_id":"MDU6TGFiZWwzNTEyODE3Ng==","url":"https://api.github.com/repos/plonegovbr/brasil.gov.portal/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-26T16:38:06Z","updated_at":"2018-11-28T16:47:20Z","closed_at":null,"author_association":"MEMBER","body":"<!-- Por favor seja cortês e ajude os revisores removendo quaisquer perguntas não respondidas -->\r\n\r\n**Qual versão do produto você está usando e em qual sistema operacional?**\r\n\r\nPortal Padrão 2.1rc2\r\nPlone 4.3.18 (4320)\r\nCMF 2.2.10\r\nZope 2.13.28\r\nPython 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]\r\nPIL 3.3.3 (Pillow)\r\n\r\n**Possui plugins adicionados além dos definidos numa instalação padrão do Portal Padrão?**\r\n\r\nNão.\r\n\r\n**Está utilizando o buildout padrão como o usado em https://github.com/plonegovbr/portal.buildout?**\r\n\r\nSim.\r\n\r\n**Está utilizando o arquivo de versões de pinagens das dependências como definido em https://github.com/plonegovbr/portalpadrao.release e https://github.com/plonegovbr/brasil.gov.portal#requisitos?**\r\n\r\nSim.\r\n\r\n**A aplicação forneceu algum erro no console ou na interface?**\r\n\r\n```pytb\r\n2018-11-26T14:32:55 ERROR plone.subrequest Error handling subrequest to http://www.exemplo.gov.br/pagina-inicial/@@collective.cover.list/b6\r\n3c86a1-4d63-434b-95ad-0962bfefef42\r\nTraceback (most recent call last):\r\n  File \"/opt/plone/buildout/eggs/plone.subrequest-1.8.5-py2.7.egg/plone/subrequest/__init__.py\", line 156, in subrequest\r\n    bind=1\r\n  File \"/opt/plone/buildout/eggs/Zope2-2.13.28-py2.7.egg/ZPublisher/mapply.py\", line 78, in mapply\r\n    else: return object(*args)\r\n  File \"/opt/plone/buildout/eggs/plone.tiles-2.1-py2.7.egg/plone/tiles/esi.py\", line 87, in __call__\r\n    return self.index(*args, **kwargs)\r\n  File \"/opt/plone/buildout/eggs/Zope2-2.13.28-py2.7.egg/Products/Five/browser/pagetemplatefile.py\", line 125, in __call__\r\n    return self.im_func(im_self, *args, **kw)\r\n  File \"/opt/plone/buildout/eggs/Zope2-2.13.28-py2.7.egg/Products/Five/browser/pagetemplatefile.py\", line 59, in __call__\r\n    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),\r\n  File \"/opt/plone/buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py\", line 132, in pt_render\r\n    strictinsert=0, sourceAnnotations=sourceAnnotations\r\n  File \"/opt/plone/buildout/eggs/five.pt-2.2.5-py2.7.egg/five/pt/engine.py\", line 98, in __call__\r\n    return self.template.render(**kwargs)\r\n  File \"/opt/plone/buildout/eggs/z3c.pt-3.0-py2.7.egg/z3c/pt/pagetemplate.py\", line 163, in render\r\n    return base_renderer(**context)\r\n  File \"/opt/plone/buildout/eggs/Chameleon-2.25-py2.7.egg/chameleon/zpt/template.py\", line 261, in render\r\n    return super(PageTemplate, self).render(**vars)\r\n  File \"/opt/plone/buildout/eggs/Chameleon-2.25-py2.7.egg/chameleon/template.py\", line 191, in render\r\n    raise_with_traceback(exc, tb)\r\n  File \"/opt/plone/buildout/eggs/Chameleon-2.25-py2.7.egg/chameleon/template.py\", line 171, in render\r\n    self._render(stream, econtext, rcontext)\r\n  File \"/opt/plone/buildout/var/chameleon-cache/39b122d773e4eb1ae5b62830654fb0cb.py\", line 114, in render\r\n  File \"/opt/plone/buildout/eggs/five.pt-2.2.5-py2.7.egg/five/pt/expressions.py\", line 161, in __call__\r\n    return base()\r\n  File \"/opt/plone/buildout/eggs/collective.cover-1.8b2-py2.7.egg/collective/cover/tiles/list.py\", line 141, in is_empty\r\n    return self.results() == []\r\n  File \"/opt/plone/buildout/eggs/collective.cover-1.8b2-py2.7.egg/collective/cover/tiles/list.py\", line 120, in results\r\n    ordered_uuids = [(k, v) for k, v in uuids.items()]\r\nAttributeError: 'list' object has no attribute 'items'\r\n\r\n - Expression: \"view/is_empty\"\r\n - Filename:   ... 1.8b2-py2.7.egg/collective/cover/tiles/templates/list.pt\r\n - Location:   (line 7: col 27)\r\n - Source:     <body tal:define=\"is_empty view/is_empty\">\r\n                                          ^^^^^^^^^^^^^\r\n - Arguments:  repeat: {...} (0)\r\n               template: <ViewPageTemplateFile - at 0x7f0c4b16ead0>\r\n               views: <ViewMapper - at 0x7f0c4b16e790>\r\n               modules: <instance - at 0x7f0c587dc098>\r\n               args: <tuple - at 0x7f0c601d4050>\r\n               here: <ImplicitAcquisitionWrapper pagina-inicial at 0x7f0c4a410d70>\r\n               user: <ImplicitAcquisitionWrapper - at 0x7f0c4a410f50>\r\n               nothing: <NoneType - at 0x55d0439db560>\r\n               container: <ImplicitAcquisitionWrapper pagina-inicial at 0x7f0c4a410d70>\r\n               request: <instance - at 0x7f0c4123cfc8>\r\n               wrapped_repeat: <SafeMapping - at 0x7f0c411f40a8>\r\n               traverse_subpath: <list - at 0x7f0c49efd6c8>\r\n               default: <object - at 0x7f0c600ef580>\r\n               loop: {...} (0)\r\n               context: <ImplicitAcquisitionWrapper pagina-inicial at 0x7f0c4a410d70>\r\n               view: <ListTile collective.cover.list at 0x7f0c4b16ec90>\r\n               translate: <function translate at 0x7f0c41e64230>\r\n               root: <ImplicitAcquisitionWrapper Zope at 0x7f0c49bcbaa0>\r\n               options: {...} (0)\r\n               target_language: pt_BR\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/plonegovbr/brasil.gov.portal/issues/comments/442518157","html_url":"https://github.com/plonegovbr/brasil.gov.portal/issues/560#issuecomment-442518157","issue_url":"https://api.github.com/repos/plonegovbr/brasil.gov.portal/issues/560","id":442518157,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjUxODE1Nw==","user":{"login":"hvelarde","id":341393,"node_id":"MDQ6VXNlcjM0MTM5Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/341393?v=4","gravatar_id":"","url":"https://api.github.com/users/hvelarde","html_url":"https://github.com/hvelarde","followers_url":"https://api.github.com/users/hvelarde/followers","following_url":"https://api.github.com/users/hvelarde/following{/other_user}","gists_url":"https://api.github.com/users/hvelarde/gists{/gist_id}","starred_url":"https://api.github.com/users/hvelarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvelarde/subscriptions","organizations_url":"https://api.github.com/users/hvelarde/orgs","repos_url":"https://api.github.com/users/hvelarde/repos","events_url":"https://api.github.com/users/hvelarde/events{/privacy}","received_events_url":"https://api.github.com/users/hvelarde/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T16:47:20Z","updated_at":"2018-11-28T16:47:20Z","author_association":"MEMBER","body":"o upgrade step deve rodar automaticamente; precisamos alterar o código para isso acontecer."}}
{"actor":{"display_login":"hvelarde"}}