Modify ↓
Ticket #173 (closed defect: wontfix)
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
Note: See
TracTickets for help on using
tickets.
