Ticket #173 (closed defect: wontfix)

Opened 2 years ago

Last modified 13 months ago

AttributeError: REQUEST

Reported by: pBartels@… Owned by: andycat
Priority: minor Milestone: 3.1
Component: ContentLicensing 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

Changed 23 months ago by andycat

  • milestone set to 0.3 - Plone 3

Changed 14 months ago by and

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

Changed 14 months ago by vik

  • cc pBartels@… added

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

Changed 13 months ago by and

  • status changed from new to closed
  • resolution set to wontfix

Add/Change #173 (AttributeError: REQUEST)

Author


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


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.