[Zope] PDF documents in CMF (1.0)

Gilles Lenfant glenfant@bigfoot.com
Tue, 19 Jun 2001 20:12:50 +0200


Loren,

Whatever the ID (xxx.pdf or xxx.yyy) of the object the problem remains!

--Gilles

----- Original Message -----
From: "Loren Stafford" <lstafford@morphics.com>
To: <zope@zope.org>; "Gilles Lenfant" <glenfant@bigfoot.com>
Cc: "Zope-Cmf" <zope-CMF@zope.org>
Sent: Tuesday, June 19, 2001 5:53 PM
Subject: RE: [Zope] PDF documents in CMF (1.0)


> I haven't found the root problem, but I discovered that if the object name
> ends in .pdf everything works as desired. I traced the headers generated
by
> CMF and the MIME type is set correctly, but the browser seems to want to
see
> the .pdf extension. CMF gives the download the same name as the object id
> (not the original client-side file-name), so changing the object name to
> something.pdf seems to satisfy the browser.
>
> I agree, this shouldn't be necessary. I'm copying this email to the CMF
> list, in hopes someone there knows more about the issue.
>
> -- Loren
>
> > -----Original Message-----
> > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> > Gilles Lenfant
> > Sent: Tuesday, June 19, 2001 03:51
> > To: zope@zope.org
> > Subject: [Zope] PDF documents in CMF (1.0)
> >
> >
> > Hi,
> >
> > I created a new document in my CMF personal folder, and uploaded
> > a PDF file.
> > The MIME type switches to application/pdf. Till now, all's OK.
> > But when I try to open that document later from the CMF (Whatever
> > browser),
> > I'm asked 3 (!) times for a local destination file and the PDF
> > does not open
> > in the Acrobat Reader plugin of the browser as usual (when
> > creating an usual
> > Zope "file" object then upload a PDF file, all's fine).
> >
> > Is it a CMF bug or did I miss something ?
> >
> > --Gilles
> >
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>