SNN Author Cannot request publication date

Bug #128591 reported by mallow
6
Affects Status Importance Assigned to Milestone
SilvaNewsNetwork
Fix Released
High
Andy Altepeter

Bug Description

I created an author and it seems that with an author account he is unable to request publication of an article instead when I click on 'Status' I receive this error:
ystem problem

Something went wrong. Please use your back button to return to the previous page. Sorry for the irritation.

Error Type: AttributeError
Error Value: 'ZopeContext' object has no attribute 'getCompilerError'
Error info
Path: /******/***/*****/*****/edit/tab_status
URL: http://localhost:8080/******/**/*****/*****/edit/tab_status

Client
Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
Remote address: 127.0.0.1
Remote identity:
Linked from
http://localhost:8080/*****/*****/*****/*****/edit

I upgraded the account to editor and he sees it fine, except he approves publishing directly
I then Downgraded his account back to author and again to no avail.
I did not test other roles yet.

Tags: snn
Revision history for this message
mallow (princemallow) wrote :

Found that if you are in the content area you can click publish and then enter a date so on and so forth and you can click publish, once you do that you can click to see details but if you attempt to edit the note to the editor the error persists.

Revision history for this message
Tuomas Tonteri (tuomas-tonteri) wrote :

I have the same problem with Silva 2.0 and SNN 2.5. Author can not enter Status page, which produces the above mentioned error. I'm using LDAPuserfolder authentication, if it makes any difference.

Revision history for this message
Tuomas Tonteri (tuomas-tonteri) wrote :

I believe this is a Zope 2.10 bug:

http://<email address hidden>/msg08153.html

I'm using 2.10.3 and will check later if 2.10.4 has fixed the issue. The above link also gives a hack to fix the problem, which I will probably try.

Revision history for this message
Andy Altepeter (aaltepet) wrote :

Those darned ZopeCompilerErrors. I don't know how many I fixed when working on my SNN branch. I'll take a look at this.

Changed in silva:
assignee: nobody → aaltepet
Revision history for this message
Tuomas Tonteri (tuomas-tonteri) wrote :

Zope 2.10.4 did not fix the problem. I will look into this today to try to find a hack / solution.

Revision history for this message
Tuomas Tonteri (tuomas-tonteri) wrote :

Yeah, the hack worked fine.

It involved editing zope 2.10.4's lib/python/zope/tal/talinterpreter.py line 784:

gen = AltTALGenerator(repldict, self.engine, 0)

to:

gen = AltTALGenerator(repldict, self.engine._engine, 0)

Explanation is found inside the link I gave earlier.

Revision history for this message
Andy Altepeter (aaltepet) wrote :

Copied tab_status_macros.pt from SilvaNews_for_Silva2.0_aaltepet branch, which has a fix for this issue already.

Changed in silva-news-network:
importance: Undecided → High
status: New → Fix Committed
Changed in silva-news-network:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.