{"action":"opened","issue":{"url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/2500","repository_url":"https://api.github.com/repos/plone/Products.CMFPlone","labels_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/2500/labels{/name}","comments_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/2500/comments","events_url":"https://api.github.com/repos/plone/Products.CMFPlone/issues/2500/events","html_url":"https://github.com/plone/Products.CMFPlone/issues/2500","id":350245211,"node_id":"MDU6SXNzdWUzNTAyNDUyMTE=","number":2500,"title":"Folder contents error when a user a add content with \"widget\" id","user":{"login":"claytonc","id":1719539,"node_id":"MDQ6VXNlcjE3MTk1Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/1719539?v=4","gravatar_id":"","url":"https://api.github.com/users/claytonc","html_url":"https://github.com/claytonc","followers_url":"https://api.github.com/users/claytonc/followers","following_url":"https://api.github.com/users/claytonc/following{/other_user}","gists_url":"https://api.github.com/users/claytonc/gists{/gist_id}","starred_url":"https://api.github.com/users/claytonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claytonc/subscriptions","organizations_url":"https://api.github.com/users/claytonc/orgs","repos_url":"https://api.github.com/users/claytonc/repos","events_url":"https://api.github.com/users/claytonc/events{/privacy}","received_events_url":"https://api.github.com/users/claytonc/received_events","type":"User","site_admin":false},"labels":[{"id":129904896,"node_id":"MDU6TGFiZWwxMjk5MDQ4OTY=","url":"https://api.github.com/repos/plone/Products.CMFPlone/labels/01%20type:%20bug","name":"01 type: bug","color":"fa0000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/plone/Products.CMFPlone/milestones/3","html_url":"https://github.com/plone/Products.CMFPlone/milestone/3","labels_url":"https://api.github.com/repos/plone/Products.CMFPlone/milestones/3/labels","id":1133169,"node_id":"MDk6TWlsZXN0b25lMTEzMzE2OQ==","number":3,"title":"Plone 4.3","description":"","creator":{"login":"tisto","id":632105,"node_id":"MDQ6VXNlcjYzMjEwNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/632105?v=4","gravatar_id":"","url":"https://api.github.com/users/tisto","html_url":"https://github.com/tisto","followers_url":"https://api.github.com/users/tisto/followers","following_url":"https://api.github.com/users/tisto/following{/other_user}","gists_url":"https://api.github.com/users/tisto/gists{/gist_id}","starred_url":"https://api.github.com/users/tisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tisto/subscriptions","organizations_url":"https://api.github.com/users/tisto/orgs","repos_url":"https://api.github.com/users/tisto/repos","events_url":"https://api.github.com/users/tisto/events{/privacy}","received_events_url":"https://api.github.com/users/tisto/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":19,"state":"open","created_at":"2015-05-26T06:54:27Z","updated_at":"2018-08-14T01:03:39Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-08-14T01:03:39Z","updated_at":"2018-08-14T01:03:39Z","closed_at":null,"author_association":"MEMBER","body":"## BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)\r\n\r\n<!--\r\n\r\nRead https://plone.org/support/bugs first!\r\n\r\nPlease use the labels at Github, at least one of the types: bug, regression, question, enhancement.\r\n\r\nPlease include tracebacks, screenshots, code of debugging sessions or code that reproduces the issue if possible.\r\nThe best reproductions are in plain Plone installations without addons or at least with minimal needed addons installed.\r\n\r\n-->\r\n\r\n### What I did:\r\n\r\n1- Add content with  **widget** id.\r\n2 - Access  **folder_contents**\r\n\r\n### What I expect to happen: \r\nCheck if reserved name and rename.\r\nhttps://github.com/plone/Products.CMFPlone/blob/master/Products/CMFPlone/skins/plone_scripts/check_id.py#L68\r\n\r\n### What actually happened:\r\n\r\nTraceback (innermost last):\r\n  Module ZPublisher.Publish, line 138, in publish\r\n  Module ZPublisher.mapply, line 77, in mapply\r\n  Module ZPublisher.Publish, line 48, in call_object\r\n  Module plone.app.content.browser.foldercontents, line 53, in __call__\r\n  Module Products.Five.browser.metaconfigure, line 485, in __call__\r\n  Module Products.Five.browser.pagetemplatefile, line 125, in __call__\r\n  Module Products.Five.browser.pagetemplatefile, line 59, in __call__\r\n  Module zope.pagetemplate.pagetemplate, line 132, in pt_render\r\n   - Warning: Macro expansion failed\r\n   - Warning: <type 'exceptions.TypeError'>: __call__() takes exactly 1 argument (3 given)\r\n  Module zope.pagetemplate.pagetemplate, line 240, in __call__\r\n  Module zope.tal.talinterpreter, line 271, in __call__\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 888, in do_useMacro\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 533, in do_optTag_tal\r\n  Module zope.tal.talinterpreter, line 518, in do_optTag\r\n  Module zope.tal.talinterpreter, line 513, in no_tag\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 954, in do_defineSlot\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 533, in do_optTag_tal\r\n  Module zope.tal.talinterpreter, line 518, in do_optTag\r\n  Module zope.tal.talinterpreter, line 513, in no_tag\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 858, in do_defineMacro\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 954, in do_defineSlot\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 533, in do_optTag_tal\r\n  Module zope.tal.talinterpreter, line 518, in do_optTag\r\n  Module zope.tal.talinterpreter, line 513, in no_tag\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 954, in do_defineSlot\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 533, in do_optTag_tal\r\n  Module zope.tal.talinterpreter, line 518, in do_optTag\r\n  Module zope.tal.talinterpreter, line 513, in no_tag\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 946, in do_defineSlot\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 533, in do_optTag_tal\r\n  Module zope.tal.talinterpreter, line 518, in do_optTag\r\n  Module zope.tal.talinterpreter, line 513, in no_tag\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 852, in do_condition\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 533, in do_optTag_tal\r\n  Module zope.tal.talinterpreter, line 518, in do_optTag\r\n  Module zope.tal.talinterpreter, line 513, in no_tag\r\n  Module zope.tal.talinterpreter, line 343, in interpret\r\n  Module zope.tal.talinterpreter, line 867, in do_useMacro\r\n  Module zope.tales.tales, line 696, in evaluate\r\n   - URL: /home/plone/desenv/brasil.gov.tiles/eggs/plone.app.content-2.1.7-py2.7.egg/plone/app/content/browser/folder_contents.pt\r\n   - Line 29, Column 18\r\n   - Expression: <PythonExpr (here.widget('title', mode='view'))>\r\n   - Names:\r\n      {'args': (),\r\n       'container': <PloneSite at /plone>,\r\n       'context': <PloneSite at /plone>,\r\n       'default': <object object at 0xb7d0c9e8>,\r\n       'here': <PloneSite at /plone>,\r\n       'loop': {},\r\n       'nothing': None,\r\n       'options': {},\r\n       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb17f57ac>,\r\n       'request': <HTTPRequest, URL=http://localhost:8080/plone/folder_contents>,\r\n       'root': <Application at >,\r\n       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xb24cfb8c>,\r\n       'traverse_subpath': [],\r\n       'user': <PropertiedUser 'admin'>,\r\n       'view': <Products.Five.metaclass.SimpleViewClass from /home/plone/desenv/brasil.gov.tiles/eggs/plone.app.content-2.1.7-py2.7.egg/plone/app/content/browser/folder_contents.pt object at 0xaf937f6c>,\r\n       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xaf95beac>}\r\n  Module zope.tales.pythonexpr, line 59, in __call__\r\n   - __traceback_info__: (here.widget('title', mode='view'))\r\n  Module <string>, line 1, in <module>\r\nTypeError: __call__() takes exactly 1 argument (3 given)\r\n\r\n### What version of Plone/ Addons I am using:\r\nPlone 4.3.17\r\n\r\n"}}
{"actor":{"display_login":"claytonc"}}