collective / collective.ploneboard Goto Github PK
View Code? Open in Web Editor NEWWeb board for the Plone Content Management System
Web board for the Plone Content Management System
The board currently only really works in German. There are some German terms hard-coded in the templates. A locales dir is in place. First, we should make sure the board works well in English.
Any takers?
2018-11-05 17:55:28 ERROR Zope.SiteErrorLog 1541447728.780.556996271402 http://rodrigo.dedyn.io:58080/Plone/board/view
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module collective.ploneboard.browser.messageboard, line 12, in __call__
Module Products.Five.browser.pagetemplatefile, line 125, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 137, in pt_render
Module five.pt.engine, line 98, in __call__
Module z3c.pt.pagetemplate, line 163, in render
Module chameleon.zpt.template, line 261, in render
Module chameleon.template, line 191, in render
Module chameleon.template, line 171, in render
Module 405ea06e87232a55436c4ebd25173e3b.py, line 797, in render
Module 9cfa7a59a836de9940eedf5028816633.py, line 1223, in render_master
Module 9cfa7a59a836de9940eedf5028816633.py, line 458, in render_content
Module 405ea06e87232a55436c4ebd25173e3b.py, line 785, in __fill_main
Module 405ea06e87232a55436c4ebd25173e3b.py, line 604, in render_main
KeyError: 'last_comment_date'
- Expression: "python:toLocalizedTime(conversation['last_comment_date'])"
- Filename: /home/rodfersou/.projects/collective.ploneboard/src/collective/ploneboard/browser/messageboard.pt:56:54
- Source: ... ="python:toLocalizedTime(conversation['last_comment_date'])" ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Arguments: repeat: {...} (0)
template: <ViewPageTemplateFile - at 0x7fcb9a331c90>
views: <ViewMapper - at 0x7fcb99b2c250>
modules: <instance - at 0x7fcbaf8a0128>
args: <tuple - at 0x7fcbb3c90050>
here: <ImplicitAcquisitionWrapper board at 0x7fcb99deff00>
user: <ImplicitAcquisitionWrapper - at 0x7fcba0dceaa0>
nothing: <NoneType - at 0x7fcbb4456de0>
container: <ImplicitAcquisitionWrapper board at 0x7fcb99deff00>
request: <instance - at 0x7fcba146c5f0>
wrapped_repeat: <SafeMapping - at 0x7fcb998f1c58>
traverse_subpath: <list - at 0x7fcb99df6998>
default: <object - at 0x7fcbb3c66550>
loop: {...} (2)
context: <ImplicitAcquisitionWrapper board at 0x7fcb99deff00>
view: <MessageboardView view at 0x7fcb99b2c1d0>
translate: <function translate at 0x7fcb99ae2398>
root: <ImplicitAcquisitionWrapper Zope at 0x7fcba0fcde10>
options: {...} (0)
target_language: <NoneType - at 0x7fcbb4456de0>
Allow members to add attachments to comments and replies to comments.
@datakurre you told me the other day that you have a solution for this, right? Would you mind sharing that code so we can integrate it into collective.ploneboard?
We do have functional acceptance tests. Though, I'd prefer to have some Robot Framework tests. I am happy to set up the basics, I can even write the top level TDD scenarios, but it would be great if someone could step up to write the actual tests.
Any takers?
Steps to reproduce:
FYI: I commented out the "# of conversations" column for now. See: 257ca00
I'm getting a ConfigurationConflictError and my instance fails to start after installing collective.ploneboard on Plone 5.1.4
Traceback below
File "/home/david/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 620, in execute_actions
for action in resolveConflicts(self.actions):
File "/home/david/plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1527, in resolveConflicts
raise ConfigurationConflictError(conflicts)
zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions
For: ('adapter', (<InterfaceClass zope.interface.Interface>, <InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>, <class 'plone.app.discussion.browser.comments.CommentForm'>), <InterfaceClass plone.z3cform.fieldsets.interfaces.IFormExtender>, u'')
File "/home/david/acme.site/src/collective.ploneboard/src/collective/ploneboard/browser/configure.zcml", line 11.2-13.66
<adapter
factory=".commentextender.CommentExtender"
provides="plone.z3cform.fieldsets.interfaces.IFormExtender" />
File "/home/david/plone/buildout-cache/eggs/plone.app.discussion-3.0.8-py2.7.egg/plone/app/discussion/browser/captcha.zcml", line 18.8-20.74
<adapter
factory=".captcha.CaptchaExtender"
provides="plone.z3cform.fieldsets.interfaces.IFormExtender" />
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.