[Dspace-tech] DSpace 5 Upgrade steps

2015-05-04 Thread Lewatle Phaladi
Hi All,

On my dspace upgrade I have executed the following commands in sequence without 
errors from step 5 :
mvn -U clean package
mvn -U clean package -Dmirage2.on=true
Omitted this command(the following command I haven't executed)

mvn -U clean package -Dmirage2.on=true -Dmirage2.deps.included=false
please advise if I should also run : mvn -U clean package -Dmirage2.on=true 
-Dmirage2.deps.included=false

_

Enabling and building the DSpace 5 Mirage 2 theme
Icon
Mirage 2 is a responsive theme for the XML User Interface, added as a new 
feature in DSpace 5. It has not yet replaced the Mirage 1 theme as the XMLUI 
default theme.
To enable Mirage 2, add the following to the  themes  section of 
src/dspace/config/xmlui.xconf , replacing the currently active theme:
  theme name=Mirage 2 regex=.* path=Mirage2/ /
It is important to do this before executing the maven build.
Mirage 2 is not yet activated in the default mvn package build. To include it 
as part of the build, run:

mvn -U clean package -Dmirage2.on=true

The speed of this specific step of the build can be increased by installing 
local copies of the specific dependencies required for building Mirage 2. The 
Mirage 2 developer 
documentationhttps://github.com/DSpace/DSpace/tree/master/dspace-xmlui-mirage2
 provides detailed instructions for these installations. After the installation 
of these dependencies, you can choose to run:

mvn -U clean package -Dmirage2.on=true -Dmirage2.deps.included=false

Warning: The Mirage 2 build process should NOT be run as root. It must be run 
as a non-root user. For more information see: Mirage 2 Common Build 
Issueshttps://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues

Regards,
Lewatle

table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%;
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. /span/font/td
/tr
/table
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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 5 Upgrade steps

2015-05-04 Thread Hilton Gibson
Hi Lewatle

See the please note: here:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2#Theme_Only_Re-Build

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 4 May 2015 at 11:07, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:

  Hi All,



 On my dspace upgrade I have executed the following commands in sequence
 without errors from step 5 :

 mvn -U clean package

 mvn -U clean package -Dmirage2.on=true

 Omitted this command(“the following command I haven’t executed”)

 mvn -U clean package -Dmirage2.on=true -Dmirage2.deps.included=false

  please advise if I should also run : mvn -U clean package -Dmirage2.on=
 true -Dmirage2.deps.included=false




 _



 *Enabling and building the DSpace 5 Mirage 2 theme*

 Icon

 Mirage 2 is a responsive theme for the XML User Interface, added as a new
 feature in DSpace 5. It has not yet replaced the Mirage 1 theme as the
 XMLUI default theme.

 To enable Mirage 2, add the following to the  themes  section
 of src/dspace/config/xmlui.xconf , replacing the currently active theme:

   theme name=Mirage 2 regex=.* path=Mirage2/ /

 It is important to do this before executing the maven build.

 Mirage 2 is not yet activated in the default mvn package build. To
 include it as part of the build, run:


 mvn -U clean package -Dmirage2.on=true



 The speed of this specific step of the build can be increased by
 installing local copies of the specific dependencies required for building
 Mirage 2. The Mirage 2 developer documentation
 https://github.com/DSpace/DSpace/tree/master/dspace-xmlui-mirage2 provides
 detailed instructions for these installations. After the installation of
 these dependencies, you can choose to run:


 mvn -U clean package -Dmirage2.on=true -Dmirage2.deps.included=false



 *Warning: *The Mirage 2 build process should NOT be run as root. It
 must be run as a non-root user. For more information see: Mirage 2 Common
 Build Issues
 https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues



 Regards,

 Lewatle

  This communication is intended for the addressee only. It is confidential. 
 If you have received this communication in error, please notify us 
 immediately and destroy the original message. You may not copy or disseminate 
 this communication without the permission of the University. Only authorised 
 signatories are competent to enter into agreements on behalf of the 
 University and recipients are thus advised that the content of this message 
 may not be legally binding on the University and may contain the personal 
 views and opinions of the author, which are not necessarily the views and 
 opinions of The University of the Witwatersrand, Johannesburg. All agreements 
 between the University and outsiders are subject to South African Law unless 
 the University agrees in writing to the contrary.



 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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 5 Upgrade steps

2015-05-04 Thread Lewatle Phaladi
Thanks Hilton.

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: 04 May 2015 11:43 AM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace 5 Upgrade steps

Hi Lewatle

See the please note: here: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2#Theme_Only_Re-Build

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 4 May 2015 at 11:07, Lewatle Phaladi 
lewatle.phal...@wits.ac.zamailto:lewatle.phal...@wits.ac.za wrote:
Hi All,

On my dspace upgrade I have executed the following commands in sequence without 
errors from step 5 :
mvn -U clean package
mvn -U clean package -Dmirage2.on=true
Omitted this command(“the following command I haven’t executed”)

mvn -U clean package -Dmirage2.on=true -Dmirage2.deps.included=false
please advise if I should also run : mvn -U clean package -Dmirage2.on=true 
-Dmirage2.deps.included=false

_

Enabling and building the DSpace 5 Mirage 2 theme
Icon
Mirage 2 is a responsive theme for the XML User Interface, added as a new 
feature in DSpace 5. It has not yet replaced the Mirage 1 theme as the XMLUI 
default theme.
To enable Mirage 2, add the following to the  themes  section of 
src/dspace/config/xmlui.xconf , replacing the currently active theme:
  theme name=Mirage 2 regex=.* path=Mirage2/ /
It is important to do this before executing the maven build.
Mirage 2 is not yet activated in the default mvn package build. To include it 
as part of the build, run:

mvn -U clean package -Dmirage2.on=true

The speed of this specific step of the build can be increased by installing 
local copies of the specific dependencies required for building Mirage 2. The 
Mirage 2 developer 
documentationhttps://github.com/DSpace/DSpace/tree/master/dspace-xmlui-mirage2
 provides detailed instructions for these installations. After the installation 
of these dependencies, you can choose to run:

mvn -U clean package -Dmirage2.on=true -Dmirage2.deps.included=false

Warning: The Mirage 2 build process should NOT be run as root. It must be run 
as a non-root user. For more information see: Mirage 2 Common Build 
Issueshttps://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues

Regards,
Lewatle
This communication is intended for the addressee only. It is confidential. If 
you have received this communication in error, please notify us immediately and 
destroy the original message. You may not copy or disseminate this 
communication without the permission of the University. Only authorised 
signatories are competent to enter into agreements on behalf of the University 
and recipients are thus advised that the content of this message may not be 
legally binding on the University and may contain the personal views and 
opinions of the author, which are not necessarily the views and opinions of The 
University of the Witwatersrand, Johannesburg. All agreements between the 
University and outsiders are subject to South African Law unless the University 
agrees in writing to the contrary.




--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%; 
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the 

[Dspace-tech] DSpace web pages showing incomplete information

2015-05-04 Thread Lewatle Phaladi
Hi All,

I am getting the following error, my DSpace installation is unable to show the 
entire webpages. Any idea is acceptable, please see the screenshot bellow with 
the information retrieved on the web browser:

[cid:image005.jpg@01D08670.3FB65F00]


[cid:image006.jpg@01D08670.3FB65F00]

Regards,
Lewatle

table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%;
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. /span/font/td
/tr
/table
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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 web pages showing incomplete information

2015-05-04 Thread Hilton Gibson
Hi Lewatle

I think this was mentioned a while back.
I think the cause was not being able to download dependencies via the
internet because of a proxy setup.
And I think the error does not stop the build of Mirage2... the build just
carries on.

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 4 May 2015 at 13:43, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:

  Hi All,



 I am getting the following error, my DSpace installation is unable to show
 the entire webpages. Any idea is acceptable, please see the screenshot
 bellow with the information retrieved on the web browser:









 Regards,

 Lewatle

  This communication is intended for the addressee only. It is confidential. 
 If you have received this communication in error, please notify us 
 immediately and destroy the original message. You may not copy or disseminate 
 this communication without the permission of the University. Only authorised 
 signatories are competent to enter into agreements on behalf of the 
 University and recipients are thus advised that the content of this message 
 may not be legally binding on the University and may contain the personal 
 views and opinions of the author, which are not necessarily the views and 
 opinions of The University of the Witwatersrand, Johannesburg. All agreements 
 between the University and outsiders are subject to South African Law unless 
 the University agrees in writing to the contrary.



 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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 web pages showing incomplete information

2015-05-04 Thread Sean Carte
On 4 May 2015 at 13:43, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote:

 I am getting the following error, my DSpace installation is unable to show
 the entire webpages. Any idea is acceptable, please see the screenshot
 bellow with the information retrieved on the web browser:


Hi Lewatie

That looks similar to the issue that Dr Andrea Schweer was able to help me
with:

The Mirage 2 build requires git. Ensure that git is installed before you
launch the Mirage 2 build.

The Mirage 2 build process will attempt to retrieve some dependencies from
GitHub via the git protocol. This requires outgoing access to github.com,
port 9418. If the machine on which you're running the build has access
restrictions in place for that port but outgoing access via HTTPS (port
443) is allowed, you can substitute the https protocol by running (with the
same user account that will run the maven step):
git config --global url.https://github.com/.insteadOf git://github.com/

https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues

Sean
-- Forwarded message --
From: Andrea Schweer schw...@waikato.ac.nz
Date: 29 January 2015 at 21:37
Subject: Re: [Dspace-tech] Mirage 2
To: Massimiliano Cilurzo mcilu...@unisa.it, dspace-tech 
dspace-tech@lists.sourceforge.net


Hi,
On 30/01/15 01:19, Massimiliano Cilurzo wrote:
   We have just installed DSPACE 5.0 on our test environment, and we would
like to use the Mirage 2 theme.

 But after  installing it we have this problem:

 Syntax error: File to import not found or unreadable:
../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.

   Load paths:

 Compass::SpriteImporter


/usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles


/usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets

 on line 16 of styles/main.scss
I just had this problem a couple of days ago. For me, maven said that the
build had been successful, but in reality it had failed to download some
files. This is because the server I was running the build on has restricted
access to the outside world. For me, configuring git to use the https
protocol rather than the git protocol did the trick. You do also need to
have git installed on the machine where you're running maven. Have a look
here for common Mirage 2 build issues:
https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues

cheers,
Andrea

--
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Open Search

2015-05-04 Thread Peter Dietz
Hi Gary,

The SOLR Discovery based search endpoint is: open-search/discover?query=x
The older lucene based endpoint is open-search/?query=x

In your case:
http://ses-dev.library.usyd.edu.au/open-search/discover?query=test
Longsight's demo site:
https://trydspace.longsight.com/open-search/discover?query=test

Without the /discover, then it will use the Lucene search engine, which in
many sites could be out-dated, if you've stopped indexing content into
lucene. SOLR is the current default search engine.



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

On Mon, May 4, 2015 at 1:18 AM, Gary Browne gary.bro...@sydney.edu.au
wrote:

  Argh I was sure I tried that already, but obviously not!

 Thanks a lot Andrea, that did the trick.

 Cheers,
 Gary


 *Gary Browne* | Development Programmer
 University of Sydney Library
 THE UNIVERSITY OF SYDNEY
 Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006
 *T* +61 2 9351 5946 | *M* +61 405 647 868
 *E* gary.bro...@sydney.edu.au
 On 04/05/15 15:00, Andrea Schweer wrote:

 Hi Gary,

 On 04/05/15 16:37, Gary Browne wrote:

 I'm trying to get open search working. I have enabled it and restarted
 tomcat. If I send a search like:

 http://ses-dev.library.usyd.edu.au/open-search/?q=test


 Looks like this needs to be query=test (and you don't strictly speaking
 need the trailing slash, though it shouldn't cause any problems either)

 https://github.com/DSpace/DSpace/blob/dspace-4.1/dspace-jspui/src/main/java/org/dspace/app/webui/discovery/DiscoverUtility.java#L190

 Does this work? http://ses-dev.library.usyd.edu.au/open-search/?query=test

 cheers,
 Andrea

 --
 Dr Andrea Schweer
 IRR Technical Specialist, ITS Information Systems
 The University of Waikato, Hamilton, New Zealand




 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] How to integrate a specific viewer?

2015-05-04 Thread Evgeni Dimitrov
If there is a web application (running in the same Tomcat as DSpace), which
can display a particular kind of items (consisting of several files),

A. is there a way for it to check access rights to the item based on the
JSESSIONID?
B. is there a way for it to get the real file name based on the bitstream
id?

Best regards
Evgeni
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] access rights in METS ingest are ignored

2015-05-04 Thread helix84
Which DSpace version and which ingestion method are you using?

I added simple embargo recording in metsrights metadata, available
since DSpace 4 via AIP packager (both ingest and dissemination). You
can see the issue and the patch here:

https://jira.duraspace.org/browse/DS-1514

I don't remeber whether metsrights in AIP uses the same concept of
users/groups as DSpace, though.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
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] access rights in METS ingest are ignored

2015-05-04 Thread Evgeni Dimitrov
Thank you helix84,

I am using DSpace 5.1.
I am ingesting with the line

dspace packager -e evgeni.dimit...@nalis.bg -p 123456789/3 -t METS
D:\DSPACE.5.1\DSPACE_data\bingest_03c_mets.zip

Best regards
Evgeni


On Mon, May 4, 2015 at 5:44 PM, helix84 heli...@centrum.sk wrote:

 Which DSpace version and which ingestion method are you using?

 I added simple embargo recording in metsrights metadata, available
 since DSpace 4 via AIP packager (both ingest and dissemination). You
 can see the issue and the patch here:

 https://jira.duraspace.org/browse/DS-1514

 I don't remeber whether metsrights in AIP uses the same concept of
 users/groups as DSpace, though.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-05-04 Thread Graham Faulkner
Hi all,

Just circling back on this to see if anyone has some pointers in the right 
direction on extracting firstName, lastName and email using CAS  DS 5.1 
(please see details below).

Cheers,

Graham


From: Graham Faulkner [mailto:graham.faulk...@uwaterloo.ca]
Sent: Tuesday, April 28, 2015 9:51 AM
To: Hongxing Geng
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

Hi Hongxing,

Thanks again for your assistance.  I have CAS *mostly* working now – i.e. I 
authenticate users using CAS and auto-register them with a custom group at 
their first login.  As per the code snippets at 
https://github.com/DSpace/DSpace/pull/222/files?diff=unified, I populate their 
eperson account with fixed firstName and lastName values that they have to 
change manually in their profile.  I would like to populate these with their 
real name values via the authentication process.

In our 3.1 instance we retrieve the values of firstName, lastName and email via 
CAS, but my attempts in 5.1 are failing.  One noticeable difference I see is 
that in our 3.1 instance we have multiple filter/filter-mapping entries in 
xmlui’s web.xml file.  When I introduce these filter’s and filter-mapping’s 
in 5.1 DSpace it shows “authentication failed” on the page, and in the DSpace 
log I get an error like:

2015-04-28 08:51:12,278 INFO  
org.jasig.cas.client.proxy.ProxyGrantingTicketStorageImpl @ No Proxy Ticket 
found for [].
  2 2015-04-28 08:51:12,310 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil 
@ anonymous:session_id=89D79CD05A27E0343FE
618B6E5ED66DB:ip_addr=129.97.58.43:failed_login:email=null, realm=null, result=5

What did you have in your web.xml when you implemented CAS in DSpace 5.x?  It 
would be great to retrieve the user’s name and email from our authentication 
server when they login for the first time.  Any advice is greatly appreciated.

Cheers,

Graham


From: Hongxing Geng [mailto:bi...@athabascau.ca]
Sent: Thursday, April 23, 2015 11:04 AM
To: Graham Faulkner
Cc: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

Have you include the following in your dspace-api/pom.xml?

dependency
groupIdcas/groupId

artifactIdcasclient/artifactId
version2.1.1/version
/dependency

cheers!

Hongxing Geng
Library Services
Athabasca University
Phone: 780-675-6589

- Graham Faulkner 
graham.faulk...@uwaterloo.camailto:graham.faulk...@uwaterloo.ca wrote:


Hi Hongxing,

I tried to rebuild with the changes, and I’m getting a “package 
edu.yale.its.tp.cas.client does not exist” error.  Are you able to build using 
that package?

Graham



From: Hongxing Geng [mailto:bi...@athabascau.ca]
 Sent: Wednesday, April 22, 2015 3:25 PM
 To: Graham Faulkner
 Cc: 
 dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

Hi Graham,

I was using this link for reference 
https://github.com/DSpace/DSpace/pull/222/files?diff=split and successfully 
implemented CAS authentication for DSpace 5.0. I believe the same code works 
for DSpace 5.1 as well. Authentication does not deal with themes, so whether 
the theme is Mirage 2 does not matter.

Thanks

 Hongxing Geng
 Library Services
 Athabasca University
 Phone: 780-675-6589

 - Graham Faulkner 
 graham.faulk...@uwaterloo.camailto:graham.faulk...@uwaterloo.ca wrote:
 

Hi there,

We are trying to set up CAS authentication for a DSpace 5.1 instance running 
XMLUI (Mirage 2).

I have taken some cues from this GitHub pull request 
(https://github.com/DSpace/DSpace/pull/804) and from a custom CAS 
implementation from our DS 3.1 instance.  We have installed a certificate and 
can view things via https on port 8443.

However, upon performing the CAS login and returning to the website, we 
encounter this error: “HTTP Status 500 - javax.net.ssl.SSLProtocolException: 
handshake alert: unrecognized_name”

Doing some Googling, it seems like this is an issue with the newer JVM, and 
that we need to disable SNI, by setting this flag: 
“-Djsse.enableSNIExtension=false”. (e.g. 
https://wiki.jasig.org/display/CASUM/SSL+Troubleshooting+and+Reference+Guide)

I added it to JAVA_OPTS value in the /dspace-source/dspace/bin/dspace file, and 
rebuilt everything.  However, I’m still encountering the error when attempting 
a CAS login.

Has anyone successfully got CAS working with DSpace 5.1, XMLUI (Mirage 2), or 
have pointers in the right direction?

Cheers,

Graham

-
Graham Faulkner
Web Developer / Programmer
Digital Initiatives, Library
University of Waterloo
Waterloo, Ontario N2L 3G1 CANADA
519-888-4567 x32461

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-05-04 Thread Hongxing Geng

Hi Graham, 


Sorry for missing your last email. I got firstName, etc information from a LDAP 
server. Thus, in my dspace-api/pom.xml, the following is also included: 

dependency 
groupIdcom.novell.ldap/groupId 
artifactIdjldap/artifactId 
version4.3/version 
/dependency 
And the CASAuthentication.java has: 

import com.novell.ldap.LDAPAttribute; 
import com.novell.ldap.LDAPConnection; 
import com.novell.ldap.LDAPEntry; 
import com.novell.ldap.LDAPException; 
import com.novell.ldap.LDAPSearchResults; 


Hope this help. 
Hongxing Geng 
Library Services 
Athabasca University 
Phone: 780-675-6589 

- Graham Faulkner graham.faulk...@uwaterloo.ca wrote: 
 
 

Hi all, 



Just circling back on this to see if anyone has some pointers in the right 
direction on extracting firstName, lastName and email using CAS  DS 5.1 
(please see details below). 



Cheers, 



Graham 





 

From: Graham Faulkner [mailto:graham.faulk...@uwaterloo.ca] 
 Sent: Tuesday, April 28, 2015 9:51 AM 
 To: Hongxing Geng 
 Cc: dspace-tech@lists.sourceforge.net 
 Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2) 



Hi Hongxing, 



Thanks again for your assistance. I have CAS * mostly * working now – i.e. I 
authenticate users using CAS and auto-register them with a custom group at 
their first login. As per the code snippets at 
https://github.com/DSpace/DSpace/pull/222/files?diff=unified , I populate their 
eperson account with fixed firstName and lastName values that they have to 
change manually in their profile. I would like to populate these with their 
real name values via the authentication process. 



In our 3.1 instance we retrieve the values of firstName, lastName and email via 
CAS, but my attempts in 5.1 are failing. One noticeable difference I see is 
that in our 3.1 instance we have multiple filter/filter-mapping entries in 
xmlui’s web.xml file. When I introduce these filter’s and filter-mapping’s 
in 5.1 DSpace it shows “authentication failed” on the page, and in the DSpace 
log I get an error like: 



2015-04-28 08:51:12,278 INFO 
org.jasig.cas.client.proxy.ProxyGrantingTicketStorageImpl @ No Proxy Ticket 
found for [] . 

2 2015-04-28 08:51:12,310 INFO org.dspace.app.xmlui.utils.AuthenticationUtil @ 
anonymous:session_id=89D79CD05A27E0343FE 
618B6E5ED66DB:ip_addr=129.97.58.43:failed_login:email=null, realm=null, 
result=5 



What did you have in your web.xml when you implemented CAS in DSpace 5.x? It 
would be great to retrieve the user’s name and email from our authentication 
server when they login for the first time. Any advice is greatly appreciated. 



Cheers, 



Graham 





 

From: Hongxing Geng [ mailto:bi...@athabascau.ca ] 
 Sent: Thursday, April 23, 2015 11:04 AM 
 To: Graham Faulkner 
 Cc: dspace-tech@lists.sourceforge.net 
 Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2) 




Have you include the following in your dspace-api/pom.xml? 






dependency 


groupIdcas/groupId 


artifactIdcasclient/artifactId 


version2.1.1/version 


/dependency 





cheers! 



 Hongxing Geng 
 Library Services 
 Athabasca University 
 Phone: 780-675-6589 
 
 - Graham Faulkner  graham.faulk...@uwaterloo.ca  wrote: 
  

 

Hi Hongxing, 



I tried to rebuild with the changes, and I’m getting a “package 
edu.yale.its.tp.cas.client does not exist” error. Are you able to build using 
that package? 



Graham 





 

 

From: Hongxing Geng [ mailto:bi...@athabascau.ca ] 
  Sent: Wednesday, April 22, 2015 3:25 PM 
  To: Graham Faulkner 
  Cc: dspace-tech@lists.sourceforge.net 
  Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2) 




Hi Graham, 





I was using this link for reference 
https://github.com/DSpace/DSpace/pull/222/files?diff=split and successfully 
implemented CAS authentication for DSpace 5.0. I believe the same code works 
for DSpace 5.1 as well. Authentication does not deal with themes, so whether 
the theme is Mirage 2 does not matter. 





Thanks 
  
  Hongxing Geng 
  Library Services 
  Athabasca University 
  Phone: 780-675-6589 
  
  - Graham Faulkner  graham.faulk...@uwaterloo.ca  wrote: 
   

 

Hi there, 



We are trying to set up CAS authentication for a DSpace 5.1 instance running 
XMLUI (Mirage 2). 



I have taken some cues from this GitHub pull request ( 
https://github.com/DSpace/DSpace/pull/804 ) and from a custom CAS 
implementation from our DS 3.1 instance. We have installed a certificate and 
can view things via https on port 8443. 



However, upon performing the CAS login and returning to the website, we 
encounter this error: “HTTP Status 500 - javax.net.ssl.SSLProtocolException: 
handshake alert: unrecognized_name” 



Doing some Googling, it seems like this is an issue with the newer JVM, and 
that we need to disable SNI, by setting this flag: 
“-Djsse.enableSNIExtension=false”. (e.g. 
https://wiki.jasig.org/display/CASUM/SSL+Troubleshooting+and+Reference+Guide ) 



I added it to JAVA_OPTS value in the 

Re: [Dspace-tech] batch import error You need to provide the owning collection

2015-05-04 Thread ali esmaeili
nobody have any idea about this problem???nobody use batch import?

On Fri, May 1, 2015 at 10:43 AM, ali esmaeili a.esmaeili@gmail.com
wrote:

 hi peter,thanks for response,it is for collectioni also try to sumbit
 in dspace demo on demo.dspace.org/jspui but cant use batch import width
 collection file.

 On Fri, May 1, 2015 at 10:40 AM, Peter Dietz pe...@longsight.com wrote:

 Is that 123456789/12 the handle of a community or a collection? It
 needs to be a collection.

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

 On Fri, May 1, 2015 at 12:32 PM, ali esmaeili a.esmaeili@gmail.com
 wrote:

 hi every body.
 im new in dspace 5.1.
 i want to use batch import from jspui administration.
 i have 1 item that contains:
 dublincore.xml that is true.
 contents that is true.
 mainfile that is true.
 collections (that is problem)
 based on documentation i have a file that in first line have handler id
 for example 123456789/12

 but when i try to upload it in batch import from jspui this error  You
 need to provide the owning collection
 i dont want to use dropdown for collection.

 please help me.
 thanks for your response.


 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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




--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Altering Advance Search in DSpace 5.1 XMLUI

2015-05-04 Thread George Stanley Kozak
Andrea and Peter:


Thank you for your help.  This is exactly what I needed to know.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CULIT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924

From: Andrea Schweer schw...@waikato.ac.nz
Sent: Monday, May 4, 2015 5:33 PM
To: George Stanley Kozak; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Altering Advance Search in DSpace 5.1 XMLUI

Hi,

On 05/05/15 07:38, George Stanley Kozak wrote:
I need to add Type to the Filters and I'm pretty sure I know how to do that 
(by altering spring/api/discovery.xml), but I can't figure out where the 
modifiers: Contains, Equals, ID, etc. are coming from.  I need to drop 
ID and Not ID.  Can someone point me in the right direction?

If you're happy to modify the Java code, it's here:
https://github.com/DSpace/DSpace/blob/dspace-5.1/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/SimpleSearch.java#L249
 (and line 246)

I use grep/find for this sort of thing (just in case this helps someone down 
the line):
[in dspace-src] rgrep 'Not ID' dspace-xmlui/src/main/
dspace-xmlui/src/main/resources/aspects/Discovery/i18n/messages.xml:
message key=xmlui.Discovery.SimpleSearch.filter.notauthorityNot ID/message
[in dspace-src] find . -name SimpleSearch.java
./dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/SimpleSearch.java
./dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/SimpleSearch.java
and since the messages.xml entry refers to Discovery, you know you'll want the 
first of these two classes, and then search for where the message key is used.

If you prefer to make XSL changes, the DRI is here: 
http://demo.dspace.org/xmlui/DRI/discover
so you may just be able to get away with an empty template for something like 
dri:field[starts-with(@id, 
'aspect.discovery.SimpleSearch.field.filter_relational_operator_')]/dri:option[@returnValue='notauthority'
 or @returnValue='authority'] in your theme.xsl file -- but I haven't tried 
that.

cheers,
Andrea


--
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Open Search

2015-05-04 Thread Gary Browne
Hi Peter,

Ah that's great, I wasn't aware of that.

Thanks a lot,
Gary


Gary Browne | Development Programmer
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006
T +61 2 9351 5946 | M +61 405 647 868
E gary.bro...@sydney.edu.aumailto:gary.bro...@sydney.edu.au
On 04/05/15 23:54, Peter Dietz wrote:
Hi Gary,

The SOLR Discovery based search endpoint is: open-search/discover?query=x
The older lucene based endpoint is open-search/?query=x

In your case: http://ses-dev.library.usyd.edu.au/open-search/discover?query=test
Longsight's demo site: 
https://trydspace.longsight.com/open-search/discover?query=test

Without the /discover, then it will use the Lucene search engine, which in many 
sites could be out-dated, if you've stopped indexing content into lucene. SOLR 
is the current default search engine.



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

On Mon, May 4, 2015 at 1:18 AM, Gary Browne 
gary.bro...@sydney.edu.aumailto:gary.bro...@sydney.edu.au wrote:
Argh I was sure I tried that already, but obviously not!

Thanks a lot Andrea, that did the trick.

Cheers,
Gary


Gary Browne | Development Programmer
University of Sydney Library
THE UNIVERSITY OF SYDNEY
Level 1, Fisher Library F03 | The University of Sydney | NSW | 2006
T +61 2 9351 5946tel:%2B61%202%209351%205946 | M +61 405 647 
868tel:%2B61%20405%20647%20868
E gary.bro...@sydney.edu.aumailto:gary.bro...@sydney.edu.au
On 04/05/15 15:00, Andrea Schweer wrote:
Hi Gary,

On 04/05/15 16:37, Gary Browne wrote:
I'm trying to get open search working. I have enabled it and restarted tomcat. 
If I send a search like:

http://ses-dev.library.usyd.edu.au/open-search/?q=test

Looks like this needs to be query=test (and you don't strictly speaking need 
the trailing slash, though it shouldn't cause any problems either)
https://github.com/DSpace/DSpace/blob/dspace-4.1/dspace-jspui/src/main/java/org/dspace/app/webui/discovery/DiscoverUtility.java#L190

Does this work? http://ses-dev.library.usyd.edu.au/open-search/?query=test

cheers,
Andrea

--
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Error when browse Title, Author, Issue Date in Communities or Collections

2015-05-04 Thread Nguyen Hung Thanh
Thank you very much

On Tue, May 5, 2015 at 9:30 AM, Andrea Schweer schw...@waikato.ac.nz
wrote:

  Hi,

 On 05/05/15 14:10, Nguyen Hung Thanh wrote:

  I install *DSpace 5.1* on windows, using *jspui*.

 When I browse DSpace via Title, Author, Issue Date in Communities or
 Collections,
 DSpace show all item in DSpace instead show item in this
 Communities/Collections


 This is a known bug in DSpace 5.1:
 https://jira.duraspace.org/browse/DS-2482
 It will be fixed in DSpace 5.2, which will hopefully be released in the
 next few weeks.

 If you can't wait for DSpace 5.2, you could try applying the original
 bugfix to your code base: https://github.com/DSpace/DSpace/pull/876/files

 cheers,
 Andrea

 --
 Dr Andrea Schweer
 IRR Technical Specialist, ITS Information Systems
 The University of Waikato, Hamilton, New Zealand


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Error when browse Title, Author, Issue Date in Communities or Collections

2015-05-04 Thread Nguyen Hung Thanh
Hi all,

I install *DSpace 5.1* on windows, using *jspui*.

When I browse DSpace via Title, Author, Issue Date in Communities or
Collections,
DSpace show all item in DSpace instead show item in this
Communities/Collections

The same error in site http://demo.dspace.org/jspui

Anybody have any idea about this problem?

Thanks for your response.

Hung Thanh
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Altering Advance Search in DSpace 5.1 XMLUI

2015-05-04 Thread Peter Dietz
Hi George,

Take a look at this site that we customized the Search Filter / Faceting.
https://dspace.sunyconnect.suny.edu/handle/1951/48213/discover?filtertype_1=publisherfilter_relational_operator_1=containsfilter_1=Schirmersubmit_apply_filter=Applyquery=operascope=1951%2F48213

Your on the right path with that, it can be modified
with spring/api/discovery.xml
If also chooses which facets show for that collection on the sidebar.
https://dspace.sunyconnect.suny.edu/handle/1951/48213

Then, to remove notContains, look at:
https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/SimpleSearch.java#L243

Select typeSelect = row.addCell(, Cell.ROLE_DATA,
selection).addSelect(filter_relational_operator_ + index);
typeSelect.addOption(StringUtils.equals(relationalOperator,
contains), contains, T_filter_contain);
typeSelect.addOption(StringUtils.equals(relationalOperator,
equals), equals, T_filter_equals);
typeSelect.addOption(StringUtils.equals(relationalOperator,
authority), authority, T_filter_authority);
typeSelect.addOption(StringUtils.equals(relationalOperator,
notcontains), notcontains, T_filter_notcontain);
typeSelect.addOption(StringUtils.equals(relationalOperator,
notequals), notequals, T_filter_notequals);
typeSelect.addOption(StringUtils.equals(relationalOperator,
notauthority), notauthority, T_filter_notauthority);

There's a bunch of hard-coded relation operators. This is hard coded, so
changes are global, and made by changing the java, and rebuilding.

(d'oh, I've just noticed that Andrea's just sent a response, sending
anyways)


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

On Mon, May 4, 2015 at 3:38 PM, George Stanley Kozak g...@cornell.edu
wrote:

  Hi…



 I am using DSpace 5.1 (XMLUI, Mirage2 theme).  In the Advanced Search, we
 have Filters:

 Title

 Author

 Subject

 Date issued



 And the modifiers:

 Contains

 Equals

 ID

 Not Contains

 Not Equals

 Not ID



 I need to add “Type” to the Filters and I’m pretty sure I know how to do
 that (by altering spring/api/discovery.xml), but I can’t figure out where
 the modifiers: “Contains”, Equals”, “ID”, etc. are coming from.  I need to
 drop “ID” and “Not ID”.  Can someone point me in the right direction?

 Thank you.



 George Kozak

 Digital Library Specialist

 Cornell University Library Information Technologies (CUL-IT)

 218 Olin Library

 Cornell University

 Ithaca, NY 14853

 607-255-8924






 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Error when browse Title, Author, Issue Date in Communities or Collections

2015-05-04 Thread Andrea Schweer

  
  
Hi,

On 05/05/15 14:10, Nguyen Hung Thanh
  wrote:


  
I install DSpace 5.1 on windows, using jspui.
  
  When I browse DSpace via Title, Author, Issue Date in
  Communities or Collections,
  DSpace show all item in DSpace instead show item in this
  Communities/Collections

  


This is a known bug in DSpace 5.1:
https://jira.duraspace.org/browse/DS-2482
It will be fixed in DSpace 5.2, which will hopefully be released in
the next few weeks. 

If you can't wait for DSpace 5.2, you could try applying the
original bugfix to your code base:
https://github.com/DSpace/DSpace/pull/876/files

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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