Re: [dspace-tech] Recent-submissions homepage error in DSpace 6.3

2021-04-21 Thread Carl Jones
Hi Jose,

That worked. Our sysadmin created the UUID and inserted into the tables as 
described in the earlier post. So, for whatever reason, didn't get 
populated as part of the 1.8 -> 6.3 upgrade process.

Thank you!

Carl

On Tuesday, April 13, 2021 at 11:04:23 AM UTC-4 Carl Jones wrote:

> Hi Jose,
>
> Thanks for the link, looks very helpful (the table should not be empty) 
> and I'll pass onto our sysadmin.
>
> Carl
>
> On Tuesday, April 13, 2021 at 10:04:12 AM UTC-4 bla...@umich.edu wrote:
>
>> Look at this:
>> https://groups.google.com/g/dspace-tech/c/k33Thvse0LA/m/v2XEQeOfAQAJ
>>
>> Look at what Hernan did.  I'm not sure how he created the UUID he 
>> inserted in the tables.  Perhaps you know how to create one.  I googled a 
>> bit and saw some documentation about it.
>>
>> Hope this helps.
>> -Jose
>>
>> On Mon, Apr 12, 2021 at 6:25 PM Carl Jones  wrote:
>>
>>>
>>> It's been a while, but following up,  what if the Site table is present 
>>> but it's empty?
>>>
>>> Carl
>>> On Tuesday, December 8, 2020 at 9:49:07 AM UTC-5 Carl Jones wrote:
>>>
 Hi Jose, 

 Thanks, much, for the suggestions. We’ll check those out. 

 Carl 

 > On Dec 7, 2020, at 6:01 PM, Jose Blanco  wrote: 
 > 
 > I remember having this issue, and I think it was a migration that had 
 not run. You can check your database to make sure you have a table named 
 site: 
 > 
 > => \d site 
 > Table "public.site" 
 > Column | Type | Modifiers 
 > +--+--- 
 > uuid | uuid | not null 
 > 
 > Indexes: 
 > "site_pkey" PRIMARY KEY, btree (uuid) 
 > Foreign-key constraints: 
 > "site_uuid_fkey" FOREIGN KEY (uuid) REFERENCES dspaceobject(uuid) 
 > 
 > And also, In the config area take a look at this file: 
 hibernate.cfg.xml 
 > 
 > You should have this in the file: 
 >  
 > 
 > Hope this helps! 
 > -Jose 
 > 
 > On Mon, Dec 7, 2020 at 5:11 PM Carl Jones  wrote: 
 > Hi, 
 > 
 > We've upgraded from 1.8 to 6.3 a couple of months ago and are 
 experiencing a similar error with the 'Recently Added' list when we try to 
 hit the 'View more' link at the site homepage. Tim Donohue mentioned this 
 could be because of a missing virtual Site Object that represents our 
 system as a whole. We get the following Stack Trace (similar to what was 
 reported by Donna Barber back in February of this year): 
 > 
 > Java stacktrace: java.lang.NullPointerException at 
 org.dspace.app.xmlui.aspect.discovery.recentSubmissions.RecentSubmissionTransformer.setMainTitle(RecentSubmissionTransformer.java:154)
  
 at 
 org.dspace.app.xmlui.aspect.discovery.recentSubmissions.RecentSubmissionTransformer.addBody(RecentSubmissionTransformer.java:124)
  
 at 
 org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:234)
  
 at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  
 at java.lang.reflect.Method.invoke(Method.java:607) at 
 org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
  
 at com.sun.proxy.$Proxy493.startElement(Unknown Source) at 
 org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
  
 at 
 org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
  
 at 
 org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:251)
  
 at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  
 at java.lang.reflect.Method.invoke(Method.java:607) 
 >  
 > 
 > I followed the suggestion to run 'bin/database info' but as far as I 
 can tell the database update checks all come back as Successful. 
 > 
 > I'm attaching the stack trace and database info output. 
 > 
 > I was curious if there were any other things I might check before 
 passing this onto our sysadmin for further investigation into what might 
 cause a missing virtual Site object problem? 
 > 
 > Thanks, 
 > 
 > Carl 
 > On Wednesday, February 19, 2020 at 6:50:34 PM UTC-5 
 donna@canterbury.ac.nz wrote: 
 > Hi Tim, 
 > 
 > 
 > 
 > Thanks very much for pointing us in the right direction. We think 
 we’ve now resolved the issue by following the instructions for a post you 
 responded to in 2015. 
 > 
 > 
 > 
 > The registry update was being ignored, and when I tried to run it 
 separately, we were getting the error: 
 > 
 > 
 > 
 > Caused by: java.sql.BatchUpdateException: Batch entry 0 update 
 public.bitstreamformatregist

Re: [dspace-tech] Single item but Separate metadata for separate bitsream

2021-04-21 Thread ArunendraMB
OK.
I tried implementing this.
But I was hoping something like a linked file, that appears in the parent
item and clicking on this linked item (child item) will take me to that
item, or maybe open that child item in the browser itself.


*From,*
*Arunendra MB.*



On Wed, Apr 21, 2021 at 6:26 PM Kelley Canon  wrote:

> The URI of the related item is one option for the metadata, or another
> identifier that links the items.
>
> Here's an example of an item that has many parts:
>
> The *parent* item, https://abc.xxx.org/handle/999/12340 ,contains
> dc.relation.hasparthttps://abc.xxx.org/handle/999/12341
> dc.relation.hasparthttps://abc.xxx.org/handle/999/12342
> dc.relation.hasparthttps://abc.xxx.org/handle/999/12343
>
> And *each child* item, such as 12343, contains
> dc.relation.ispartofhttps://abc.xxx.org/handle/999/12340
>
> We have the summary view of items configured to display the "Is part of"
> metadata.
>
> Hope that helps!
>
> Kelley Canon
> Language & Culture Archives
> REAP Administrator
> SIL International
>
>
> On Wed, Apr 21, 2021 at 6:32 AM ArunendraMB 
> wrote:
>
>> I haven't used dc.relation earlier.
>> Although I understood what you mentioned, in theory, what do I actually
>> put against this metadata- the handle ID or URI of the other item?
>> Also, I saw there are two dc.relation- dc.relation.isPartof and
>> dc.relation.hasPartof-- what is the difference?
>>
>> I tried to find an example online in other DSpace repositories online but
>> couldn't find one. Can you give me a sample idea?
>>
>>
>> *From,*
>> *Arunendra MB.*
>>
>>
>>
>> On Mon, Apr 19, 2021 at 10:13 PM Kelley Canon 
>> wrote:
>>
>>> Do you use dc.relation in your metadata?  If so, you might create
>>> several items, one for each bitstream that needs its own metadata, and use
>>> dc.relation.haspart and/or ispartof to relate them.  The dc.relation data
>>> is a link to the related item(s).  For some types of items we create a
>>> "parent" item for summary metadata (and bitstreams if needed) and then
>>> multiple "child" items for detailed metadata and their related bitstreams.
>>>
>>> Kelley Canon
>>> Language & Culture Archives
>>> REAP Administrator
>>> SIL International
>>>
>>>
>>> On Sat, Apr 17, 2021 at 8:39 AM Projects Arunendra <
>>> project.arunen...@gmail.com> wrote:
>>>
 Is it possible to enter individual metadata for individual bitstream
 where multiple such bitstreams belong to a single item?
 Using Dspace 5.10

 --
 All messages to this mailing list should adhere to the Code of Conduct:
 https://duraspace.org/about/policies/code-of-conduct/
 ---
 You received this message because you are subscribed to the Google
 Groups "DSpace Technical Support" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to dspace-tech+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/dspace-tech/0c8be27c-c8e6-48f2-889a-317901c70132n%40googlegroups.com
 
 .

>>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAO_tGrLs62wD85q66NYS%3D37d7ZwXYHXjguRryqc5ff0du-9DgA%40mail.gmail.com.


Re: [dspace-tech] DSpace 7 Beta5 Backend Rebuild with maven

2021-04-21 Thread 'Tim Donohue' via DSpace Technical Support
Hello Kosmas,

If you've previously run a Beta 4 build on that machine, then I'd recommend 
first running a

mvn clean

This will reset/cleanup your Beta 4 build.  After that, run the usual

mvn package


If that doesn't work, you could try running "mvn -U package", forcing Maven to 
check for updated dependencies.

If that still doesn't work, then we'd need more information on your setup.  
Make sure you are running Java 11, Maven 3.3 or above, etc.

Good luck,

Tim

From: dspace-tech@googlegroups.com  on behalf of 
Kosmas Kaifel 
Sent: Wednesday, April 21, 2021 1:23 AM
To: dspace-tech@googlegroups.com 
Subject: [dspace-tech] DSpace 7 Beta5 Backend Rebuild with maven

Hello,

during the rebuild the backend-server with maven I receive a lot of errors.
On the same machine if I rebuild DSpace7 Beta4 this run without errors.

Thanks Kosmas

dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[247,31]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[293,26]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[293,63]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[299,26]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[300,34]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[301,31]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[347,26]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[347,63]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[394,26]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[394,63]
cannot find symbol
   symbol:   class Sorting
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[400,26]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[401,34]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/SearchEventRestRepositoryIT.java:[402,31]
cannot find symbol
   symbol:   class AppliedFilter
   location: class org.dspace.app.rest.model.SearchResultsRest
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/repository/MockObjectRestRepository.java:[22,8]
cannot access
org.dspace.app.rest.exception.RepositoryMethodNotImplementedException
   bad class file:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/exception/RepositoryMethodNotImplementedException.class
 unable to access file: java.nio.file.NoSuchFileException:
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/target/classes/org/dspace/app/rest/exception/RepositoryMethodNotImplementedException.class
 Please remove or make sure it appears in the correct subdirectory
of the classpath.
[ERROR]
/dspace/sw/dspace-7.0-src-beta5/dspace-server-webapp/src/test/java/org/dspace/app/rest/model/hateoas/RootResourceTest.java:[31,9]
cannot access org.dspace.app.rest.model.hateoas.RootResource
 

[dspace-tech] Shibboleth setup for DSpace7

2021-04-21 Thread 'Bill Tantzen' via DSpace Technical Support
Is there updated documentation on how to configure dspace 7 for shibboleth?
Thanks!
~~ Bill

-- 
Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp

Bill TantzenUniversity of Minnesota Libraries
612-626-9949 (U of M)612-325-1777 (cell)

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CADgrb7F0DZoaqvqU0siDcBjk20SbzbRsaXJEzX_7UjwtaT4Bcg%40mail.gmail.com.


Re: [dspace-tech] Single item but Separate metadata for separate bitsream

2021-04-21 Thread Kelley Canon
The URI of the related item is one option for the metadata, or another
identifier that links the items.

Here's an example of an item that has many parts:

The *parent* item, https://abc.xxx.org/handle/999/12340 ,contains
dc.relation.hasparthttps://abc.xxx.org/handle/999/12341
dc.relation.hasparthttps://abc.xxx.org/handle/999/12342
dc.relation.hasparthttps://abc.xxx.org/handle/999/12343

And *each child* item, such as 12343, contains
dc.relation.ispartofhttps://abc.xxx.org/handle/999/12340

We have the summary view of items configured to display the "Is part of"
metadata.

Hope that helps!

Kelley Canon
Language & Culture Archives
REAP Administrator
SIL International


On Wed, Apr 21, 2021 at 6:32 AM ArunendraMB 
wrote:

> I haven't used dc.relation earlier.
> Although I understood what you mentioned, in theory, what do I actually
> put against this metadata- the handle ID or URI of the other item?
> Also, I saw there are two dc.relation- dc.relation.isPartof and
> dc.relation.hasPartof-- what is the difference?
>
> I tried to find an example online in other DSpace repositories online but
> couldn't find one. Can you give me a sample idea?
>
>
> *From,*
> *Arunendra MB.*
>
>
>
> On Mon, Apr 19, 2021 at 10:13 PM Kelley Canon 
> wrote:
>
>> Do you use dc.relation in your metadata?  If so, you might create several
>> items, one for each bitstream that needs its own metadata, and use
>> dc.relation.haspart and/or ispartof to relate them.  The dc.relation data
>> is a link to the related item(s).  For some types of items we create a
>> "parent" item for summary metadata (and bitstreams if needed) and then
>> multiple "child" items for detailed metadata and their related bitstreams.
>>
>> Kelley Canon
>> Language & Culture Archives
>> REAP Administrator
>> SIL International
>>
>>
>> On Sat, Apr 17, 2021 at 8:39 AM Projects Arunendra <
>> project.arunen...@gmail.com> wrote:
>>
>>> Is it possible to enter individual metadata for individual bitstream
>>> where multiple such bitstreams belong to a single item?
>>> Using Dspace 5.10
>>>
>>> --
>>> All messages to this mailing list should adhere to the Code of Conduct:
>>> https://duraspace.org/about/policies/code-of-conduct/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to dspace-tech+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-tech/0c8be27c-c8e6-48f2-889a-317901c70132n%40googlegroups.com
>>> 
>>> .
>>>
>>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CACXx6FuRKceW-nViOQSUO_sADcVWwfN4U2Vmh2vGyW%2B2KDrCNA%40mail.gmail.com.


Re: [dspace-tech] Single item but Separate metadata for separate bitsream

2021-04-21 Thread ArunendraMB
I haven't used dc.relation earlier.
Although I understood what you mentioned, in theory, what do I actually put
against this metadata- the handle ID or URI of the other item?
Also, I saw there are two dc.relation- dc.relation.isPartof and
dc.relation.hasPartof-- what is the difference?

I tried to find an example online in other DSpace repositories online but
couldn't find one. Can you give me a sample idea?


*From,*
*Arunendra MB.*



On Mon, Apr 19, 2021 at 10:13 PM Kelley Canon  wrote:

> Do you use dc.relation in your metadata?  If so, you might create several
> items, one for each bitstream that needs its own metadata, and use
> dc.relation.haspart and/or ispartof to relate them.  The dc.relation data
> is a link to the related item(s).  For some types of items we create a
> "parent" item for summary metadata (and bitstreams if needed) and then
> multiple "child" items for detailed metadata and their related bitstreams.
>
> Kelley Canon
> Language & Culture Archives
> REAP Administrator
> SIL International
>
>
> On Sat, Apr 17, 2021 at 8:39 AM Projects Arunendra <
> project.arunen...@gmail.com> wrote:
>
>> Is it possible to enter individual metadata for individual bitstream
>> where multiple such bitstreams belong to a single item?
>> Using Dspace 5.10
>>
>> --
>> All messages to this mailing list should adhere to the Code of Conduct:
>> https://duraspace.org/about/policies/code-of-conduct/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to dspace-tech+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/dspace-tech/0c8be27c-c8e6-48f2-889a-317901c70132n%40googlegroups.com
>> 
>> .
>>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAO_tGrKPjWPsL96fWEZ2pn5D0JdEsOQ2Vps7G4L-4AOXR_BYLQ%40mail.gmail.com.