I turned the logging to debug for a few options in log4j.xml and saw the
following after adding a attachement to mmbase trough the my_editors.

2004-07-27 23:45:12,565 ERROR   org.mmbase.util.HttpPost - Malformed line
after disposition: ontent-Type: application/vnd.ms-powerpoint
2004-07-27 23:45:12,581 SERVICE bridge.jsp.taglib.NodeProviderHelper - node
was changed ! calling commit
2004-07-27 23:45:12,581 SERVICE mmbase.module.builders.Attachments -
Mimetype of attachment '' was not set. Using magic to determin it
automaticly.
2004-07-27 23:45:12,586 SERVICE mmbase.module.builders.Attachments - Found
mime-type: Failed to determine type

Hopes this helps a bit on finding mime types. A word file generated no
usefull output at all, but didn't work either. Scanning through the code I
got the implession that when you opened the attachement in the editor that
you should see a handle [filename_here] instead of a [*] there. But even in
the attachements with the mimetype set there is no filename here.

Greetings,

Sjoerd de Heer

S&R Solutions
Diezestraat 24
7523 SN Enschede
http://www.sr-solutions.nl

>
> > > > It looks like an orion problem. In combination with taglib and
> 'jspvar',
> > > but
> > > > I'd have to see it to be sure. If I find the time I'll try to upload
> an
> > > > attachment in orion.
> > > >
> > > Indeed the probleems seem largely related to orion. The first two
> editors
> > > work with tomcat as server instead of orion
> >
> > It would be nice it they would work in orion as well, with some
> > work-arounds.
> >
> > > although there is still no mimetype or filename in the attachement.
> >
> > I think the file-name was never filled by generic editors. Mime-type
> should
> > be filled, but depends on 'magic'.
>
> Hmm oke then I realy have to make provisions to provide that my self as
> title. Since the title is presented as filename when you download the
> attachement. Maybe a feature like when there is no title present it takes
> the filename instead would be nice.
>
> >
> > > The classic editors still don't
> > > work properly. After hitting a 'ok' button the same frame is still
> reloaded
> > > as the whole page and no node is created in mmbase.
> >
> > What do you mean with 'classic' editors. The scan-editors?
>
> Nope the following as mentioned in the page that you get when you select
> admin and then edit from the menu.
>
> Classic style generic editors ('mmeditors') :
> http://192.168.2.41:8080/mmbase/edit/mmeditors/
>
> Greetings,
>
> Sjoerd de Heer
>
>


Reply via email to