Events 如何让Solgema.fullcalendar、plone.app.event和plone.app.contenttypes一起工作?

Events 如何让Solgema.fullcalendar、plone.app.event和plone.app.contenttypes一起工作?,events,fullcalendar,plone,dexterity,Events,Fullcalendar,Plone,Dexterity,在全新的Plone 4.3.2上,我安装了以下3种产品: plone.app.contenttypes (1.1a1) plone.app.event (1.0.4, with the dexterity and ploneintegration extras) Solgema.fullcalendar (2.3.2) 从my policy product metadata.xml中,我有以下内容: <?xml version="1.0"?> <metadata>

在全新的Plone 4.3.2上,我安装了以下3种产品:

plone.app.contenttypes (1.1a1)
plone.app.event (1.0.4, with the dexterity and ploneintegration extras)
Solgema.fullcalendar (2.3.2)
从my policy product 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>

1.
profile plone.app.dextrity:默认值
profile plone.app.contenttypes:默认值
profile plone.app.event:默认
profile plone.app.event.ploneintegration:默认值
profile Solgema.fullcalendar:默认值
现在的问题是,当我安装所有东西时,我:

  • 创建文件夹
  • 转到该文件夹,并应用“Solgema Fullcalendar”视图,该视图可以很好地渲染日历
  • 单击任意日期尝试添加新事件,我得到以下错误

    回溯(最里面的最后一个):

    • 模块ZPublisher.Publish,第138行,在Publish中
    • 模块ZPublisher.mapply,第77行,在mapply中
    • 模块ZPublisher.Publish,第48行,在call_对象中
    • Module Products.CMFFormController.FSControllerPythonScript,第107行,在调用中__
    • getNext中的模块Products.CMFFormController.ControllerBase,第231行
    • 模块Products.CMFFormController.Actions.TraverseTo,第38行,输入调用__
    • 模块ZPublisher.mapply,第77行,在mapply中
    • 模块ZPublisher.Publish,第48行,在call_对象中
    • 模块Solgema.fullcalendar.browser.dx,第38行,输入调用__
    • 模块Products.Five.browser.pagetemplatefile,第125行,在调用中__
    • 模块Products.Five.browser.pagetemplatefile,第59行,在调用中__
    • 模块zope.pagetemplate.pagetemplate,第132行,在pt_渲染中
    • 模块zope.pagetemplate.pagetemplate,第240行,在调用中__
    • 模块zope.tal.t interpreter,第271行,输入调用__
    • 模块zope.tal.t解释程序第343行
    • do_useMacro中的模块zope.tal.tInterpreter,第888行
    • 模块zope.tal.t解释程序第343行
    • do_optTag_tal中模块zope.tal.tInterpreter,第533行
    • do_optTag中第518行模块zope.tal.tInterpreter
    • 模块zope.tal.tInterpreter,第513行,无标签
    • 模块zope.tal.t解释程序第343行
    • 模块zope.tal.t第852行的interpreter处于do_状态
    • 模块zope.tal.t解释程序第343行
    • do_optTag_tal中模块zope.tal.tInterpreter,第533行
    • do_optTag中第518行模块zope.tal.tInterpreter
    • 模块zope.tal.tInterpreter,第513行,无标签
    • 模块zope.tal.t解释程序第343行
    • 模块zope.tal.t Interpreter,第946行,在do_defineSlot中
    • 模块zope.tal.t解释程序第343行
    • do_optTag_tal中模块zope.tal.tInterpreter,第533行
    • do_optTag中第518行模块zope.tal.tInterpreter
    • 模块zope.tal.tInterpreter,第513行,无标签
    • 模块zope.tal.t解释程序第343行
    • 模块zope.tal.tInterpreter,第620行,在do_insertText_tal中
    • evaluateText中模块Products.PageTemplates.Expressions,第225行
    • 模块zope.tales.tales,第696行,评估
      URL:/trabajo/buildout/eggs/Solgema.fullcalendar-2.3.2-py2.7.egg/Solgema/fullcalendar/browser/edit_dx_event.pt
      第9行第0列
      表达式:
      名称:{'args':(), “容器”:, “上下文”:, “默认值”:, “这里”:, '循环':{}, “没有”:没有, “选项”:{}, “重复”:, “请求”:, “根”:, “模板”:, “遍历子路径”:[], “用户”:, “视图”:, “视图”:
    • 模块Products.PageTemplates.Expressions,第383行,在调用中__
    • evaluateText中模块Products.PageTemplates.Expressions,第225行
    • 模块zope.tales.tales,第696行,评估
      URL:/trabajo/buildout/eggs/Solgema.fullcalendar-2.3.2-py2.7.egg/Solgema/fullcalendar/browser/edit_dx_event.pt
      第9行第0列
      表达式:
      名称:{'args':(), “容器”:, “上下文”:, “默认值”:, “这里”:, '循环':{}, “没有”:没有, “选项”:{}, “重复”:, “请求”:, “根”:, “模板”:, “遍历子路径”:[], “用户”:, “视图”:, “视图”:
    • 模块zope.tales.expressions,第217行,输入调用__
    • 模块Products.PageTemplates.Expressions,第155行,评估中
    • 渲染中的模块Products.PageTemplates.Expressions,第117行
    • isodate中第43行Solgema.fullcalendar.browser.dx模块
    AttributeError:“非类型”对象没有属性“isoformat”

有人一起使用过这3种产品吗?我是否缺少一些配置

我试图跟踪Solgema.fullcalendar产品的执行情况,找到了调用Solgema/fullcalendar/skins/solgemafullcalendar/createSFEvent.cpy的部分,在第33行下,它调用了SFAjax\u base\u edit,该视图失败,因为该事件尚未设置任何日期

既然我正在创建一个新事件,那么这不应该调用SFAjax\u add\u dx\u事件吗


无论如何,这里有点迷茫,任何指针都将不胜感激。

这个问题很可能已经在最近的Solgema.fullcalendar版本中得到了修复。我无法用Plone 4.3.4.1上的当前设置重现该错误。我正在构建中使用以下版本修复程序:

[versions]
plone.app.event = 1.1.4
plone.app.contenttypes = 1.1b3
Solgema.fullcalendar = 2.3.4

请注意,您不再需要
配置文件plone.app.event.ploneintegration:default
配置文件。

这似乎是一个错误,可能已经报告了:。如果您愿意,您可以在那里留下一张便条,说明您也遇到了此问题。您是否已经解决了此问题?在PloneConf/ScalingMountains谈话后,我有一张便条告诉您使用ftw.calendar而不是Solgema.fullcalendar。你试过了吗?啊,对不起,我没意识到这是去年的曲子! {'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>}
[versions]
plone.app.event = 1.1.4
plone.app.contenttypes = 1.1b3
Solgema.fullcalendar = 2.3.4