Re: [Dspace-tech] [DSpace-tech]: xmlui customization (Mirage)

2014-12-09 Thread Nada Abo-Eita
Thank you euler for your reply.

Is that mean that I shouldn't do this change in [DSpace installation
directory]?

Because last time I installed DSpace successfully and then tried to do my
changes in [dspace-src] and then rebuild to reflect my changes but I end up
with losing all my configuration settings for dspace (include ldap
authentication and discovery).
That's why to resolve this problem I re-install DSpace from scratch and
start applying my changes only on dspace installation directory not the
source directory, as this cause the problem of losing all my configuration
settings .


Regards,
Nada Abo-Eita




On Tue, Dec 9, 2014 at 6:02 AM, euler esne...@seafdec.org.ph wrote:

 Dear Nada,

 I can answer regarding #1 only, you should edit

 [dspace-src]/dspace/modules/xmlui/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap.
 You have to create those directories if it is missing from your setup. I
 added my changes to modules so that it will not be overwritten the next
 time
 you try to upgrade your dspace. It is also convenient to place those
 changes
 under the modules directory. You have to rebuild DSpace in order for those
 changes to take effect.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-xmlui-customization-Mirage-tp4675810p4675824.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Recent Submissions Customization

2014-12-09 Thread bender
Hi Terry:

Thank you very much for your reply.

I will try to understand the way this works,and see if I can make the
changes I need. It's very clear that I need to study the Manakin theming
system.

In any case, I will appreciate any further help, and any other specific
detail, on how to achieve this objective.

Thanks again!!

Bender

2014-12-05 18:14 GMT-03:00 Terry Brady terry.br...@georgetown.edu:

 Assuming you are using XMLUI, this might help.

 Look at dspace-xmlui/src/main/webapp/theses/dri2xhtml/structural.xsl for
 the handling of dri:referenceSet.  You will want to clone templates from
 this file into your theme xsl.

 If you want to apply this change to search results AND to recent items,
 you can clone the template with a mode of summaryView and apply your
 changes.

 If your override will apply only to recent items, you will need to create
 a custom version of the template with a mode of summaryViewRecent to
 apply only to your recent items.

 You will then need to write a custom template match to catch the
 referenceSet of recent items recent items:
 dri:referenceSet[@rend='recent-submissions']

 Terry

 On Fri, Dec 5, 2014 at 7:31 AM, bender bender.bending.1...@gmail.com
 wrote:

 Hi.

 We're using Dspace 3.2 and the theme is Reference . We want to change
 the way the recent submissions are displayed at the front page.
 As an example, change the document thumbnail to the left side:

 [image: Imágenes integradas 1]

 Does anyone know which files should I edit to do this little change?

 Thanks in advance,

 Bender




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Terry Brady
 Applications Programmer Analyst
 Georgetown University Library Information Technology
 https://www.library.georgetown.edu/lit/code
 425-298-5498


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] [DSpace-tech]: xmlui customization (Mirage)

2014-12-09 Thread Hilton Gibson
Hi Nada

Please read about the modules overlay method of doing permanent
customisation that can survive upgrades.
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Customisation#Advanced_Customisation_.28Modules_Overlay_Method.29

Cheers

hg


*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 9 December 2014 at 14:16, Nada Abo-Eita naboeit...@gmail.com wrote:

 Thank you euler for your reply.

 Is that mean that I shouldn't do this change in [DSpace installation
 directory]?

 Because last time I installed DSpace successfully and then tried to do my
 changes in [dspace-src] and then rebuild to reflect my changes but I end up
 with losing all my configuration settings for dspace (include ldap
 authentication and discovery).
 That's why to resolve this problem I re-install DSpace from scratch and
 start applying my changes only on dspace installation directory not the
 source directory, as this cause the problem of losing all my configuration
 settings .


 Regards,
 Nada Abo-Eita




 On Tue, Dec 9, 2014 at 6:02 AM, euler esne...@seafdec.org.ph wrote:

 Dear Nada,

 I can answer regarding #1 only, you should edit

 [dspace-src]/dspace/modules/xmlui/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap.
 You have to create those directories if it is missing from your setup. I
 added my changes to modules so that it will not be overwritten the next
 time
 you try to upgrade your dspace. It is also convenient to place those
 changes
 under the modules directory. You have to rebuild DSpace in order for those
 changes to take effect.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-xmlui-customization-Mirage-tp4675810p4675824.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Recent Submissions Customization

2014-12-09 Thread Hilton Gibson
Hi Bender

Please read about the XMLUI theory.
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/Tutorial

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 9 December 2014 at 14:42, bender bender.bending.1...@gmail.com wrote:

 Hi Terry:

 Thank you very much for your reply.

 I will try to understand the way this works,and see if I can make the
 changes I need. It's very clear that I need to study the Manakin theming
 system.

 In any case, I will appreciate any further help, and any other specific
 detail, on how to achieve this objective.

 Thanks again!!

 Bender

 2014-12-05 18:14 GMT-03:00 Terry Brady terry.br...@georgetown.edu:

 Assuming you are using XMLUI, this might help.

 Look at dspace-xmlui/src/main/webapp/theses/dri2xhtml/structural.xsl for
 the handling of dri:referenceSet.  You will want to clone templates from
 this file into your theme xsl.

 If you want to apply this change to search results AND to recent items,
 you can clone the template with a mode of summaryView and apply your
 changes.

 If your override will apply only to recent items, you will need to create
 a custom version of the template with a mode of summaryViewRecent to
 apply only to your recent items.

 You will then need to write a custom template match to catch the
 referenceSet of recent items recent items:
 dri:referenceSet[@rend='recent-submissions']

 Terry

 On Fri, Dec 5, 2014 at 7:31 AM, bender bender.bending.1...@gmail.com
 wrote:

 Hi.

 We're using Dspace 3.2 and the theme is Reference . We want to change
 the way the recent submissions are displayed at the front page.
 As an example, change the document thumbnail to the left side:

 [image: Imágenes integradas 1]

 Does anyone know which files should I edit to do this little change?

 Thanks in advance,

 Bender




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Terry Brady
 Applications Programmer Analyst
 Georgetown University Library Information Technology
 https://www.library.georgetown.edu/lit/code
 425-298-5498


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Recent Submissions Customization

2014-12-09 Thread bender
Thanks Hilton!!

I didn't know this tutorial.

Bender

2014-12-09 9:56 GMT-03:00 Hilton Gibson hilton.gib...@gmail.com:

 Hi Bender

 Please read about the XMLUI theory.
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/Tutorial

 Cheers

 hg

 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 9 December 2014 at 14:42, bender bender.bending.1...@gmail.com wrote:

 Hi Terry:

 Thank you very much for your reply.

 I will try to understand the way this works,and see if I can make the
 changes I need. It's very clear that I need to study the Manakin theming
 system.

 In any case, I will appreciate any further help, and any other specific
 detail, on how to achieve this objective.

 Thanks again!!

 Bender

 2014-12-05 18:14 GMT-03:00 Terry Brady terry.br...@georgetown.edu:

 Assuming you are using XMLUI, this might help.

 Look at dspace-xmlui/src/main/webapp/theses/dri2xhtml/structural.xsl for
 the handling of dri:referenceSet.  You will want to clone templates from
 this file into your theme xsl.

 If you want to apply this change to search results AND to recent items,
 you can clone the template with a mode of summaryView and apply your
 changes.

 If your override will apply only to recent items, you will need to
 create a custom version of the template with a mode of summaryViewRecent
 to apply only to your recent items.

 You will then need to write a custom template match to catch the
 referenceSet of recent items recent items:
 dri:referenceSet[@rend='recent-submissions']

 Terry

 On Fri, Dec 5, 2014 at 7:31 AM, bender bender.bending.1...@gmail.com
 wrote:

 Hi.

 We're using Dspace 3.2 and the theme is Reference . We want to change
 the way the recent submissions are displayed at the front page.
 As an example, change the document thumbnail to the left side:

 [image: Imágenes integradas 1]

 Does anyone know which files should I edit to do this little change?

 Thanks in advance,

 Bender




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration 
 more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Terry Brady
 Applications Programmer Analyst
 Georgetown University Library Information Technology
 https://www.library.georgetown.edu/lit/code
 425-298-5498


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 

Re: [Dspace-tech] [DSpace-tech]: xmlui customization (Mirage)

2014-12-09 Thread Nada Abo Eita
Hi Hilton, 

I tried to do my changes also by using overlays method, but the main problem 
that when we rebuild, dspace isn't working   (xmlui  jspui-- gives internal 
system error). Even though dspace (both xmlui and jspui) was working fine 
before doing the rebuild. 

So as I mentioned before, I reinstall dspace from scratch and start to apply 
changes only on [dspace installation directory], to avoid doing rebuild. 

Anyone have an idea why rebuild cause this problem? 


 On 09 Dec,2014, at 3:54 PM, Hilton Gibson hilton.gib...@gmail.com wrote:
 
 Hi Nada
 
 Please read about the modules overlay method of doing permanent 
 customisation that can survive upgrades.
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Customisation#Advanced_Customisation_.28Modules_Overlay_Method.29
 
 Cheers
 
 hg
 
 
 Hilton Gibson
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa
 
 Tel: +27 21 808 4100 | Cell: +27 84 646 4758
 
 On 9 December 2014 at 14:16, Nada Abo-Eita naboeit...@gmail.com wrote:
 Thank you euler for your reply.
  
 Is that mean that I shouldn't do this change in [DSpace installation 
 directory]?
 
 Because last time I installed DSpace successfully and then tried to do my 
 changes in [dspace-src] and then rebuild to reflect my changes but I end up 
 with losing all my configuration settings for dspace (include ldap 
 authentication and discovery). 
 That's why to resolve this problem I re-install DSpace from scratch and 
 start applying my changes only on dspace installation directory not the 
 source directory, as this cause the problem of losing all my configuration 
 settings . 
 
 
 Regards,
 Nada Abo-Eita
 
 
 
 
 On Tue, Dec 9, 2014 at 6:02 AM, euler esne...@seafdec.org.ph wrote:
 Dear Nada,
 
 I can answer regarding #1 only, you should edit
 [dspace-src]/dspace/modules/xmlui/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap.
 You have to create those directories if it is missing from your setup. I
 added my changes to modules so that it will not be overwritten the next time
 you try to upgrade your dspace. It is also convenient to place those changes
 under the modules directory. You have to rebuild DSpace in order for those
 changes to take effect.
 
 Regards,
 euler
 
 
 
 --
 View this message in context: 
 http://dspace.2283337.n4.nabble.com/DSpace-tech-xmlui-customization-Mirage-tp4675810p4675824.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.
 
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 
 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] [DSpace-tech]: xmlui customization (Mirage)

2014-12-09 Thread Hilton Gibson
Hi Nada

Try this: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Rebuild_DSpace
But only if you build DSpace using a standardised reference architecture.
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Reference_Architecture

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 9 December 2014 at 15:25, Nada Abo Eita naboeit...@gmail.com wrote:

 Hi Hilton,

 I tried to do my changes also by using overlays method, but the main
 problem that when we rebuild, dspace isn't working   (xmlui  jspui--
 gives internal system error). Even though dspace (both xmlui and jspui) was
 working fine before doing the rebuild.

 So as I mentioned before, I reinstall dspace from scratch and start to
 apply changes only on [dspace installation directory], to avoid doing
 rebuild.

 Anyone have an idea why rebuild cause this problem?


 On 09 Dec,2014, at 3:54 PM, Hilton Gibson hilton.gib...@gmail.com wrote:

 Hi Nada

 Please read about the modules overlay method of doing permanent
 customisation that can survive upgrades.

 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Customisation#Advanced_Customisation_.28Modules_Overlay_Method.29

 Cheers

 hg


 *Hilton Gibson*
 Ubuntu Linux Systems Administrator
 JS Gericke Library
 Room 1025C
 Stellenbosch University
 Private Bag X5036
 Stellenbosch
 7599
 South Africa

 Tel: +27 21 808 4100 | Cell: +27 84 646 4758

 On 9 December 2014 at 14:16, Nada Abo-Eita naboeit...@gmail.com wrote:

 Thank you euler for your reply.

 Is that mean that I shouldn't do this change in [DSpace installation
 directory]?

 Because last time I installed DSpace successfully and then tried to do my
 changes in [dspace-src] and then rebuild to reflect my changes but I end up
 with losing all my configuration settings for dspace (include ldap
 authentication and discovery).
 That's why to resolve this problem I re-install DSpace from scratch and
 start applying my changes only on dspace installation directory not the
 source directory, as this cause the problem of losing all my configuration
 settings .


 Regards,
 Nada Abo-Eita




 On Tue, Dec 9, 2014 at 6:02 AM, euler esne...@seafdec.org.ph wrote:

 Dear Nada,

 I can answer regarding #1 only, you should edit

 [dspace-src]/dspace/modules/xmlui/src/main/resources/aspects/BrowseArtifacts/sitemap.xmap.
 You have to create those directories if it is missing from your setup. I
 added my changes to modules so that it will not be overwritten the next
 time
 you try to upgrade your dspace. It is also convenient to place those
 changes
 under the modules directory. You have to rebuild DSpace in order for
 those
 changes to take effect.

 Regards,
 euler



 --
 View this message in context:
 http://dspace.2283337.n4.nabble.com/DSpace-tech-xmlui-customization-Mirage-tp4675810p4675824.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net

[Dspace-tech] Character encoding issues in Discovery search results

2014-12-09 Thread Alan Orth
Hi,

Our DSpace 4.2's Discovery search results displays snippets from the item's
full-text PDF extract, but we get mojibake (strange characters) in the
summaries (see attached photo).  Browsing to the item's PDF-extracted text
bitstream indeed shows the strange characters, and Firefox's developer
tools show the encoding is ISO-8859-1.  What's strange is, if I download
the file the resulting encoding is UTF-8, and these characters display
properly.

I have tried the following:
- Confirmed our Tomcat connectors are using URIEncoding=UTF-8
- Forced -Dfile.encoding=UTF-8 in JAVA_OPTS and manually re-run
`filter-media' as well as `index-discovery -b'

What could I be missing?

Thanks!

-- 
Alan Orth
alan.o...@gmail.com
https://alaninkenya.org
https://mjanja.ch
In heaven all the interesting people are missing. -Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] resolve Import scenario

2014-12-09 Thread Peter Dietz
Hi Pa Y am,

Also, are you using linux or windows? Your message included D:\, which
indicates Windows. Linux / Mac is recommended, but Windows should still
work, just different. I would recommend using the SAFBuilder tool, has
documentation at:
https://wiki.duraspace.org/display/DSPACE/Simple+Archive+Format+Packager


Ensure that your source is in proper Simple Archive Format directory
structure, such as:
/home/dspace/batchimport1
- item1
contents
dublin_core.xml
thesis1.pdf
- item2
contents
dublin_core.xml
thesis2.pdf
...




Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Tue, Dec 9, 2014 at 12:32 AM, Pa Y am p_a_y_...@live.com wrote:

 hi,


 I’m using instruction (
 https://wiki.duraspace.org/pages/viewpage.action?pageId=34640919) for
 import an Item to dspace.



 I use dspace-4.2-src-release.



 Cmd : /dspace/bin/dspace import -a -e p_a_y_...@live.com -c 123456789/2
 -s /home/dspace/source-m /home/dspace/out



 Result :

 Destination collections:

 Owning  Collection: import collection

 Adding items from directory: /home/dspace/source

 Generating mapfile: /home/dspace/out

 Started: 1417525165741

 Ended: 1417525165941

 Elapsed time: 0 secs (200 msecs)



 Mapfile is empty(size:0) and no item be imported and no exception throwed.
 What’s your suggestion for resolve this issue?

 I tried to create more log by modify ItemImport.java 
 (D:\DSpace\Project\dspace-4.2-src-release\dspace-api\src\main\java\org\dspace\app\itemimport\ItemImport.java)
 and build new dspace , but installed dspace did not logged.


 I need import 1000 Item to dspace, unfortunately without this feature I
 can not use dspace. please Help me by exact instruction.


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE

 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Starting in 10 minutes: EU/US conference call on DSpace Structure Use Cases (Dec 09th 16:00 UTC)

2014-12-09 Thread Bram Luyten
Small reminder for today's call on Structure use cases for DSpace.

We will use the international conference call dial-in. Please follow
directions below.
U.S.A/Canada toll free: *866-740-1260*, participant code: *2257295*
International toll free: http://www.readytalk.com/intl

Use the above link and input 2257295 and the country you are calling from
to get your country's toll-free dial in #
Once on the call, enter participant code 2257295

Find our more and note down your use cases in preparation of the meeting:
https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+December+2014

best regards,

Bram Luyten

-- 
[image: logo]
*Bram Luyten*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com
http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On 4 December 2014 at 18:13, Bram Luyten b...@atmire.com wrote:

 Hello,

 You are kindly invited to join next week's discussion on DSpace Structure
 use cases on December 09th, 16:00 UTC - 11:00 ET

 If there is anything you want to do with DSpace, but you are finding
 yourself limited by DSpace's hierarchical structure or related data model
 elements: this is the time to let us know!

 Find our more and note down your use cases in preparation of the meeting:
 https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+December+2014

 Even if you cannot attend the actual conference call, we still welcome
 your online comments on this page.

 We are looking forward to a great discussion,

 Bram Luyten and Maureen Walsh
 DCAT Co-Chairs


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Character encoding issues in Discovery search results

2014-12-09 Thread Antoine Snyers

Hi Alan Orth

-Dfile.encoding=UTF-8 should be added to the bin/dspace command.
Here is the line:
https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace/bin/dspace#L75

Then rerun 'index-discovery -b'.
I believe this will resolve your problem.

Antoine Snyers

Alan Orth schreef op 09/12/14 14:49:

Hi,

Our DSpace 4.2's Discovery search results displays snippets from the 
item's full-text PDF extract, but we get mojibake (strange characters) 
in the summaries (see attached photo).  Browsing to the item's 
PDF-extracted text bitstream indeed shows the strange characters, and 
Firefox's developer tools show the encoding is ISO-8859-1.  What's 
strange is, if I download the file the resulting encoding is UTF-8, 
and these characters display properly.


I have tried the following:
- Confirmed our Tomcat connectors are using URIEncoding=UTF-8
- Forced -Dfile.encoding=UTF-8 in JAVA_OPTS and manually re-run 
`filter-media' as well as `index-discovery -b'


What could I be missing?

Thanks!

--
Alan Orth
alan.o...@gmail.com mailto:alan.o...@gmail.com
https://alaninkenya.org
https://mjanja.ch
In heaven all the interesting people are missing. -Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk


___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
logo
*Antoine Snyers*
/2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010/
/Esperantolaan 4, Heverlee 3001, Belgium/
www.atmire.com 
http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=antoine 



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Character encoding issues in Discovery search results

2014-12-09 Thread Alan Orth
Antoine,

In this case the dspace script respects the environment's JAVA_OPTS if it
is set; the one in the script is only used if JAVA_OPTS is empty.

Alan

On Tue, Dec 9, 2014 at 6:54 PM, Antoine Snyers anto...@atmire.com wrote:

  Hi Alan Orth

 -Dfile.encoding=UTF-8 should be added to the bin/dspace command.
 Here is the line:
 https://github.com/DSpace/DSpace/blob/dspace-4.2/dspace/bin/dspace#L75

 Then rerun 'index-discovery -b'.
 I believe this will resolve your problem.

 Antoine Snyers

 Alan Orth schreef op 09/12/14 14:49:

   Hi,

  Our DSpace 4.2's Discovery search results displays snippets from the
 item's full-text PDF extract, but we get mojibake (strange characters) in
 the summaries (see attached photo).  Browsing to the item's PDF-extracted
 text bitstream indeed shows the strange characters, and Firefox's developer
 tools show the encoding is ISO-8859-1.  What's strange is, if I download
 the file the resulting encoding is UTF-8, and these characters display
 properly.

  I have tried the following:
  - Confirmed our Tomcat connectors are using URIEncoding=UTF-8
  - Forced -Dfile.encoding=UTF-8 in JAVA_OPTS and manually re-run
 `filter-media' as well as `index-discovery -b'

   What could I be missing?

 Thanks!

  --
  Alan Orth
 alan.o...@gmail.com
 https://alaninkenya.org
 https://mjanja.ch
 In heaven all the interesting people are missing. -Friedrich Nietzsche
 GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, 
 FREEhttp://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk



 ___
 DSpace-tech mailing 
 listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



 --
   [image: logo]
  *Antoine Snyers*
 *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
 *Esperantolaan 4, Heverlee 3001, Belgium*
 www.atmire.com
 http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=antoine




-- 
Alan Orth
alan.o...@gmail.com
https://alaninkenya.org
https://mjanja.ch
In heaven all the interesting people are missing. -Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] CANCELLED: Asia/EU conference call on DSpace Structure Use Cases Dec 10th 08:00 UTC

2014-12-09 Thread Bram Luyten
Hi,

unfortunately tomorrow's Asia/EU satellite call on DSpace Structure Use
Cases has been cancelled.
People who were planning to join can still engage in the discussion through
the comment section on the meeting notes page, or on the comment section of
particular use cases that are listed:

https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+December+2014

We apologize for the cancellation.

with kindest regards,

Bram Luyten

-- 
[image: logo]
*Bram Luyten*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com
http://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml


On 4 December 2014 at 18:15, Bram Luyten b...@atmire.com wrote:

 Hello,

 You are kindly invited to join next week's discussion on DSpace Structure
 use cases on December 10th, 08:00 UTC - 03:00 ET

 If there is anything you want to do with DSpace, but you are finding
 yourself limited by DSpace's hierarchical structure or related data model
 elements: this is the time to let us know!

 Find our more and note down your use cases in preparation of the meeting:
 https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+December+2014

 Even if you cannot attend the actual conference call, we still welcome
 your online comments on this page.

 We are looking forward to a great discussion,

 Bram Luyten and Maureen Walsh
 DCAT Co-Chairs



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] [DSpace-tech]: Restore entire site via AIP packager problem!

2014-12-09 Thread Tim Donohue
Hi Nada,

Restoring an entire site actually requires a special command (-r -a -f 
-t). Here's the documentation on that:

https://wiki.duraspace.org/display/DSDOC5x/AIP+Backup+and+Restore#AIPBackupandRestore-RestoringEntireSite

You cannot restore a site with -r -k mode, as when restoring a site, 
you will need to overwrite the existing Administrator group, etc. For 
more info see the documentation link above.

Good luck,

Tim

On 12/8/2014 9:54 AM, Nada Abo-Eita wrote:
 Hi All,

 I'm trying to Backup  Restore using AIP packager following the steps
 mentioned in :

 https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore

 I tried to export the entire site using this command:

 ./dspace packager -d -a -t AIP -e email -i 10576/0 site-aip.zip

 It works fine.

 And then I delete everything on the site including communities,
 collections, items, created groups, Epeople and end up with empty DSpace
 instance that has only admins and anonymous group.

 Then I tried to restore site-aip.zip (using -r -k mode), but it gives me
 this error :

 *_/Collection (10576/32) has no default read policies. /_*

 Please find the original structure of my DSpace instance :
 -Community (has Read permission assigned to anonymous)
-Collection  (has Read, Default_Item_Read, and
 Default_Bitstreams_Readassigned to anonymous
 , and ADD permission assigned to  QUGroup).


 Please Note that when I tried to delete ADD permission assigned to
 QUGroup  from the the original structure of my DSpace instance, restore
 works fine with me in this case.

 Does anyone has an idea why restoring entire site doesn't work in case
 of granting ADD permission to QUgroup specifically to that collection.

 Regards,
 Nada Abo-Eita


 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] possible bug in SpiderDetector.java...

2014-12-09 Thread Tim Donohue
Hi Bill,

This does seem like a good fix. If possible, I'd encourage you to submit 
this as a bug fix, since it's often difficult for us to track code 
suggestions via email.

We'd just ask that you create a bug description in our issue tracker 
(https://jira.duraspace.org/browse/DS/), and optionally send us a GitHub 
Pull Request with the code fix.

Thanks,

Tim

On 12/8/2014 12:26 PM, Bill Tantzen wrote:
 All,

 DSpace 4.2, xmlui

 After investigating some very low statistics since implementing
 version 4.2, I have found that the function isSpider() in
 SpiderDetector.java is throwing an error at line 208 because the
 variable candidate is null.  When the matcher method is called on the
 null variable, an error is thrown, the function never returns, and the
 request does not get logged.

 I added an additional conditional at 208 to test for null:

if ( null != candidate  candidate.matcher(agent).find() ) {

 to prevent the error.

 The question of how there is a null pattern in the agents list is
 another issue -- I'm not sure how that happens.  I'm using the
 out-of-the-box agents/example file, and as a matter of fact, the
 problem does not present itself on every startup.  I have noticed in
 dspace.log that agents/example gets loaded 3 times.  Is there a
 possible synchronization issue with ArrayList.add at line 174?

 At any rate, it seems like a good idea to test for a null value since
 users will likely add odd items to the agents file at some point.

 Comments?  I'd love to hear 'em!

 Cheers,
 Bill

 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette