Getting the value of an image field in Plone 3.x with FSS

74 Views Asked by At

I'm trying to migrate an old Plone 3.3 site that uses FileSystemStorage using Mikko's Simple JSON export script.

Everything runs fine, except for the absence of a value on the image fields, which are returned as empty strings (''):

[
    ...
    {
        "allowDiscussion": false, 
        "contributors": [], 
        "creation_date": "2009-11-04T15:15:36-02:00", 
        "creators": [
            "johndoe"
        ], 
        "description": "", 
        "effectiveDate": null, 
        "excludeFromNav": false, 
        "expirationDate": null, 
        "id": "banner_vertical.jpg", 
        "image": "", 
        "language": "", 
        "location": "", 
        "modification_date": "2009-11-04T15:15:37-02:00", 
        "portal_type": "Image", 
        "relatedItems": [], 
        "rights": "", 
        "subject": [], 
        "title": "Banner vertical", 
        "urlLegend": "http://"
    },
    ...
 ]

Any hint?

(iw.fss version used is 2.8.0rc5).

1

There are 1 best solutions below

0
On

FSS was not known or used by the site for which the script has been made.

You might want to retrofit convert() and other methods to support your use case.