[Dspace-tech] Imported Items' Access Denied!

2015-06-01 Thread Layale Bassil
Hello again,

Any help here?
Thanks!

From: Unauthenticated AUBnet User [mailto:l...@aub.edu.lb]
Sent: Wednesday, May 27, 2015 12:16 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Imported Items' Access Denied!
Importance: High

Hello,

I am using Dspace 4.2. I created a collection and set its Authorizations to 
Anonymous Read. I want it to be public and accessible by all users.

I did a batch import of many items to this collection but when I try to access 
any of the imported items, I get This item is restricted eventhough it should 
be public and enheriting authorizations from its parent collection. This is how 
older Dspace used to work.

Can you please tell me if in this version authorizations have changed? How can 
I enherit the authorizations from the parent collections to all its items?

Thank you.
Regards.

--
___
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] XOAI and filters based on access permissions

2015-06-01 Thread Kim Shepherd
Kia ora Deborah,

I've done a bit of testing in 5.2, and will do the same test in 3.4
tomorrow -- though I think it'll be the same, looking at the
DSpaceAuthorizationFilter in 3.x vs 5.x, and my findings/notes are that
this does work nicely, in that people won't be able to do a GetRecord for
your restricted items in *any* context (including default) that uses the
bitstreamaccessFilter filter (now called bitstreamAccessCondition in
DSpace 5.x for any others reading this), BUT the trick is that the
authorization filter doesn't actually look at bitstream policies! It looks
at bundle policies. I'm not really sure why.*

Here's an example you can try in my test repository:

Record page: (i'm keeping item public so we can check it)
http://dspace.shepherd.nz/handle/or2015/256
OAI GetRecord request for that handle:
http://dspace.shepherd.nz/oai/request?verb=GetRecordmetadataPrefix=oai_dcidentifier=oai:dspace.shepherd.nz:or2015/256

You should see an error response with The given id does not exist

So here is my suggestion:

1. Make sure that your default context references the
bitstreamaccessFilter, and any other contexts in which you don't wish
these items to appear
(there is the potential that you could have contexts in which you
generally don't want this filter, but do want to exclude Symplectic items -
in these cases, you may need to rethink - in DSpace 5 there are some clever
things that can be done with ANDing and ORing various filters together, but
prior to that you might have to think about filtering based on metadata
instead. It sounds like as long as you keep your Restricted Theses as they
are and keep the bundle policies in place, this will work OK for you)

2.  Find a few items and makes sure there is no Anonymous:READ policy for
the ORIGINAL bundle, and then rebuild your OAI catalog with
${dspace}/bin/dspace oai import -c -v
${dspace}/bin/dspace oai import clean-cache

Some good news: you don't need to restart Tomcat to check your changes! The
DSpace kernel reads configuration whenever you run that dspace oai
command, and is independent of Tomcat.

For the future, and for others wondering about issues like this, there are
also ways to use logical filter definitions to NOT a MetadataValueExists
filter, so you could check for the existence of a metadata value like
pubs.elements-id (Symplectic Elements adds this to every repository item)
and *exclude* the item from the context.
(and for these specific items, which you've mentioned are also non-public
at the ITEM level, I believe the fix
https://jira.duraspace.org/browse/DS-1856 in DSpace 5 would fix this
without any other intervention).

Anyway, I am hoping my suggestions above work for 3.x - I'll try to find
time to test them - and sorry to keep harping on about DSpace 5, I have it
on the brain a bit at the moment ;) I realise upgrade! is not a very good
answer to specific problems like this!

Cheers

Kim

* If you look at
https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/filter/DSpaceAuthorizationFilter.java,
you will see the check:

Item dspaceItem = (Item) HandleManager.resolveToObject(context, handle);
AuthorizeManager.authorizeAction(context, dspaceItem, Constants.READ);
for (*Bundle b* : dspaceItem.getBundles())
AuthorizeManager.authorizeAction(context,* b*, Constants.READ);
return true;

It's the same in 3.x classes.
This might be intentional or it might just be an oversight while iterating
item bundles, I'll check doc and might log a JIRA issue


M: k...@shepherd.nz
T: @kimshepherd
P: +6421883635

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC
https://keybase.io/kshepherd

On 29 May 2015 at 16:26, Fitchett, Deborah deborah.fitch...@lincoln.ac.nz
wrote:

  Hi there,



 We’re on DSpace 3.1 and have just switched over to XMLUI. All we know
 about DSpace we learned from a 2-day workshop and from working through this
 XLMUI switch, so please bear with us!



 Currently we have our XOAI feed set up such that it effectively excludes
 items from two collections:

 ·  “Restricted thesis” collection – theses accessible to our own
 staff and students only. Items have anonymous READ access, but bitstreams
 are restricted

 · “Symplectic” collection – intended as a dark archive of
 copyrighted material kept for internal purposes. Items and bitstreams are
 all access-restricted.



 Firstly, we’ve noticed that while this excludes the items from
 ListIdentifiers and from ListRecords, the metadata for the “Symplectic”
 collection is still returned in a GetRecord request if you know the handle.
 (It isn’t returned in the “Restricted thesis” collection.) This is
 unexpected and very undesirable for us. Can anyone explain it and/or
 suggest a way to ensure this doesn’t happen?





 Secondly, we’d like to move to a situation where:

 ·  “Restricted thesis” collection is included  (at least in one
 OAI context – this is so we can harvest it into our library’s discovery
 layer Primo)

 ·

Re: [Dspace-tech] move an item from one collection to another

2015-06-01 Thread Kim Shepherd
Hi Ahmed, that seems unusual. Are you using JSPUI or XMLUI? Can you attach
a screenshot of the Move Item screen?
(I assume there are more than two collections in your repository?)

Cheers

Kim

M: k...@shepherd.nz
T: @kimshepherd
P: +6421883635

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC
https://keybase.io/kshepherd

On 30 May 2015 at 21:06, Ahmed Maher ama...@kwareict.com wrote:

 Hi All,
 when i try to move an item from collection to another
 only one collection available to move the item to it
 and the dropdown list of collection does not exits to choose the
 collection

 thanks


 --

 ___
 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 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] Community level theming for JSPUI

2015-06-01 Thread Iyer M
Dear Team,

We are using DSpace with JSPUI and like XMLUI, we need to create custom
theme for each community.

Request your guidance in this line. I am not sure if any wiki exist for
community level JSPUI theme.

Thanks,
Iyer
--
___
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] move an item from one collection to another

2015-06-01 Thread Ahmed Maher
Hi Kim,
thanks for reply
i use the XMLUI , the repository contains about 200 collection
and this is a screenshot


On Mon, Jun 1, 2015 at 12:27 PM, Kim Shepherd kim.sheph...@gmail.com
wrote:

 Hi Ahmed, that seems unusual. Are you using JSPUI or XMLUI? Can you attach
 a screenshot of the Move Item screen?
 (I assume there are more than two collections in your repository?)

 Cheers

 Kim

 M: k...@shepherd.nz
 T: @kimshepherd
 P: +6421883635

 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC
 https://keybase.io/kshepherd

 On 30 May 2015 at 21:06, Ahmed Maher ama...@kwareict.com wrote:

 Hi All,
 when i try to move an item from collection to another
 only one collection available to move the item to it
 and the dropdown list of collection does not exits to choose the
 collection

 thanks


 --

 ___
 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 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] Making a collection affiliated with more than one community

2015-06-01 Thread Admire Mutsikiwa
Hi

 

I am interested in establishing how I can make one collection to be
affiliated with more than one community.

 

Kind Regards,

 

Admire Mutsikiwa (Mr)

ICT Manager

Libraries

University of Zimbabwe

Tel:+263-4-303276

Mob:+263782476883

 

It is easy to dodge our responsibilities, but we cannot dodge the
consequences of dodging our responsibilities.  Josiah Charles Stamp
http://www.goodreads.com/author/show/4867406.Josiah_Charles_Stamp 

 


--
UZ at 60: Celebrating our Past, Inspiring the Future. --
___
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] Imported Items' Access Denied!

2015-06-01 Thread Kim Shepherd
Whoops, replied from an unsubscribed address, let me try that again:

Hi Layale, could you include a paste or screenshot of the collection
 policies, and an example of the policies from one of the items?
 It's hard to know exactly what the problem might be, but I wonder if the
 collection has a policy allowed READ for Anonymous but not a
 DEFAULT_ITEM_READ policy for Anonymous.

 Cheers

 Kim
 M: k...@shepherd.nz
 T: @kimshepherd
 P: +6421883635

 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC
 https://keybase.io/kshepherd


On 1 June 2015 at 18:45, Layale Bassil l...@aub.edu.lb wrote:

 Hello again,



 Any help here?

 Thanks!



 *From:* Unauthenticated AUBnet User [mailto:l...@aub.edu.lb]
 *Sent:* Wednesday, May 27, 2015 12:16 PM
 *To:* dspace-tech@lists.sourceforge.net
 *Subject:* [Dspace-tech] Imported Items' Access Denied!
 *Importance:* High



 Hello,



 I am using Dspace 4.2. I created a collection and set its Authorizations
 to Anonymous Read. I want it to be public and accessible by all users.



 I did a batch import of many items to this collection but when I try to
 access any of the imported items, I get “This item is restricted”
 eventhough it should be public and enheriting authorizations from its
 parent collection. This is how older Dspace used to work.



 Can you please tell me if in this version authorizations have changed? How
 can I enherit the authorizations from the parent collections to all its
 items?



 Thank you.

 Regards.




 --

 ___
 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 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] DSpace in high availability configuration

2015-06-01 Thread emilio lorenzo
Hello everyone,
Regarding the configuration of  Dspace to improve its recovery and 
avaliability features, and besides this page, 
https://wiki.duraspace.org/display/DSPACE/Clustering  , it does not seem 
to have much information about experiences and practices.

Any others clues or pointers?  (specifically I was trying to figure out 
how to configure a hot or warm stand-by)


Thanks
Emilio Lorenzo



-- 


--
___
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] Imported Items' Access Denied!

2015-06-01 Thread Claudia Jürgen
Hello,

check the settings
DEFAULT_ITEM_READ and DEFAULT_BITSTREAM_READ for the collection you are 
importing to. From these settings the access rights for the items are 
derived.

Hope this helps

Claudia Jürgen


Am 01.06.2015 um 08:45 schrieb Layale Bassil:
 Hello again,

 Any help here?
 Thanks!

 From: Unauthenticated AUBnet User [mailto:l...@aub.edu.lb]
 Sent: Wednesday, May 27, 2015 12:16 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] Imported Items' Access Denied!
 Importance: High

 Hello,

 I am using Dspace 4.2. I created a collection and set its Authorizations to 
 Anonymous Read. I want it to be public and accessible by all users.

 I did a batch import of many items to this collection but when I try to 
 access any of the imported items, I get This item is restricted eventhough 
 it should be public and enheriting authorizations from its parent collection. 
 This is how older Dspace used to work.

 Can you please tell me if in this version authorizations have changed? How 
 can I enherit the authorizations from the parent collections to all its items?

 Thank you.
 Regards.




 --



 ___
 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


-- 
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@ub.tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie 
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der 
für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den 
Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher 
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung 
eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. 
It is solely intended for the recipient. If you are not the intended 
recipient of this e-mail please contact the sender and delete this 
message. Thank you.
Without prejudice of e-mail correspondence our statements are only 
legally binding when they are made in the conventional written form 
(with personal signature) or when such documents are sent by fax.

--
___
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] What is the proper way to create a dspace context object.

2015-06-01 Thread Monika C. Mevenkamp
You may not realize that you can use the ItemImporter, see 
https://wiki.duraspace.org/display/DSDOC5x/Importing+and+Exporting+Items+via+Simple+Archive+Format

If this is a one-of you may want to have a look at the  jruby integration by 
Brown, Jacob [mailto:j.h.br...@tcu.edumailto:j.h.br...@tcu.edu]
 https://github.com/kardeiz/dscriptor.

If you really need to write your own code - model it after the installItem 
method in InstalItem 
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/content/InstallItem.java#L58-L78

Monika




Monika Mevenkamp
phone: 609-258-4161
Princeton University, Princeton, NJ 08544


On May 29, 2015, at 12:30 PM, Maatari 
okouy...@yahoo.frmailto:okouy...@yahoo.fr wrote:

Hi,

I would like to somewhat submist an item programatically. What would be the
steps for it ?

In the simplest scenario, i would like to create a context object and then
add an item and then commit it.

However i am not sure how the context object should be created. New context
object would obtain the database connection in its init method ? how is that
possible ?


Best,

M



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/What-is-the-proper-way-to-create-a-dspace-context-object-tp4678123.html
Sent from the DSpace - Tech mailing list archive at 
Nabble.comhttp://Nabble.com.

--
___
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

--
___
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] Any recommendet patches?

2015-06-01 Thread IdeaFix
Hi. I want to update my dspace 3.4 ti 5.2. Is there any list of recommended
patches to this release? I ask because I was disappointed problems kike this
https://jira.duraspace.org/browse/DS-2482 in bugfix release.

 

Some projects, like OJS have a page with recommended patches in wiki. I
think it is a good practice.

--
___
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] submission form

2015-06-01 Thread Saidy Binta
Hi,

I created a meta data schema which suits my organisational need, I the modify 
the input form.xml and the input form.dtd. I am know having the Error creating 
submission forms: org.xml.sax.SAXParseException; systemId: 
file:C:/Program%20Files/dspace/config/input-forms.xml; lineNumber: 180; 
columnNumber: 8; The element type form must be terminated by the matching 
end-tag /form. I have check and all  tags are close.

Regards
Binta



DISCLAIMER: This message is private and confidential. If you have received this 
message in error please notify us and remove it from your system. Any views and 
opinions expressed in this message are those of the individual sender and do 
not necessarily represent the views and opinions of Medical Research Council 
Unit, The Gambia

___
This communication is confidential and may contain privileged information 
intended solely for the named recipient(s). It may not be used or disclosed 
except for the purpose for which it has been sent. If you are not the intended 
recipient, you must not copy, distribute, take any action or reliance on it. If 
you have received this communication in error, do not open any attachments but 
please notify the Help Desk by e-mailing h...@mrc.gm quoting the sender 
details, and then delete this message along with any attached files. E-mail 
messages are not secure and attachments could contain software viruses which 
may damage your computer system. Whilst every reasonable precaution has been 
taken to minimise this risk, The MRC Unit The Gambia cannot accept any 
liability for any damage sustained as a result of these factors. You are 
advised to carry out your own virus checks before opening any attachments. 
Unless expressly stated, opinions in this message are those of the e-mail 
author and not of the Medical Research Council Unit The Gambia.
!-- DSpace Custom Submit input form definition language --


 !ELEMENT input-forms (form-map, form-definitions, form-value-pairs) 

 !ELEMENT form-map (name-map)* 
 !ELEMENT name-map EMPTY 
 !ATTLIST name-map 
   collection-handle CDATA #REQUIRED
   form-name NMTOKEN #REQUIRED

 !ELEMENT form-definitions (form)+ 
 !ELEMENT form (page)+ 
 !ATTLIST form name NMTOKEN #REQUIRED
 !ELEMENT page (field)+ 
 !ATTLIST page number NMTOKEN #REQUIRED
 !ELEMENT field (studymetadata-schema, studymetadata-element, studymetadata-qualifier?, repeatable?, label, type-bind?, input-type, hint, required?, vocabulary?, visibility?) 
 !ELEMENT studymetadata-schema (#PCDATA) 
 !ELEMENT studymetadata-element (#PCDATA) 
 !ELEMENT studymetadata-qualifier (#PCDATA) 
 !ELEMENT type-bind (#PCDATA) 
 
 !ELEMENT repeatable (#PCDATA) 
 !ELEMENT label (#PCDATA) 
 !ELEMENT input-type (#PCDATA)
  
 !ELEMENT hint (#PCDATA) 
 !ELEMENT required (#PCDATA)

 !ELEMENT form-value-pairs (value-pairs)* 
 !ELEMENT value-pairs (pair)+ 

 !-- ***
To assign a particular 'value-pairs' list to a particular dropdown 'input-type'
field, as found on a particular form, put:
- value-pairs/@value-pairs-name string into
   form/page/field/input-type/@value-pairs-name
- form/page/field/@DCelement + '_' + form/field/DCqualifier into
   value-pairs/@studymetadata-term
 (e.g. 'language_iso')
  --
 !ATTLIST value-pairs value-pairs-name CDATA #REQUIRED
studymetadata-term   CDATA #REQUIRED
 
  
 !ELEMENT pair (displayed-value,stored-value) 
 !ELEMENT displayed-value (#PCDATA)
 !ELEMENT stored-value (#PCDATA)

 !ATTLIST input-type value-pairs-name CDATA  #IMPLIED

 !ELEMENT vocabulary (#PCDATA) 

 !ATTLIST vocabulary closed (true|false) false 

 !ELEMENT visibility (#PCDATA) 
?xml version=1.0?
!DOCTYPE input-forms SYSTEM input-forms.dtd


input-forms

 !-- The form-map maps collection handles to forms. DSpace does not   --
 !-- require a collection name to be unique, not even within a community. --
 !-- DSpace does however ensure that each collection's handle is unique.  --
 !-- Form-map provides the means to associate a unique collection name--
 !-- with a form. The form-map also provides the special handle default --
 !-- (which is never a collection), here mapped to traditional. Any --
 !-- collection which does not appear in this map will be associated with --
 !-- the mapping for handle default.--

 form-map
 
   name-map collection-handle=123456789/2 form-name=MRC /
  
 /form-map


 !-- The form-definitions map lays out the detailed definition of all the --
 !-- submission forms. Each separate form set has a unique name as an --
 !-- attribute. This name matches one of the names in the form-map. One   --
 !-- named form set has the name traditional; as this name suggests,--
 !-- it is the old style and is also the default, which gets used when  

Re: [Dspace-tech] two form fields with same schema element and qualifier

2015-06-01 Thread Graham Faulkner
Hello again. I failed to mention that this was for XMLUI (Mirage 2 to be 
specific) on DS 5.1.

Cheers,

Graham


From: Graham Faulkner [mailto:graham.faulk...@uwaterloo.ca]
Sent: Friday, May 29, 2015 2:13 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] two form fields with same schema element and qualifier

Hi there,

This question relates to DS5.1 on Ubuntu using PostgreSQL.

In our /dspace/config/input-forms.xml we have two drop-down fields for Faculty 
and Department, respectively.  We want both fields to have the same element 
(contributor) and qualifier (affiliation), which are part of a custom 
schema (uws).

However, when we submit the item in the submission workflow, the fields are 
each inserted twice in the database.  i.e. rather than having one entry for the 
Faculty and one for Department, there are two entries each.

Here are the respective fields in input-forms.xml:

!-- New field: Faculty --
field
  dc-schemauws/dc-schema
  dc-elementcontributor/dc-element
  dc-qualifieraffiliation/dc-qualifier
  repeatablefalse/repeatable
  labelFaculty or affiliated and federated institution/label
  input-type 
value-pairs-name=FacultySubmissionForm_facultydropdown/input-type
  hintSelect your faculty or affiliated and federated institution 
from the drop down
list./hint
  requiredYou must choose from the list of Faculties and affiliated 
and federated
institutions./required
/field

!-- New field: Department --
field
  dc-schemauws/dc-schema
  dc-elementcontributor/dc-element
  dc-qualifieraffiliation/dc-qualifier
  repeatablefalse/repeatable
  labelDepartment/label
  input-type 
value-pairs-name=FacultySubmissionForm_departmentdropdown/input-type
  hintSelect your department from the drop down list./hint
  requiredYou must choose from the list of departments./required
/field

Any suggestions on solutions, or pointers to where the duplicate entry is 
occurring in the source code?

Cheers,

Graham

-
Graham Faulkner
Web Developer / Programmer
Digital Initiatives, Library
University of Waterloo
Waterloo, Ontario N2L 3G1 CANADA
519-888-4567 x32461
graham.faulk...@uwaterloo.camailto:graham.faulk...@uwaterloo.ca

--
___
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] Any recommendet patches?

2015-06-01 Thread Tim Donohue
Hi,

That particular bug was *fixed* in 5.2. Notice its Fix Version/s says 
5.2, which means it is resolved in that release

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

We don't have a page of recommended patches, simply because we try to 
release regular bug-fix releases. Since we try to include any 
recommended patches in our next bug-fix release, maintaining such a 
list would quickly become outdated.

That being said, anyone is welcome to start such a list on the Wiki (as 
the wiki itself is publicly editable)

You are also more than welcome to search our Issue Tracker 
(https://jira.duraspace.org/browse/DS) or GitHub Pull Requests 
(https://github.com/DSpace/DSpace/pulls) for recently reported bugs and 
patches to apply. These both can be useful tools to search if you run 
into a bug, and need it resolved even before the next bug fix release. 
Plus, we can always use more help testing proposed patches!

- Tim

On 6/1/2015 10:17 AM, IdeaFix wrote:
 Hi. I want to update my dspace 3.4 ti 5.2. Is there any list of
 recommended patches to this release? I ask because I was disappointed
 problems kike this https://jira.duraspace.org/browse/DS-2482 in bugfix
 release.

 Some projects, like OJS have a page with recommended patches in wiki. I
 think it is a good practice.



 --



 ___
 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 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.1, Mirage2, Requested URL /solr/search/select was not found

2015-06-01 Thread George Stanley Kozak
Sorry that my solution didn’t  work for you, Kyle.
Tim Donohue, Graham Tiggs and Mark Wood helped me with my problem which first 
appeared to be a permission problem but ended up being a conflict in tomcat.  
Maybe they or someone else in the DSpace community has some ideas?

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


From: Kyle Harriss [mailto:kharr...@d.umn.edu]
Sent: Monday, June 01, 2015 4:07 PM
To: George Stanley Kozak
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace 5.1, Mirage2, Requested URL 
/solr/search/select was not found

Thanks for the suggestion, George!
Unfortunately, it seems to be a different case here.
I only have one Host entry, which reads:

 Host name=localhost  appBase=webapps
unpackWARs=true autoDeploy=true

Regards,

Kyle
--
Kyle Harriss
Kathryn A. Martin Library
University of Minnesota Duluth
kharr...@d.umn.edumailto:kharr...@d.umn.edu
(218) 726-6546

On Mon, Jun 1, 2015 at 2:35 PM, George Stanley Kozak 
g...@cornell.edumailto:g...@cornell.edu wrote:
Kyle:

I am not sure if this is the answer to your problem, but I ran into the exact 
same problem when we did our upgrade to DSpace 5.1, and I discovered that the 
problem was in the tomcat server.xml file.

At our site, I had 2 Host entries defined.  One was for Host 
name=localhost that was configured to load *everything* under the webapps 
subdirectory.  The other was for our development site: Host 
name=ecommons-test.library.cornell.eduhttp://ecommons-test.library.cornell.edu
 which was  configured to load webapps/xmlui and webapps/jspui


This worked fine for DSpace 1.8 through DSpace 4.3, but the minute that I went 
to DSpace 5.1, it caused the problem that you are describing.  I had to change 
my server.xml file so that there is only one host defined, and that fixed my 
problem.

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



From: Kyle Harriss [mailto:kharr...@d.umn.edumailto:kharr...@d.umn.edu]
Sent: Monday, June 01, 2015 2:48 PM
To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] DSpace 5.1, Mirage2, Requested URL /solr/search/select 
was not found

Hello,

What we've set up and what works
==
We upgraded our test server from DSpace 3.1 to DSpace 5.1/Mirage2
I have tomcat running under the username dspace.  The user dspace owns the 
[dspace] directory and all it's subdirectories.
Everything that does not involve a search or an indexed list seems to work.
I can enter the admin module and view stats.
Additional item views and downloads show up in stats report the next day.
I can follow a link to an item record, view the full item record, download the 
document (bitstream).

What doesn't work

If I try to browse a collection, I get:
Expected mime type application/octet-stream but got text/html...404 Not 
Found..The requested URL /solr/search/select was not found on this server...

If I search for a word that I know should produce a list of results, I get:
Search produced no search results.

Testing one solution - failed
=
I recently tried opening [dspace]/solr and removing the subdirectories search 
and statistics and then recompiled DSpace 5.1 and rebooted the server.   The 
subdirectories were recreated - but there was no change in behavior.


Trying to connect to solr
==
I set up an ssh tunnel from port 8080 on my desktop PC to port 8080 on the 
server running dspace.

In a web browser, http://localhost:8080 opens the public home page for the 
repository.

But trying to connect to http://localhost:8080/solr yields the message Page 
cannot be found.


Could it be..?
==
Are there some solr config settings I might need to check?
Or is this possibly a firewall problem on the test server?
Any suggestions for what I should check next?


All comments and suggestions are appreciated.  Thank you!


Kyle
--
Kyle Harriss
Kathryn A. Martin Library
University of Minnesota Duluth
kharr...@d.umn.edumailto:kharr...@d.umn.edu
(218) 726-6546tel:%28218%29%20726-6546

--
___
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] DSpace 5.1, Mirage2, Requested URL /solr/search/select was not found

2015-06-01 Thread Kyle Harriss
Hello,

What we've set up and what works
==
We upgraded our test server from DSpace 3.1 to DSpace 5.1/Mirage2
I have tomcat running under the username dspace.  The user dspace owns
the [dspace] directory and all it's subdirectories.

Everything that does not involve a search or an indexed list seems to work.
I can enter the admin module and view stats.
Additional item views and downloads show up in stats report the next day.
I can follow a link to an item record, view the full item record, download
the document (bitstream).

What doesn't work

If I try to browse a collection, I get:
Expected mime type application/octet-stream but got text/html...404 Not
Found..The requested URL /solr/search/select was not found on this
server...

If I search for a word that I know should produce a list of results, I get:
Search produced no search results.

Testing one solution - failed
=
I recently tried opening [dspace]/solr and removing the subdirectories
search and statistics and then recompiled DSpace 5.1 and rebooted the
server.   The subdirectories were recreated - but there was no change in
behavior.


Trying to connect to solr
==
I set up an ssh tunnel from port 8080 on my desktop PC to port 8080 on the
server running dspace.

In a web browser, http://localhost:8080 opens the public home page for the
repository.

But trying to connect to http://localhost:8080/solr yields the message
Page cannot be found.


Could it be..?
==
Are there some solr config settings I might need to check?
Or is this possibly a firewall problem on the test server?
Any suggestions for what I should check next?


All comments and suggestions are appreciated.  Thank you!


Kyle
--
Kyle Harriss
Kathryn A. Martin Library
University of Minnesota Duluth
kharr...@d.umn.edu
(218) 726-6546
--
___
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.1, Mirage2, Requested URL /solr/search/select was not found

2015-06-01 Thread George Stanley Kozak
Kyle:

I am not sure if this is the answer to your problem, but I ran into the exact 
same problem when we did our upgrade to DSpace 5.1, and I discovered that the 
problem was in the tomcat server.xml file.

At our site, I had 2 Host entries defined.  One was for Host 
name=localhost that was configured to load *everything* under the webapps 
subdirectory.  The other was for our development site: Host 
name=ecommons-test.library.cornell.edu which was  configured to load 
webapps/xmlui and webapps/jspui


This worked fine for DSpace 1.8 through DSpace 4.3, but the minute that I went 
to DSpace 5.1, it caused the problem that you are describing.  I had to change 
my server.xml file so that there is only one host defined, and that fixed my 
problem.

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



From: Kyle Harriss [mailto:kharr...@d.umn.edu]
Sent: Monday, June 01, 2015 2:48 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] DSpace 5.1, Mirage2, Requested URL /solr/search/select 
was not found

Hello,

What we've set up and what works
==
We upgraded our test server from DSpace 3.1 to DSpace 5.1/Mirage2
I have tomcat running under the username dspace.  The user dspace owns the 
[dspace] directory and all it's subdirectories.
Everything that does not involve a search or an indexed list seems to work.
I can enter the admin module and view stats.
Additional item views and downloads show up in stats report the next day.
I can follow a link to an item record, view the full item record, download the 
document (bitstream).

What doesn't work

If I try to browse a collection, I get:
Expected mime type application/octet-stream but got text/html...404 Not 
Found..The requested URL /solr/search/select was not found on this server...

If I search for a word that I know should produce a list of results, I get:
Search produced no search results.

Testing one solution - failed
=
I recently tried opening [dspace]/solr and removing the subdirectories search 
and statistics and then recompiled DSpace 5.1 and rebooted the server.   The 
subdirectories were recreated - but there was no change in behavior.


Trying to connect to solr
==
I set up an ssh tunnel from port 8080 on my desktop PC to port 8080 on the 
server running dspace.

In a web browser, http://localhost:8080 opens the public home page for the 
repository.

But trying to connect to http://localhost:8080/solr yields the message Page 
cannot be found.


Could it be..?
==
Are there some solr config settings I might need to check?
Or is this possibly a firewall problem on the test server?
Any suggestions for what I should check next?


All comments and suggestions are appreciated.  Thank you!


Kyle
--
Kyle Harriss
Kathryn A. Martin Library
University of Minnesota Duluth
kharr...@d.umn.edumailto:kharr...@d.umn.edu
(218) 726-6546
--
___
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.1, Mirage2, Requested URL /solr/search/select was not found

2015-06-01 Thread Kyle Harriss
Thanks for the suggestion, George!
Unfortunately, it seems to be a different case here.
I only have one Host entry, which reads:

 Host name=localhost  appBase=webapps
unpackWARs=true autoDeploy=true

Regards,

Kyle
--
Kyle Harriss
Kathryn A. Martin Library
University of Minnesota Duluth
kharr...@d.umn.edu
(218) 726-6546

On Mon, Jun 1, 2015 at 2:35 PM, George Stanley Kozak g...@cornell.edu
wrote:

  Kyle:



 I am not sure if this is the answer to your problem, but I ran into the
 exact same problem when we did our upgrade to DSpace 5.1, and I discovered
 that the problem was in the tomcat server.xml file.

 At our site, I had 2 Host entries defined.  One was for Host
 name=localhost that was configured to load *everything* under the
 webapps subdirectory.  The other was for our development site: Host
 name=ecommons-test.library.cornell.edu which was  configured to load
 webapps/xmlui and webapps/jspui



 This worked fine for DSpace 1.8 through DSpace 4.3, but the minute that I
 went to DSpace 5.1, it caused the problem that you are describing.  I had
 to change my server.xml file so that there is only one host defined, and
 that fixed my problem.



 George Kozak

 Digital Library Specialist

 Cornell University Library Information Technologies (CUL-IT)

 218 Olin Library

 Cornell University

 Ithaca, NY 14853

 607-255-8924







 *From:* Kyle Harriss [mailto:kharr...@d.umn.edu]
 *Sent:* Monday, June 01, 2015 2:48 PM
 *To:* dspace-tech@lists.sourceforge.net
 *Subject:* [Dspace-tech] DSpace 5.1, Mirage2, Requested URL
 /solr/search/select was not found



 Hello,



 What we've set up and what works

 ==

 We upgraded our test server from DSpace 3.1 to DSpace 5.1/Mirage2

 I have tomcat running under the username dspace.  The user dspace owns
 the [dspace] directory and all it's subdirectories.

 Everything that does not involve a search or an indexed list seems to work.

 I can enter the admin module and view stats.

 Additional item views and downloads show up in stats report the next day.

 I can follow a link to an item record, view the full item record, download
 the document (bitstream).



 What doesn't work

 

 If I try to browse a collection, I get:

 Expected mime type application/octet-stream but got text/html...404 Not
 Found..The requested URL /solr/search/select was not found on this
 server...



 If I search for a word that I know should produce a list of results, I get:

 Search produced no search results.



 Testing one solution - failed

 =

 I recently tried opening [dspace]/solr and removing the subdirectories
 search and statistics and then recompiled DSpace 5.1 and rebooted the
 server.   The subdirectories were recreated - but there was no change in
 behavior.





 Trying to connect to solr

 ==

 I set up an ssh tunnel from port 8080 on my desktop PC to port 8080 on the
 server running dspace.



 In a web browser, http://localhost:8080 opens the public home page for
 the repository.



 But trying to connect to http://localhost:8080/solr yields the message
 Page cannot be found.





 Could it be..?

 ==

 Are there some solr config settings I might need to check?

 Or is this possibly a firewall problem on the test server?

 Any suggestions for what I should check next?





 All comments and suggestions are appreciated.  Thank you!




 Kyle

 --

 Kyle Harriss
 Kathryn A. Martin Library

 University of Minnesota Duluth

 kharr...@d.umn.edu
 (218) 726-6546

--
___
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 issue with SOLR following an upgrade from 3.2 to 5.2

2015-06-01 Thread Kim Shepherd
Hi Casey,

It looks to me like these problems (at least, the errors pasted) could be
related to some XMLUI aspect or pipeline issues rather than Solr itself.
However, taking a look at your Solr index(es) and making sure the data is
all there sounds like a good first step, and will at least eliminate it as
a problem.

By default, the Solr webapp is configured with a
LocalhostRestrictionFilter enabled, to ensure that only your local DSpace
[web]apps have access.
You'll want to give yourself some direct access to Solr to help with
testing and diagnosis -  here are some instructions that will help you open
your Solr webapp up to some specific IPs without letting the rest of the
Internet in. (assuming Tomcat7)
https://wiki.duraspace.org/display/DSPACE/Solr#Solr-InstructionsspecifictoTomcat7andnewer

Once you've configured that, you can visit http://your.hostname/solr to get
to the main admin page, or try a few queries like
http://your.hostname/solr/search/select?q=*:*

I'm keen to hear how you get on with all of that - keep us posted!

If it doesn't help get to the bottom of the actual problem, you could maybe
compare your XMLUI config and sitemaps between dev and prod instances...
I'm wondering if some parts didn't get fully upgraded and are referring to
invalid paths or getting stuck somewhere?

Cheers

Kim


M: k...@shepherd.nz
T: @kimshepherd
P: +6421883635

0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC
https://keybase.io/kshepherd

On 30 May 2015 at 08:24, Hume, Casey casey.h...@nist.gov wrote:

  Hello,



 We’re upgrading our existing 3.2 DSpace install to 5.2.  We copied our
 production system into a dev environment and I was able to complete the
 upgrade without any issues, but upon replicating the process in production,
 everything has worked except that the Recent Submissions, Discovery, and
 Search do not work in the production server.



 I suspect this may have something to do with the solr application, but I’m
 fairly new to DSpace.



 At present, the only remaining issues appearing in the logs are below.  If
 someone could confirm my suspicion, suggest a good method to test the solr
 setup or point me in a different direction it would be much appreciated.



 In cocoon.log:



 2015-05-29 16:02:11,763 ERROR cocoon.handled  - Failed to process pipeline

 at map:serialize type=xml -
 jndi:/localhost/dspace/xmlui/aspects/aspects.xmap:96:31

 at map:generate type=file -
 jndi:/localhost/dspace/xmlui/aspects/aspects.xmap:95:55

 at map:serialize type=xml -
 resource://aspects/Versioning/sitemap.xmap:135:40

 …

 [and also messages such as]

 org.apache.cocoon.caching.impl.CacheImpl  - Caching new response for
 PK_G-aspect-cocoon://DRI/2/discover?pipelinehash=



 in dspace.log:

 2015-05-29 16:21:45,585 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2015-05-29 16:21:45,989 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2015-05-29 16:21:46,006 INFO
 org.dspace.app.xmlui.aspect.discovery.AbstractSearch @
 anonymous:session_id=X:ip_addr=XXX.XXX.XXX.XXX:search:query=null,results=(0,0,0)





 Casey R. Hume, Ph.D.

 Computer Scientist,

 Office of Data Informatics (ODI)

 National Institute of Standards and Technology

 100 Bureau Drive;

 (a)Building 222/Room A125 (x 2451)

 (b)Building 223/Room A3-- (x )

 Gaithersburg, MD  20899-2300








 --

 ___
 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 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