Re: [Dspace-tech] My Exports in Manakin question / bug report
I just ran into the problem mentioned in the message below, and I wonder if there is a known fix. Using the Reference theme, items waiting in "My Exports" cause the My Accounts header to disappear from the menu. The login and registration links remain, but the missing throws off spacing of the ds-option-set. The really strange thing is that "My Exports" and the missing persist after logout. Is there an existing workaround, and also, is there a way to remove files waiting in "My Exports?" Eric Luhrs Digital Initiatives Librarian Lafayette College On Fri, Oct 10, 2008 at 1:03 AM, Serhiy Polyakov wrote: > In default DSpace installation (Reference theme): > > There is a menu block: Context > Edit this item > Export Item > > After I export an item I see additional My Exports menu in the menu > block: My Account > My Exports > Logout > Profile > Submissions > > My exports lists all my exported items as zip files > > First question: > How to remove items from my exports? > > Second question (or rather bug report): > Header of My Account block actually disappears when there are exported > items items and My Exports menu is there. > > Thanks, > Serhiy > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] My Exports in Manakin question / bug report
Hi Eric / Serhiy, > Using the Reference theme, items waiting in "My Exports" cause the > My Accounts header to disappear from the menu. The > login and registration links remain, but the missing throws off > spacing of the ds-option-set. The really strange thing is that "My > Exports" and the missing persist after logout. Try this patch: https://sourceforge.net/tracker/index.php?func=detail&aid=2495728&group_id=1 9984&atid=319984 I've just written it, and haven't tested it extensively, but I don't think it should have any side effects. > and also, is there a way to remove files waiting in "My Exports?" I've not looked into this much, but I think the only way is to remove them from the server (from the directory defined in dspace.cfg org.dspace.app.itemexport.download.dir). The user interface will then remove the link. So perhaps you could run a weekly cron job to remove any files in that directory over 2 weeks old etc. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: stuart.le...@aber.ac.uk Ffon / Tel: (01970) 622860 _ -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] My Exports in Manakin question / bug report
Hi all, the patch has been applied to 1.5.x, thank you Stuart. As for the lifespan there is a configuration parameter: # The length of time in hours each archive should live for. When new archives are # created this entry is used to delete old ones org.dspace.app.itemexport.life.span.hours = 48 This might be used in a cron to delete old exports. Imo only deleting them on creation of a new archive is a bit clumsy. Furthermore the exports should be deletable from the user himself, but this is another feature request. The export could do with a bit spring cleaning in general: - make it configurable, enable export yes/no - check for authorizations - use email template instead of hardcoding the text - let the user manage the exports ... a happy new year Claudia Jürgen Stuart Lewis schrieb: > Hi Eric / Serhiy, > >> Using the Reference theme, items waiting in "My Exports" cause the >> My Accounts header to disappear from the menu. The >> login and registration links remain, but the missing throws off >> spacing of the ds-option-set. The really strange thing is that "My >> Exports" and the missing persist after logout. > > Try this patch: > > https://sourceforge.net/tracker/index.php?func=detail&aid=2495728&group_id=1 > 9984&atid=319984 > > I've just written it, and haven't tested it extensively, but I don't think > it should have any side effects. > >> and also, is there a way to remove files waiting in "My Exports?" > > I've not looked into this much, but I think the only way is to remove them > from the server (from the directory defined in dspace.cfg > org.dspace.app.itemexport.download.dir). The user interface will then remove > the link. So perhaps you could run a weekly cron job to remove any files in > that directory over 2 weeks old etc. > > Thanks, > > > Stuart > _ > > Gwasanaethau Gwybodaeth Information Services > Prifysgol Aberystwyth Aberystwyth University > > E-bost / E-mail: stuart.le...@aber.ac.uk > Ffon / Tel: (01970) 622860 > _ > > > -- > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] My Exports in Manakin question / bug report
Hi Stuart, Thanks very much for your reply. I just applied your patch to our dev instance of DSpace 1.5.2, but I think that it only partially solved the problem. Previously, My Account was missing from the context even after logout. The label now returns when the user logs out, but remains missing when logged in. Of course, all is well if logged in as a user that does not have exports waiting. Eric Luhrs On Fri, Jan 9, 2009 at 8:34 AM, Stuart Lewis wrote: > Hi Eric / Serhiy, > >> Using the Reference theme, items waiting in "My Exports" cause the >> My Accounts header to disappear from the menu. The >> login and registration links remain, but the missing throws off >> spacing of the ds-option-set. The really strange thing is that "My >> Exports" and the missing persist after logout. > > Try this patch: > > https://sourceforge.net/tracker/index.php?func=detail&aid=2495728&group_id=1 > 9984&atid=319984 > > I've just written it, and haven't tested it extensively, but I don't think > it should have any side effects. > >> and also, is there a way to remove files waiting in "My Exports?" > > I've not looked into this much, but I think the only way is to remove them > from the server (from the directory defined in dspace.cfg > org.dspace.app.itemexport.download.dir). The user interface will then remove > the link. So perhaps you could run a weekly cron job to remove any files in > that directory over 2 weeks old etc. > > Thanks, > > > Stuart > _ > > Gwasanaethau Gwybodaeth Information Services > Prifysgol Aberystwyth Aberystwyth University > >E-bost / E-mail: stuart.le...@aber.ac.uk > Ffon / Tel: (01970) 622860 > _ > > -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] My Exports in Manakin question / bug report
Hi Eric, tested this patch on a vanilla 1.5.x (todays revision) xmlui instance, for users with and without exports and it worked ok. Do you got any customizations or can it be a browser cache problem. Snowy Greetings Claudia Jürgen Eric Luhrs schrieb: > Hi Stuart, > Thanks very much for your reply. I just applied your patch to our dev > instance of DSpace 1.5.2, but I think that it only partially solved > the problem. Previously, My Account was missing from the > context even after logout. The label now returns when the user > logs out, but remains missing when logged in. Of course, all is well > if logged in as a user that does not have exports waiting. > > Eric Luhrs > > > On Fri, Jan 9, 2009 at 8:34 AM, Stuart Lewis wrote: >> Hi Eric / Serhiy, >> >>> Using the Reference theme, items waiting in "My Exports" cause the >>> My Accounts header to disappear from the menu. The >>> login and registration links remain, but the missing throws off >>> spacing of the ds-option-set. The really strange thing is that "My >>> Exports" and the missing persist after logout. >> Try this patch: >> >> https://sourceforge.net/tracker/index.php?func=detail&aid=2495728&group_id=1 >> 9984&atid=319984 >> >> I've just written it, and haven't tested it extensively, but I don't think >> it should have any side effects. >> >>> and also, is there a way to remove files waiting in "My Exports?" >> I've not looked into this much, but I think the only way is to remove them >> from the server (from the directory defined in dspace.cfg >> org.dspace.app.itemexport.download.dir). The user interface will then remove >> the link. So perhaps you could run a weekly cron job to remove any files in >> that directory over 2 weeks old etc. >> >> Thanks, >> >> >> Stuart >> _ >> >> Gwasanaethau Gwybodaeth Information Services >> Prifysgol Aberystwyth Aberystwyth University >> >>E-bost / E-mail: stuart.le...@aber.ac.uk >> Ffon / Tel: (01970) 622860 >> _ >> >> -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] My Exports in Manakin question / bug report
Hi Claudia, I just rebuilt DSpace again, and this time the "My Accounts" heading worked as expected. Not sure what I did wrong the first time. I also cleared the browser cache, so perhaps that had something to do with it. Thanks to you and Stuart for all of your help. Best, Eric Luhrs On Fri, Jan 9, 2009 at 10:52 AM, Claudia Jürgen wrote: > Hi Eric, > > tested this patch on a vanilla 1.5.x (todays revision) xmlui instance, for > users with and without exports and it worked ok. > Do you got any customizations or can it be a browser cache problem. > > Snowy Greetings > > Claudia Jürgen > > > > Eric Luhrs schrieb: >> >> Hi Stuart, >> Thanks very much for your reply. I just applied your patch to our dev >> instance of DSpace 1.5.2, but I think that it only partially solved >> the problem. Previously, My Account was missing from the >> context even after logout. The label now returns when the user >> logs out, but remains missing when logged in. Of course, all is well >> if logged in as a user that does not have exports waiting. >> >> Eric Luhrs >> >> >> On Fri, Jan 9, 2009 at 8:34 AM, Stuart Lewis wrote: >>> >>> Hi Eric / Serhiy, >>> Using the Reference theme, items waiting in "My Exports" cause the My Accounts header to disappear from the menu. The login and registration links remain, but the missing throws off spacing of the ds-option-set. The really strange thing is that "My Exports" and the missing persist after logout. >>> >>> Try this patch: >>> >>> >>> https://sourceforge.net/tracker/index.php?func=detail&aid=2495728&group_id=1 >>> 9984&atid=319984 >>> >>> I've just written it, and haven't tested it extensively, but I don't >>> think >>> it should have any side effects. >>> and also, is there a way to remove files waiting in "My Exports?" >>> >>> I've not looked into this much, but I think the only way is to remove >>> them >>> from the server (from the directory defined in dspace.cfg >>> org.dspace.app.itemexport.download.dir). The user interface will then >>> remove >>> the link. So perhaps you could run a weekly cron job to remove any files >>> in >>> that directory over 2 weeks old etc. >>> >>> Thanks, >>> >>> >>> Stuart >>> _ >>> >>> Gwasanaethau Gwybodaeth Information Services >>> Prifysgol Aberystwyth Aberystwyth University >>> >>> E-bost / E-mail: stuart.le...@aber.ac.uk >>>Ffon / Tel: (01970) 622860 >>> _ >>> >>> > -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] My Exports in Manakin question / bug report
Hi Eric, good to hear, as I've allready committed it to the codebase. Have a nice weekend Claudia > Hi Claudia, > I just rebuilt DSpace again, and this time the "My Accounts" heading > worked as expected. Not sure what I did wrong the first time. I also > cleared the browser cache, so perhaps that had something to do with > it. > > Thanks to you and Stuart for all of your help. > > Best, > > Eric Luhrs > > On Fri, Jan 9, 2009 at 10:52 AM, Claudia Jürgen > wrote: >> Hi Eric, >> >> tested this patch on a vanilla 1.5.x (todays revision) xmlui instance, >> for >> users with and without exports and it worked ok. >> Do you got any customizations or can it be a browser cache problem. >> >> Snowy Greetings >> >> Claudia Jürgen >> >> >> >> Eric Luhrs schrieb: >>> >>> Hi Stuart, >>> Thanks very much for your reply. I just applied your patch to our dev >>> instance of DSpace 1.5.2, but I think that it only partially solved >>> the problem. Previously, My Account was missing from the >>> context even after logout. The label now returns when the user >>> logs out, but remains missing when logged in. Of course, all is well >>> if logged in as a user that does not have exports waiting. >>> >>> Eric Luhrs >>> >>> >>> On Fri, Jan 9, 2009 at 8:34 AM, Stuart Lewis wrote: Hi Eric / Serhiy, > Using the Reference theme, items waiting in "My Exports" cause the > My Accounts header to disappear from the menu. The > login and registration links remain, but the missing throws off > spacing of the ds-option-set. The really strange thing is that "My > Exports" and the missing persist after logout. Try this patch: https://sourceforge.net/tracker/index.php?func=detail&aid=2495728&group_id=1 9984&atid=319984 I've just written it, and haven't tested it extensively, but I don't think it should have any side effects. > and also, is there a way to remove files waiting in "My Exports?" I've not looked into this much, but I think the only way is to remove them from the server (from the directory defined in dspace.cfg org.dspace.app.itemexport.download.dir). The user interface will then remove the link. So perhaps you could run a weekly cron job to remove any files in that directory over 2 weeks old etc. Thanks, Stuart _ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: stuart.le...@aber.ac.uk Ffon / Tel: (01970) 622860 _ >> > -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech