Greetings, Tim!  Thank you very much for looking in to this for us.

Unfortunately, the Item Mapper functionality at the Collection level is having 
the identical problem that I described for the Item level edit… still reloading 
the page rather than conducting an AJAX call.  So we’re still not able to map 
items successfully.  Still, the next version is upcoming and we’ve kept track 
of all the items that are supposed to be mapped to multiple collections, so 
here’s hoping that 7.3 fixes the issue and we’re able to proceed from there.

If it doesn’t, you’re sure to hear from me again!

Michael Schouten
Library Information Technology
MacEwan University
[email protected]

From: DSpace Technical Support <[email protected]>
Sent: Friday, June 3, 2022 10:24 AM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] Re: DSpace 7.2.1 - Item Mapping GUI Misbehaving

EXTERNAL:  Use caution.<https://myportal.macewan.ca/help.html#external-email>

Hi Michael,

I'm noticing this isn't working locally or on demo7.dspace.org either.  
However, I can use the mapper from the *Collection* page successfully:
1. Edit a Collection
2. Go to Item Mapper
3. Map new items tab... search for an Item and map it.

So, at least in the latest code, the Edit Collection -> Item Mapper side works 
fine... but the Edit Item -> Collection Mapper side is not working properly.

(Time passes)

I've figured out a fix for "Edit Item -> Collection Mapper", at least based on 
the latest code (pre-7.3).  Here's the PR 
https://github.com/DSpace/dspace-angular/pull/1676/

That said, I'm not sure if this fix would also work in 7.2.1, as there have 
been some performance & bug fixes applied to pre-7.3 which fixed the reload 
issue you were seeing.  I recall that being an issue which was a side effect of 
another bug... but I'm not recalling exactly which fix in pre-7.3 changed that 
behavior.

In any case, long story short, this should be fixed in 7.3... which is due to 
be released in late June.

Tim

On Wednesday, June 1, 2022 at 9:51:52 AM UTC-5 
[email protected]<mailto:[email protected]> wrote:
Salutations!

We're in the middle of implementing a brand new DSpace 7 instance and I've run 
into an issue in the web interface I have run out of ideas on how to fix.  When 
attempting to map an item to multiple collections, the GUI is misbehaving.  
We've set up multiple instances of DSpace across two servers, some customized 
and some completely default and the behavior is the same:

1) Open an item, select "edit" and navigate to the "Collection Mapper" tag.  
The UI seems to load correctly.
2) Switch to "Map new collections" tab below.  The search box appears as 
expected.  The URL is in the format: 
https://dspace.server.com/items/[uuid]/edit/mapper<https://dspace.server.com/items/%5Buuid%5D/edit/mapper>
3) Enter a search term and either press "enter" or click the "Search" button.  
In either case, the page does not start an Ajax query as the demo site seems 
to, but instead reloads the entire page.  The URL is now: 
https://dspace.server.com/items/[uuid]/edit/mapper?query=term<https://dspace.server.com/items/%5Buuid%5D/edit/mapper?query=term>
 and the "Browse mapped collections" tab is selected.
4) Try switching back to the "Map new collection" tab and the page reloads 
again, taking us back to: 
https://dspace.server.com/items/[uuid]/edit/mapper<https://dspace.server.com/items/%5Buuid%5D/edit/mapper>
 "Browse mapped collections" still selected.
5) You can go back to step 2 and repeat from there with the same effect.

I can find no DSpace or AngularJS errors in the server logs, nor any failed 
AJAX calls from the browser.  The only thing that might be relevant is a 
non-fatal console message that states "[Violation] 'load' handler took 308ms" 
where the exact number of milliseconds is marginally different each time.  This 
console message appears immediately after searching and also when trying to 
navigate back to the "Map new collections" tab after a search.

Has anyone else encountered a problem like this?  Any clues how to fix it?

Michael Schouten
Library IT
MacEwan University
--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to a topic in the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/dspace-tech/Okt5nIBHEE4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/7f98bf8d-23d4-4462-94ec-665c233f5ed9n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/7f98bf8d-23d4-4462-94ec-665c233f5ed9n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/YT1PR01MB4106E1806B4A2C4635B2661CD4A19%40YT1PR01MB4106.CANPRD01.PROD.OUTLOOK.COM.

Reply via email to