[Dspace-tech] DSPACE 3.0 advanced serach

2013-03-07 Thread saurabh
i have added a new metadata in dc*approvalno*and i want it to be displayed
as an option in dropdown menu when i click on advanced search in jspuii had
tried it doing bt i am not able to do so, soo kindly help me!tell me the
things i need to do..pls give solutions related to *dspace 3.0*



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSPACE-3-0-advanced-serach-tp4662536.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] Login with shibboleth: users get rights but are not added to the group

2013-03-07 Thread Lehtilä Tapani
After updating to DSpace 1.8 our submitters do get their rights through 
Shibboleth (for example staff or student), but they are not added to the group 
in Dspace permanently. So these groups stay empty even though users can submit.

I cannot find where to configure this. Is there any way to change this behavior?

Tapani

-- 
Tapani Lehtilä, Tampere University of Technology / Library
tapani.leht...@tut.fi 


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
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] Login with shibboleth: users get rights but are not added to the group

2013-03-07 Thread helix84
On Thu, Mar 7, 2013 at 2:18 PM, Lehtilä Tapani tapani.leht...@tut.fi wrote:
 After updating to DSpace 1.8 our submitters do get their rights through 
 Shibboleth (for example staff or student), but they are not added to the 
 group in Dspace permanently. So these groups stay empty even though users can 
 submit.

 I cannot find where to configure this. Is there any way to change this 
 behavior?

This is the intended behaviour (thats why they're called special
groups) and AFAIK it cannot be changed. But why would you change it,
is there any problem with it? They are assigned by the authentication
method on login, so there's no point in storing them when the user is
logged off and they can be changed remotely (on Shibboleth IdP) and
become effective on next DSpace login.

You can see your current effective group membership on the profile page.


Regards,
~~helix84

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

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
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] Login with shibboleth: users get rights but are not added to the group

2013-03-07 Thread Lehtilä Tapani
Users sometimes complain that they cannot submit and I would like to know, if 
they didn't get their rights through Shibboleth (easy start is to look the 
groups) or they just didn't find the link where to submit. Both has happened 
and many users don't care to read any help information. Parsing the rights from 
logs is somewhat tedious.

But if this is intended I think I just have to manage with it.

Thanks for the answer
Tapani

-- 
Tapani Lehtilä, Tampere University of Technology / Library
tapani.leht...@tut.fi 

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
helix84
Sent: Thursday, March 07, 2013 4:15 PM
To: Lehtilä Tapani
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Login with shibboleth: users get rights but
are not added to the group

On Thu, Mar 7, 2013 at 2:18 PM, Lehtilä Tapani tapani.leht...@tut.fi
wrote:
 After updating to DSpace 1.8 our submitters do get their rights
through Shibboleth (for example staff or student), but they are not
added to the group in Dspace permanently. So these groups stay empty
even though users can submit.

 I cannot find where to configure this. Is there any way to change this
behavior?

This is the intended behaviour (thats why they're called special
groups) and AFAIK it cannot be changed. But why would you change it,
is there any problem with it? They are assigned by the authentication
method on login, so there's no point in storing them when the user is
logged off and they can be changed remotely (on Shibboleth IdP) and
become effective on next DSpace login.

You can see your current effective group membership on the profile page.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
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] Fwd: dspace 3.x OAI-PMH help

2013-03-07 Thread helix84
-- Forwarded message --
From: Mckeane Thomas mckeane.tho...@gmail.com
Date: Thu, Mar 7, 2013 at 3:40 PM
Subject: Re: [Dspace-tech] dspace 3.x OAI-PMH help
To: Ivan Masár heli...@centrum.sk


Yes I did apply the patch and  am still getting the same and I am
still unable to harvest from a collection. i am still getting the
message:

OAI server did not contain any updates

On Wed, Mar 6, 2013 at 12:13 PM, helix84 heli...@centrum.sk wrote:


 On Mar 6, 2013 5:56 PM, Mckeane Thomas mckeane.tho...@gmail.com wrote:
  I haven't been able to harvest any items at all from the dspace 3.1 
  installation.

 Thomas, did you also apply Joao's patch on the server side?

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
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] Fwd: dspace 3.x OAI-PMH help

2013-03-07 Thread João Melo
Hi Mckeane,

did you rebuild DSpace and cleared the cache at the server side?

$ bin/dspace oai clean-cache


On 7 March 2013 14:44, helix84 heli...@centrum.sk wrote:

 -- Forwarded message --
 From: Mckeane Thomas mckeane.tho...@gmail.com
 Date: Thu, Mar 7, 2013 at 3:40 PM
 Subject: Re: [Dspace-tech] dspace 3.x OAI-PMH help
 To: Ivan Masár heli...@centrum.sk


 Yes I did apply the patch and  am still getting the same and I am
 still unable to harvest from a collection. i am still getting the
 message:

 OAI server did not contain any updates

 On Wed, Mar 6, 2013 at 12:13 PM, helix84 heli...@centrum.sk wrote:
 
 
  On Mar 6, 2013 5:56 PM, Mckeane Thomas mckeane.tho...@gmail.com
 wrote:
   I haven't been able to harvest any items at all from the dspace 3.1
 installation.
 
  Thomas, did you also apply Joao's patch on the server side?


 --
 Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
 Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
 endpoint security space. For insight on selecting the right partner to
 tackle endpoint security challenges, access the full report.
 http://p.sf.net/sfu/symantec-dev2dev
 ___
 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




-- 
Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
DSpace Department
*Lyncode*: Official
websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[image: Follow us on
Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] PDF convertor to ePub

2013-03-07 Thread Calloni, Rodrigo
Thanks Helix

Is it better to convert a DOCX to ePub instead to converting PDF  ePub?

Thanks
Rodrigo

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Monday, March 04, 2013 9:20 AM
To: Calloni, Rodrigo
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] PDF convertor to ePub

Hi Rodrigo,

this is almost certainly a bad idea. You want to do ePub - PDF, not the other 
way around.

There isn't much documentation on writing a custom media filter [1], but this 
could also be done just as well using a curation task, which is documented much 
better [2].

[1] 
https://wiki.duraspace.org/display/DSDOC3x/Transforming%20DSpace%20Content%20(MediaFilters)#TransformingDSpaceContent(MediaFilters)-CreatingCustomMediaFilters

[2] https://wiki.duraspace.org/display/DSDOC3x/Curation+System


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
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] In which Oracle table I can find workspaceID?

2013-03-07 Thread Calloni, Rodrigo
Hello

We have DSpace 1.6.2 running XMLUI

When I go to the list of Unfinished Submissions I see the following link 
syntax for those items:

http://hostname/submit?workspaceID=89654

I want to see how this unfinished submission is recorded in the database. Which 
Oracle table should I look for it?

Basically I want to see if it is possible to update the Database in order to 
move an unfinished submission to another eperson.

Best regards
Rodrigo

Rodrigo Calloni
System Librarian
Felipe Herrera Library
Knowledge and Learning Sector
Tel: 202-623-2952
Fax: 202-623-3183
[cid:image001.gif@01CE1B3A.D928DCB0]
1300 New York Avenue, N.W.
Washington, D.C. 20577
USA
www.iadb.orghttp://www.iadb.org/

Knowledge for Development Challenges
P  Please consider the environment before printing this email

inline: image001.gif--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] In which Oracle table I can find workspaceID?

2013-03-07 Thread Andrea Schweer

  
  
Hi Rodrigo,

On 08/03/13 07:51, Calloni, Rodrigo
  wrote:

  
When I go to the list of
  Unfinished Submissions I see the following link syntax for
  those items:

http://hostname/submit?workspaceID=89654

I want to see how this unfinished
  submission is recorded in the database. Which Oracle table
  should I look for it?
  
  Basically I want to see if it is possible to update the
  Database in order to move an unfinished submission to another
  eperson. 

  


It refers to the workspace_item_id column in the workspaceitem
table. You should be able to move the submission to the new eperson
by following the link (via item_id) to the item table, which has a
submitter column that's a foreign key to the eperson id.

I just noticed that there's also a table called
epersongroup2workspaceitem but I don't know what it does.

As usual when hacking the database directly, make a backup of your
database before you try it and do it on a non-production environment
first. If you're successful, let us know what you did.

cheers,
Andrea

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


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] In which Oracle table I can find workspaceID?

2013-03-07 Thread Calloni, Rodrigo
Hello Andrea

I ran the following SQL and it brought 0 results:

select * from workspaceitem where workspace_item_id = 89654;

Any ideas?
Rodrigo

From: Andrea Schweer [mailto:schw...@waikato.ac.nz]
Sent: Thursday, March 07, 2013 3:35 PM
To: dspace-tech@lists.sourceforge.net
Cc: Calloni, Rodrigo
Subject: Re: [Dspace-tech] In which Oracle table I can find workspaceID?

Hi Rodrigo,
On 08/03/13 07:51, Calloni, Rodrigo wrote:
When I go to the list of Unfinished Submissions I see the following link 
syntax for those items:

http://hostname/submit?workspaceID=89654

I want to see how this unfinished submission is recorded in the database. Which 
Oracle table should I look for it?

Basically I want to see if it is possible to update the Database in order to 
move an unfinished submission to another eperson.

It refers to the workspace_item_id column in the workspaceitem table. You 
should be able to move the submission to the new eperson by following the link 
(via item_id) to the item table, which has a submitter column that's a foreign 
key to the eperson id.

I just noticed that there's also a table called epersongroup2workspaceitem but 
I don't know what it does.

As usual when hacking the database directly, make a backup of your database 
before you try it and do it on a non-production environment first. If you're 
successful, let us know what you did.

cheers,
Andrea



--

Dr Andrea Schweer

IRR Technical Specialist, ITS Information Systems

The University of Waikato, Hamilton, New Zealand
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] Question about bitstream format registry

2013-03-07 Thread George S Kozak
Hi...

I discovered today that I had a bitstream that was dropped from the bitstream 
format registry (my fault) when I went from DSpace 1.7.1 to DSpace 1.8.2, so 
every item using the specific bitstream now shows it as unknown.

I fixed things in the bitstream registry and fixed a few records by typing in 
the correct ID number while the item is in Edit Mode, but I have 226 items to 
be updated.

I was wondering if I did an index update would that automatically fix the 
bitstreams to show that they are now known or is there some batch way to 
updated the display of these bitstreams?

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

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] In which Oracle table I can find workspaceID?

2013-03-07 Thread Brian Freels-Stendel
Good afternoon,

In addition to the submitter's id in the item table, their name is recorded in 
the metadatavalue table in the provenance field (metadata_field_id = 28.)  I'm 
not sure when this information is created in the database, but it's probably 
there if there's a record in the workspaceitem table.  I'm also not sure if it 
shows up anywhere else.

It would probably be better if you can cancel the first submission and 
re-submit it under the new eperson's account.

B--

From: Calloni, Rodrigo [mailto:rcall...@iadb.org]
Sent: Thursday, March 07, 2013 2:01 PM
To: Andrea Schweer; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] In which Oracle table I can find workspaceID?

Hello Andrea

I ran the following SQL and it brought 0 results:

select * from workspaceitem where workspace_item_id = 89654;

Any ideas?
Rodrigo

From: Andrea Schweer [mailto:schw...@waikato.ac.nz]
Sent: Thursday, March 07, 2013 3:35 PM
To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Cc: Calloni, Rodrigo
Subject: Re: [Dspace-tech] In which Oracle table I can find workspaceID?

Hi Rodrigo,
On 08/03/13 07:51, Calloni, Rodrigo wrote:
When I go to the list of Unfinished Submissions I see the following link 
syntax for those items:

http://hostname/submit?workspaceID=89654

I want to see how this unfinished submission is recorded in the database. Which 
Oracle table should I look for it?

Basically I want to see if it is possible to update the Database in order to 
move an unfinished submission to another eperson.

It refers to the workspace_item_id column in the workspaceitem table. You 
should be able to move the submission to the new eperson by following the link 
(via item_id) to the item table, which has a submitter column that's a foreign 
key to the eperson id.

I just noticed that there's also a table called epersongroup2workspaceitem but 
I don't know what it does.

As usual when hacking the database directly, make a backup of your database 
before you try it and do it on a non-production environment first. If you're 
successful, let us know what you did.

cheers,
Andrea


--

Dr Andrea Schweer

IRR Technical Specialist, ITS Information Systems

The University of Waikato, Hamilton, New Zealand
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] Question about bitstream format registry

2013-03-07 Thread Brian Freels-Stendel
Hi George,

Did the bitstream_format_id get changed to the Unknown type, or is it still 
the original ID?

If it's still the original ID, I would go into the database table 
bitstreamformatregistry and change the ID of the new record to the old ID.  
Then, of course, revert the ID of those few records you updated to the new ID.

If it's not, I'd probably run a SQL query:  update bitstream set 
bitstream_format_id = [NEW_ID] where bitstream_format_id = [OLD_ID]

And for sure, make a backup of the db before trying either of these.

B--


From: George S Kozak [mailto:g...@cornell.edu]
Sent: Thursday, March 07, 2013 2:18 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Question about bitstream format registry

Hi...

I discovered today that I had a bitstream that was dropped from the bitstream 
format registry (my fault) when I went from DSpace 1.7.1 to DSpace 1.8.2, so 
every item using the specific bitstream now shows it as unknown.

I fixed things in the bitstream registry and fixed a few records by typing in 
the correct ID number while the item is in Edit Mode, but I have 226 items to 
be updated.

I was wondering if I did an index update would that automatically fix the 
bitstreams to show that they are now known or is there some batch way to 
updated the display of these bitstreams?

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

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] Question about bitstream format registry

2013-03-07 Thread Brian Freels-Stendel
Oh, bother.

Both of those solutions would require that the ID be the old format ID.  I'm 
kind of counting on that, to be honest.  If the ID changed to the Unknown 
format, you could try putting all of the relevant bitstream IDs into an update 
like update bitstream set bitstream_format_id = [NEW_ID] where bitstream_id in 
[BITSTREAM_ID_LIST(COMMA_SEPARATED)]

B--


From: Brian Freels-Stendel [mailto:bfre...@unm.edu]
Sent: Thursday, March 07, 2013 2:37 PM
To: George S Kozak; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question about bitstream format registry

Hi George,

Did the bitstream_format_id get changed to the Unknown type, or is it still 
the original ID?

If it's still the original ID, I would go into the database table 
bitstreamformatregistry and change the ID of the new record to the old ID.  
Then, of course, revert the ID of those few records you updated to the new ID.

If it's not, I'd probably run a SQL query:  update bitstream set 
bitstream_format_id = [NEW_ID] where bitstream_format_id = [OLD_ID]

And for sure, make a backup of the db before trying either of these.

B--


From: George S Kozak [mailto:g...@cornell.edu]
Sent: Thursday, March 07, 2013 2:18 PM
To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Question about bitstream format registry

Hi...

I discovered today that I had a bitstream that was dropped from the bitstream 
format registry (my fault) when I went from DSpace 1.7.1 to DSpace 1.8.2, so 
every item using the specific bitstream now shows it as unknown.

I fixed things in the bitstream registry and fixed a few records by typing in 
the correct ID number while the item is in Edit Mode, but I have 226 items to 
be updated.

I was wondering if I did an index update would that automatically fix the 
bitstreams to show that they are now known or is there some batch way to 
updated the display of these bitstreams?

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

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] In which Oracle table I can find workspaceID?

2013-03-07 Thread Andrea Schweer

  
  
Hi Rodrigo,

On 08/03/13 10:00, Calloni, Rodrigo
  wrote:


  
  
  
  
Hello
Andrea

I
ran the following SQL and it brought 0 results:

select
* from workspaceitem where workspace_item_id = 89654;
  


That's odd -- I just tried with an unfinished submission in one of
my repos and it comes up with your query (substituting the
appropriate ID, obviously). I'm on PostgreSQL but I don't think this
is any different in Oracle (and looking at the code for the
WorkspaceItem class shows no differences based on the DB type). Is
there anything at all in your workspaceitem table?

cheers,
Andrea

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


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] In which Oracle table I can find workspaceID?

2013-03-07 Thread Andrea Schweer

  
  
Hi,

On 08/03/13 10:19, Brian Freels-Stendel
  wrote:

  
In
addition to the submitters id in the item table, their name
is recorded in the metadatavalue table in the provenance
field (metadata_field_id = 28.) Im not sure when this
information is created in the database, but its probably
there if theres a record in the workspaceitem table. Im
also not sure if it shows up anywhere else.
  


Brian is right, the name will be in the provenance, but if that
doesn't bother you then it won't matter -- as in, this won't affect
the functionality at all.


  

It
would probably be better if you can cancel the first
submission and re-submit it under the new epersons account.

  


I agree with Brian, if that's a possibility at all then cancelling
the first submission and starting a new one is what I'd recommend.
Or if you're on XMLUI and the original submitter isn't a DSpace
admin, look into enabling the "assume login" functionality, log in
as the original submitter and push through the submission -- see
relevant snippet from dspace.cfg below:

# Determine if super administrators (those
  whom are in the Administrators group)
  # can login as another user from the "edit eperson" page. This is
  usefull for
  # debugging problems in a running dspace instance, especially in
  the workflow
  # process. The default value is false, i.e. no one may assume the
  login of another user.
  xmlui.user.assumelogin = true


cheers,
Andrea

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


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] HTML and input forms

2013-03-07 Thread David Arromba

  
  
An update:
  
  I've done much trial and error over the last two weeks, and I
  still cannot come up with a sensible solution. The closest I have
  come is trying to implement this within item-view.xsl:
  
  
  https://wiki.duraspace.org/pages/viewpage.action?pageId=19006441
  
  I assume that this "break" template detects Enter spaces within
  metadata fields and renders them out as p tags. I
have attempted to implement this break template, but it removes
everything that was good about the original "itemSummaryView-DIM"
template.

Could somebody help me integrate the "break" template functionality
within the existing "itemSummaryView-DIM" template? I would like
just about all of my metadata fields to have this line break
behaviour, so I don't think I need the if tests.

Any help would be very much appreciated.

Thanks,
David


On 13-02-20 5:32 PM, David Arromba
  wrote:

Greetings,
  
  
  I'm running DSpace 3.0 on an XMLUI theme based on Mirage. Is there
  any way to add HTML tags to text brought in from the input form?
  
  
  I would like some of my fields to appear in the simple item view
  as more than just plain text. For instance, I'd like websites
  within a citation field to be clickable links. Also, some fields
  will require text to be displayed as bullet points.
  
  
  I am aware that simply dropping in a and ul tags
  on the input form does nothing alone. However, is there a setting
  or script that I could use that could detect the html tags and
  actually render them? And if there isn't, does this mean I will
  have to create new fields for each of these specialized items and
  employ them as new clauses within item-view.xsl?
  
  
  Thanks,
  
  David
  


-- 
  
  
  
 David Arromba 
Learning Technology Liaison 
Office of the Dean 
Faculty of Community Services 

phone: 416-979-5000, ext. 4575 
  office: SHE-610 (99 Gerrard St E.) 
  available: Tues/Wed/Thurs 
  http://www.ryerson.ca/fcs/

  

  

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] HTML and input forms

2013-03-07 Thread Andrea Schweer

  
  
Hi David,

On 08/03/13 11:28, David Arromba wrote:

 
https://wiki.duraspace.org/pages/viewpage.action?pageId=19006441

I assume that this "break" template detects Enter spaces within
metadata fields and renders them out as p tags. I
  have attempted to implement this break template, but it removes
  everything that was good about the original "itemSummaryView-DIM"
  template.
  
  Could somebody help me integrate the "break" template
  functionality within the existing "itemSummaryView-DIM" template?
  I would like just about all of my metadata fields to have this
  line break behaviour, so I don't think I need the if tests.


You should just be able to add the "break" template from the wiki
somewhere in your item-view.xsl file and then change the
itemSummaryView-DIM template to use


xsl:call-template name="break"
xsl:with-param name="text" select="./node()"/
/xsl:call-template

  instead of

 xsl:copy-of
  select="./node()"

wherever you want the page breaks to be applied. What's the problem
you're facing?

cheers,
Andrea

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


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] Question about bitstream format registry

2013-03-07 Thread George S Kozak
Brian:



Thank you for the advice.  I will probably end up using the SQL command (after 
I back things up!).




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

From: Brian Freels-Stendel [bfre...@unm.edu]
Sent: Thursday, March 07, 2013 4:36 PM
To: George S Kozak; dspace-tech@lists.sourceforge.net
Subject: RE: Question about bitstream format registry

Hi George,

Did the bitstream_format_id get changed to the “Unknown” type, or is it still 
the original ID?

If it’s still the original ID, I would go into the database table 
bitstreamformatregistry and change the ID of the new record to the old ID.  
Then, of course, revert the ID of those few records you updated to the new ID.

If it’s not, I’d probably run a SQL query:  “update bitstream set 
bitstream_format_id = [NEW_ID] where bitstream_format_id = [OLD_ID]”

And for sure, make a backup of the db before trying either of these.

B--


From: George S Kozak [mailto:g...@cornell.edu]
Sent: Thursday, March 07, 2013 2:18 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Question about bitstream format registry

Hi…

I discovered today that I had a bitstream that was dropped from the bitstream 
format registry (my fault) when I went from DSpace 1.7.1 to DSpace 1.8.2, so 
every item using the specific bitstream now shows it as “unknown”.

I fixed things in the bitstream registry and fixed a few records by typing in 
the correct ID number while the item is in “Edit” Mode, but I have 226 items to 
be updated.

I was wondering if I did an index update would that automatically fix the 
bitstreams to show that they are now known or is there some batch way to 
updated the display of these bitstreams?

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

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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] Question about bitstream format registry

2013-03-07 Thread George S Kozak
Brian:



It was for bitstream .avi which for some reason was missing from my Bitstream 
registry.  I was sure I had it in my previous version (I have a lot of records 
with AVI Videos), but I remember doing an extensive rebuild of the bistream 
registry when I upgraded and I probably accidentally left it out.



Every bitstream with an .avi suffix is an ID: 1 unknown.  I already found 
all of the bistreams (and items) that have the .avi suffix through SQL.My 
next step is to look for all of the bitstreams that have an ID of 1, and 
separate out all of the ones which are not .avi before doing a global change.



Thanks, again, for your advice.


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

From: Brian Freels-Stendel [bfre...@unm.edu]
Sent: Thursday, March 07, 2013 4:46 PM
To: George S Kozak; dspace-tech@lists.sourceforge.net
Subject: RE: Question about bitstream format registry

Oh, bother.

Both of those solutions would require that the ID be the old format ID.  I’m 
kind of counting on that, to be honest.  If the ID changed to the “Unknown” 
format, you could try putting all of the relevant bitstream IDs into an update 
like “update bitstream set bitstream_format_id = [NEW_ID] where bitstream_id in 
[BITSTREAM_ID_LIST(COMMA_SEPARATED)]”

B--


From: Brian Freels-Stendel [mailto:bfre...@unm.edu]
Sent: Thursday, March 07, 2013 2:37 PM
To: George S Kozak; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Question about bitstream format registry

Hi George,

Did the bitstream_format_id get changed to the “Unknown” type, or is it still 
the original ID?

If it’s still the original ID, I would go into the database table 
bitstreamformatregistry and change the ID of the new record to the old ID.  
Then, of course, revert the ID of those few records you updated to the new ID.

If it’s not, I’d probably run a SQL query:  “update bitstream set 
bitstream_format_id = [NEW_ID] where bitstream_format_id = [OLD_ID]”

And for sure, make a backup of the db before trying either of these.

B--


From: George S Kozak [mailto:g...@cornell.edu]
Sent: Thursday, March 07, 2013 2:18 PM
To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Question about bitstream format registry

Hi…

I discovered today that I had a bitstream that was dropped from the bitstream 
format registry (my fault) when I went from DSpace 1.7.1 to DSpace 1.8.2, so 
every item using the specific bitstream now shows it as “unknown”.

I fixed things in the bitstream registry and fixed a few records by typing in 
the correct ID number while the item is in “Edit” Mode, but I have 226 items to 
be updated.

I was wondering if I did an index update would that automatically fix the 
bitstreams to show that they are now known or is there some batch way to 
updated the display of these bitstreams?

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

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
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