[Pkg-zope-developers] Bug#300500: marked as done (zope-cmfforum:
Forum search form in Plone does not work.)
Debian Bug Tracking System
owner at bugs.debian.org
Thu Sep 15 13:18:14 UTC 2005
Your message dated Thu, 15 Sep 2005 15:00:46 +0200
with message-id <1126789246.9052.9.camel at localhost.localdomain>
and subject line closing fixed-in-experimental bugs
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Mar 2005 04:26:17 +0000
>From per.bojsen at bojsen.us Sat Mar 19 20:26:16 2005
Return-path: <per.bojsen at bojsen.us>
Received: from h00a0cc5b5dc5.ne.client2.attbi.com (lothlorien.bojsen.us) [24.62.140.9]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DCs12-0008Jb-00; Sat, 19 Mar 2005 20:26:16 -0800
Received: from lothlorien.bojsen.us (bojsen at localhost [127.0.0.1])
(authenticated bits=128)
by lothlorien.bojsen.us (8.13.3/8.13.3/Debian-6) with ESMTP id j2K4Pjkv028728
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL)
for <submit at bugs.debian.org>; Sat, 19 Mar 2005 23:25:45 -0500
Received: (from bojsen at localhost)
by lothlorien.bojsen.us (8.13.3/8.13.3/Submit) id j2K4Picb028725;
Sat, 19 Mar 2005 23:25:44 -0500
Message-Id: <200503200425.j2K4Picb028725 at lothlorien.bojsen.us>
X-Authentication-Warning: lothlorien.bojsen.us: bojsen set sender to per.bojsen at comcast.net using -f
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Per Bojsen <per.bojsen at bojsen.us>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: zope-cmfforum: Forum search form in Plone does not work.
X-Mailer: reportbug 3.8
Date: Sat, 19 Mar 2005 23:25:44 -0500
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
HTML_MESSAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: zope-cmfforum
Version: 1.0-8
Severity: important
The forum search form when using zope-cmfforum in a Plone site does
not work. The search form fails to display and I get the following
error when clicking the search button:
------- Start of error message
Time
2005/03/19 23:08:22.539 US/Eastern
User Name (User Id)
bojsen (bojsen)
Request URL
http://lothlorien/zope/experiments/plone_test/forums/wasting/forum_search_form
Exception Type
PTRuntimeError
Exception Value
Page Template forum_search_form has errors.
Traceback (innermost last):
* Module ZPublisher.Publish, line 98, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module Shared.DC.Scripts.Bindings, line 306, in __call__
* Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 191, in _exec
* Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
* Module Products.PageTemplates.PageTemplate, line 87, in pt_render
<FSPageTemplate at /experiments/plone_test/forum_search_form used for /experiments/plone_test/forums/wasting>
Warning: Compilation failed
Warning: TAL.TALDefs.TALError: Python expression error: unexpected EOF while parsing (line 1) in expression 'python:test(container.portal_membership.isAnonymousUser(), 0, 1);', at line 54, column 25
PTRuntimeError: Page Template forum_search_form has errors.
------- End of error message
The error occurs in line 54 of the
/usr/lib/zope/lib/python/Products/CMFForum/skins/zpt_forum/forum_search_form.pt
file. I removed the semi-colon at the end of the Python expression
and that got me past the error above. Here is the diff:
--- /tmp/forum_search_form.pt.orig 2005-03-19 23:19:12.435263915 -0500
+++ /tmp/forum_search_form.pt 2005-03-19 23:19:25.505373745 -0500
@@ -52,7 +52,7 @@
lastmonth python:(today-31);
ever python:DateTime('1970/01/01');">
<option value="#"
- tal:condition="python:test(container.portal_membership.isAnonymousUser(), 0, 1);"
+ tal:condition="python:test(container.portal_membership.isAnonymousUser(), 0, 1)"
tal:attributes="value python:container.portal_membership.getAuthenticatedMember().last_login_time"> Last login </option>
<option value="#" tal:attributes="value yesterday"> Yesterday </option>
<option value="#" tal:attributes="value lastweek"> Last week </option>
With the above diff, the search form gets displayed. However, no
matter what search term I try, I never get any results. It always
says ` No Results were Found'. But when I repeat the search using the
same search term in the global site search form at the top left, the
search successfully finds the forum posts that matches the term. I
have no patch for this problem.
Zope and Plone packages I have installed:
ii plone 2.0.4-3 content management system based on zope and
ii zope-cmfplone 2.0.4-3 content management system based on zope and
ii zope-plonetran 0.6-2 translation files for plone 2.0
ii zope 2.6.4-1.6 Open Source Web Application Server
ii zope-book 20040910-1 Zope Open Content Book
ii zope-btreefold 1.0.1-5 Zope folder that can efficiently contain man
ii zope-cmf1.4 1.4.7-3 zope content management framework (CMF), 1.4
ii zope-cmfaction 0.9-2 Actions and icons add-on for Zope Content Ma
ii zope-cmfcalend 1.4.7-3 zope cmf calendar, 1.4 branch
ii zope-cmfcore1. 1.4.7-3 zope cmf core services, 1.4 branch
ii zope-cmfdefaul 1.4.7-3 zope cmf default (basic) content, 1.4 branch
ii zope-cmfformco 1.0.3-3 zope form validation for cmf and plone
ii zope-cmfforum 1.0-8 forum module for zope content management fra
ii zope-cmfphoto 0.5.0-5 photo module for zope content management fra
ii zope-cmfphotoa 0.5.0-5 photo album module for zope content manageme
ii zope-cmfplone 2.0.4-3 content management system based on zope and
ii zope-cmfquicki 1.5.0-2 zope add-on to easy install cmf/plone produc
ii zope-cmftopic1 1.4.7-3 zope cmf topic, 1.4 branch
ii zope-dcworkflo 1.4.7-3 fully customizable workflow for cmf-based pr
ii zope-devguide 20040104-2 Zope Developer's Guide
ii zope-docfinder 0.4.1-1 Find documentation for a Zope product using
ii zope-epoz 0.9.0-1 cross-browser WYSIWYG editor for Zope
ii zope-extfile 1.4.2-2 Stores large files outside Zope database
ii zope-formulato 1.7.0-5 A tool to create and validate web forms in Z
ii zope-groupuser 3.1.1-3 zope add-on that provides user flagged as gr
ii zope-ldapuserf 2.2-2 The Zope LDAP user folder
ii zope-parsedxml 1.3.1-5 ParsedXML Zope Product
ii zope-photo 1.2.3-8 zope product for managing digital images
ii zope-plonetran 0.6-2 translation files for plone 2.0
ii zope-popyda 2.0.8-3 A Database Adapter connecting Zope and Postg
ii zope-psycopgda 1.1.18-1 Zope Database Adapter based on python-psycop
ii zope-pts 1.2-rc1-2 placeless translation service for zope
ii zope-rdfgrabbe 0.4-4 Zope Product to search foreign webpages by t
ii zope-testcase 0.9.0-1 unit testing framework and test case for Zop
ii zope-textindex 2.0.8-5 full text index for Zope
ii zope-xmlmethod 1.0.0-1 XMLMethods Zope Product
ii zope-zms 2.1.2.7-2 Content management for science, technology a
ii zope-znavigato 2.02-9 Zope product for creating navigation bars
ii zope-zpatterns 0.4.3p2-17 Database Independence and Framework Integrat
ii zope-zwiki 0.37.0-4 implentation of WikiWikiWeb for Zope
ii zopectl 0.3.4.2 Zope instances controlling utility
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages zope-cmfforum depends on:
ii debconf [debconf-2.0] 1.4.30.11 Debian configuration management sy
ii zope-cmf1.4 1.4.7-3 zope content management framework
-- debconf information:
* zope-cmfforum/installationNote:
zope-cmfforum/postinst: true
zope-cmfforum/oldproduct_in_var: do nothing
---------------------------------------
Received: (at 300500-done) by bugs.debian.org; 15 Sep 2005 13:02:39 +0000
>From kobold at kobold.it Thu Sep 15 06:02:39 2005
Return-path: <kobold at kobold.it>
Received: from diana.kobold.it [81.208.30.142]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EFtNu-0004XZ-00; Thu, 15 Sep 2005 06:02:39 -0700
Received: from Debian-exim by diana.kobold.it with spam-scanned (Exim 4.50)
id 1EFtOJ-00042D-Og
for 300500-done at bugs.debian.org; Thu, 15 Sep 2005 15:03:04 +0200
Received: from matilde.dmgroup.it ([81.208.30.130] helo=localhost.localdomain)
by diana.kobold.it with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32)
(Exim 4.50)
id 1EFtN3-00041T-Gx; Thu, 15 Sep 2005 15:01:47 +0200
Received: from localhost ([127.0.0.1] helo=localhost.localdomain)
by localhost.localdomain with esmtp (Exim 4.52)
id 1EFtM6-0002NN-Hx; Thu, 15 Sep 2005 15:00:46 +0200
Subject: closing fixed-in-experimental bugs
From: Fabio Tranchitella <kobold at kobold.it>
To: 293606-done at bugs.debian.org, 324307-done at bugs.debian.org, 300500-done at bugs.debian.org, 324309-done at bugs.debian.org, -done at bugs.debian.org, 324315-done at bugs.debian.org, 300682-done at bugs.debian.org, 324319-done at bugs.debian.org, 297462-done at bugs.debian.org, 292468-done at bugs.debian.org, 297810-done at bugs.debian.org, 324320-done at bugs.debian.org
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ud1eUiStA3jYzKHU+VoL"
Organization: Studio Tranchitella Associazione Professionale
Date: Thu, 15 Sep 2005 15:00:46 +0200
Message-Id: <1126789246.9052.9.camel at localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3
Delivered-To: 300500-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2
--=-ud1eUiStA3jYzKHU+VoL
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
#293606, #324307
Closed by zope-cmfformcontroller 1.0.5-1 upload into unstable.
#300500, #324309
Closed by zope-cmfforum 0.5.0-7 upload into unstable.
#298515, #324315
Closed by zope-cmfphoto 0.5.0-7 upload into unstable.
#300682, #324319
Closed by zope-cmfphotoalbum 0.5.0-7 upload into unstable.
#297462, #292468, #297810, #324320
Closed by zope-cmfplone 2.1-1 upload into unstable.
--=20
Fabio Tranchitella http://www.kobold.it
Studio Tranchitella Assoc. Professionale http://www.tranchitella.it
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
--=-ud1eUiStA3jYzKHU+VoL
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQBDKXB+K/juK3+WFWQRAqUrAJ9cVtVux7irI37+vChCJPQj//VSDACfeBk9
PmdLLsC8g3wMth6kTLqRbCQ=
=UzEE
-----END PGP SIGNATURE-----
--=-ud1eUiStA3jYzKHU+VoL--
More information about the Pkg-zope-developers
mailing list