Modify

Ticket #173 (closed defect: wontfix)

Opened 6 years ago

Last modified 5 years ago

AttributeError: REQUEST

Reported by: pBartels@… Owned by: andycat
Priority: minor Milestone: 3.1
Component: ContentLicensing Severity:
Keywords: Cc: pBartels@…
Who will test this:

Description

If you try to use a zope method, for example to upload a file (manage_addFile) from commandline "zopectl run script.py". The script fails, because no Request is set but accessed:

File "/opt/plumi-0.2-final/ContentLicensing/DublinCoreExtensions/UpdateLicenseMetadata.py", line 32, in UpdateLicenseMetadataHandler?

if hasattr(event.object.REQUEST, 'license') or hasattr(event.object.REQUEST, 'copyright_holder'):

AttributeError?: REQUEST

Attachments

Change History

comment:1 Changed 6 years ago by andycat

  • Milestone set to 0.3 - Plone 3

comment:2 Changed 5 years ago by and

Try installing plumi 3 alpha and let us know if you still get this error.

comment:3 Changed 5 years ago by vik

  • Cc pBartels@… added

Try installing plumi 3 alpha and let us know if you still get this error.

comment:4 Changed 5 years ago by and

  • Status changed from new to closed
  • Resolution set to wontfix
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.