在全新的Plone 4.3.2上,我安装了这三款产品:
plone.app.contenttypes (1.1a1)
plone.app.event (1.0.4, with the dexterity and ploneintegration extras)
Solgema.fullcalendar (2.3.2)
从我的策略产品metadata.xml中我得到了:
<?xml version="1.0"?>
<metadata>
<version>1</version>
<dependencies>
<dependency>profile-plone.app.dexterity:default</dependency>
<dependency>profile-plone.app.contenttypes:default</dependency>
<dependency>profile-plone.app.event:default</dependency>
<dependency>profile-plone.app.event.ploneintegration:default</dependency>
<dependency>profile-Solgema.fullcalendar:default</dependency>
</dependencies>
</metadata>
现在,问题是,当我安装一切时我:
点击任意日期尝试添加新事件,我收到以下错误
追溯(最里面的):
{'args': (), 'container': <Event at /Plone/my-events/portal_factory/Event/event.2013-12-13.7249633222 used for /Plone/my-events>, 'context': <Event at /Plone/my-events/portal_factory/Event/event.2013-12-13.7249633222 used for /Plone/my-events>, 'default': <object object at 0x7f0fa971db80>, 'here': <Event at /Plone/my-events/portal_factory/Event/event.2013-12-13.7249633222 used for /Plone/my-events>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7f0f909c2a48>, 'request': <HTTPRequest, URL=http://localhost:8080/Plone/my-events/createSFEvent>, 'root': <Application at >, 'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xbd1f190>, 'traverse_subpath': [], 'user': <PropertiedUser 'admin'>, 'view': <Products.Five.metaclass.InlineFrameEditForm object at 0x7f0f98696c90>, 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7f0f900e1610>}
{'args': (), 'container': <Event at /Plone/my-events/portal_factory/Event/event.2013-12-13.7249633222 used for /Plone/my-events>, 'context': <Event at /Plone/my-events/portal_factory/Event/event.2013-12-13.7249633222 used for /Plone/my-events>, 'default': <object object at 0x7f0fa971db80>, 'here': <Event at /Plone/my-events/portal_factory/Event/event.2013-12-13.7249633222 used for /Plone/my-events>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7f0f909c2a48>, 'request': <HTTPRequest, URL=http://localhost:8080/Plone/my-events/createSFEvent>, 'root': <Application at >, 'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xbd1f190>, 'traverse_subpath': [], 'user': <PropertiedUser 'admin'>, 'view': <Products.Five.metaclass.InlineFrameEditForm object at 0x7f0f98696c90>, 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7f0f900e1610>}
AttributeError:'NoneType'对象没有属性'isoformat'
有没有人一起体验这三种产品?我错过了一些配置吗?
我尝试跟踪Solgema.fullcalendar产品的执行,我到达的部分是Solgema / fullcalendar / skins / solgemafullcalendar / createSFEvent.cpy被调用,在第33行,它调用SFAjax_base_edit,此视图失败,因为此事件尚未设置任何日期。
因为我正在创建一个新事件,所以不应该调用SFAjax_add_dx_event吗?
无论如何,这里有点丢失,任何指针都会非常感激。
答案 0 :(得分:0)
该问题很可能已在最近的Solgema.fullcalendar版本中修复。我无法使用Plone 4.3.4.1上的当前设置重现错误。我在我的buildout中使用了这些版本修复程序:
[versions]
plone.app.event = 1.1.4
plone.app.contenttypes = 1.1b3
Solgema.fullcalendar = 2.3.4
请注意,您不再需要profile-plone.app.event.ploneintegration:default
个人资料。