[Community-desktop] problem with desktop always askingforlogindetails when already in...

michael nt milne michael.milne at gmail.com
Tue Oct 31 11:35:25 CST 2006


I've solved it. It was that the application content type entry in the
content type registry was the last entry on the form. I had to create
it as it was missing for some reason. I moved it up above the catch
all entry and above audio and video. The catch all entry must have
been overwriting it or something similar. Anyway files now go across
as ExFiles in desktop. Simply the positioning of the entry. One to
remember.

Thanks for your help.

On 10/31/06, michael nt milne <michael.milne at gmail.com> wrote:
> I've copied exactly as I have it on my Laptop which works. I leave the
> X-Enfold-Desktop-Portal-Type for file set to the basic file type. I
> change the application file type to use the ExFile version of the
> file. This results in any files being copied across by Enfold
> appearing as ExFiles. I get a little prompt from my firewall just as I
> do this to say that Python is perfoming a function.
>
> Same set-up on the server ends up with basic files. One thing I did
> notice though was that the application content type entry was missing
> on the content-registry-list on my server and I had to add this
> myself. Would you know why this would be. Maybe this is the reason
> it's not working.
>
> On 10/31/06, michael nt milne <michael.milne at gmail.com> wrote:
> > Hi
> >
> > "It sounds like you want to create 'ExtFile' when files and images are
> > uploaded. You should configure that on the 'content_type_registry'
> > object. Change the mapping from 'File' and 'Image' to 'ExtFile'."
> >
> > No just ExFile for file
> >
> > "What's happening right now is that since it's mapped by default to
> > 'File' and 'Image', and you only allowed 'ExtFile' then you will get
> > Unauthorized"
> >
> > No I changed the application content type major-minor to use ExFile or indeed File as it is listed there slightly confusingly (there are two 'files'). This is the way I got it working on my laptop. Apparently after getting some help on the Plone list that's all you need to change. So Enfold should know now that I'm trying to copy across PloneExFiles but it's not recognising that as yet on this server.
> >
> > Thanks
> >
> >
> >
> > On 10/31/06, Sidnei da Silva <sidnei at enfoldsystems.com> wrote:
> > >  On Tue, Oct 31, 2006 at 03:45:20PM +0000, michael nt milne wrote:
> > > | I restricted the addable types in the folder to PloneExFile only. This works
> > > | in the browser but not in Enfold. I'll try putting the restrictions back to
> > > | the default.
> > > |
> > > | Same with image. I restricted the addable content type in that folder to
> > > | image. But it won't add an image through Deskop. Again I will try without the
> > > | restriction. The restriction makes the browser interface a lot better though
> > > | so ultimately I would like to use it.
> > >
> > > It sounds like you want to create 'ExtFile' when files and images are
> > > uploaded. You should configure that on the 'content_type_registry'
> > > object. Change the mapping from 'File' and 'Image' to 'ExtFile'.
> > >
> > > What's happening right now is that since it's mapped by default to
> > > 'File' and 'Image', and you only allowed 'ExtFile' then you will get
> > > Unauthorized.
> > >
> > > Note this is not an Enfold Desktop issue. It's a misconfiguration on
> > > your part. There's no way it would be able to guess that instead of
> > > creating a 'File' it should create a 'ExtFile'. This is all controlled
> > > by the 'content_type_registry', which is standard CMF machinery for
> > > mapping extensions and mime-types to a portal type.
> > >
> > > --
> > > Sidnei da Silva
> > > Enfold Systems                http://enfoldsystems.com
> > > Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214
> > >
> >
> >
> >
> > --
> > michael
>
>
>
> --
> michael
>


-- 
michael



More information about the Community-desktop mailing list