Ticket #1644 (reopened defect)

Opened 3 years ago

Last modified 3 years ago

epoz still called over cpswiki

Reported by: tziade Assigned to: madarche
Priority: P2 Milestone: CPS 3.5.0
Component: CPSWiki Version: 3.4.1
Severity: normal Keywords:
Cc:

Description

Error Type:  	AttributeError
Error Value: 	

Epoz

Traceback: 	

Traceback (innermost last):

    * Module ZPublisher.Publish, line 114, in publish
    * Module ZPublisher.mapply, line 88, in mapply
[..]
    * Module TAL.TALInterpreter, line 647, in do_insertStructure_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:CPSWiki/skins/cps_wiki/cps_wiki_pageedit.pt
      Line 28, Column 8
      Expression: <PythonExpr here.Epoz( name='source', data=source, lang='en',
style='width: 100%; height: 300px; border: 1px solid #a0a0a0; border-style:
solid;')>
      Names:

      {'container': <CPSDefaultSite at /spptest5>,
       'context': <WikiPage at /spptest5/workspaces/my_wiki/test1>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x40de5a6c>,
       'here': <WikiPage at /spptest5/workspaces/my_wiki/test1>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x4729d94c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x40e169cc>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x4729d94c>,
       'request': <HTTPRequest,
URL=http://server1.smartpm:9677/spptest5/workspaces/my_wiki/test1/cps_wiki_pagee
dit>,
       'root': <Application at >,
       'template': <FSPageTemplate at /spptest5/cps_wiki_pageedit used for
/spptest5/workspaces/my_wiki/test1>}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: here.Epoz( name='source', data=source, lang='en',
style='width: 100%; height: 300px; border: 1px solid #a0a0a0; border-style:
solid;')
    * Module Python expression "here.Epoz( name='source', data=source,
lang='en', style='width: 100%; height: 300px; border: 1px solid #a0a0a0;
border-style: solid;')", line 1, in <expression>

Change History

05/16/06 15:15:24 changed by sfermigier

  • owner changed from tziade to madarche.

tziade says madarche will try to fix it.

05/19/06 17:22:22 changed by sfermigier

  • priority changed from P2 to P1.
  • severity changed from normal to major.
  • milestone changed from CPS 3.4.1 to CPS 3.4.2.

07/06/06 13:49:26 changed by tracguest

But unfortunately not even epoz pops up. From my point of view, get an wysiwyg editor working for CPSwiki is urgent and critical.

07/28/06 12:16:16 changed by madarche

  • status changed from new to closed.
  • resolution set to fixed.

Made CPSWiki use FCKeditor.

Fixed in changeset [47536].

07/29/06 14:41:42 changed by tracguest

  • status changed from closed to reopened.
  • resolution deleted.

I changed the .pt and import the CPSWiki profile -> The corrected .pt is shown in ZMI.

But still I can't see a possibility to use FCKeditor to edit edit pages of html parsed CPSWiki.

07/29/06 16:01:13 changed by madarche

  • priority changed from P1 to P2.
  • severity changed from major to normal.

First, have you try to clear the JavaScript? cache of your navigator ?

Second what is your configuration (OS and navigator) ?

I have tested the result of my fix with a brand new CPS from the trunk. So I suggest you to do a fresh checkout of the CPS code from the trunk, then instantiate a CPS site and finally create your wiki and wiki pages. Then you will be able to test the fix and report here if it works on a plain CPS and we will close this bug.

Once you have your new working CPS site you will be able to compare it with your actual CPS site and find more easily why FCKeditor doesn't show up for you.

Finally, in the ZMI, have you got an FckHTTPCache object at the root of your CPS site ?

07/31/06 12:51:12 changed by tracguest

  • version changed from 3.4.0 to 3.4.1.

Cache cleared.

Firefox on WinXP

It works in the page after action "Add page" or "edit".

FCKeditor does not show after clicking the edit Icon in upper right corner.

07/31/06 17:08:14 changed by tracguest

The edit action shows a FCKeditor. But it is always empty even if the page already contained text.