[dspace-tech] Problem with semicolons in bitstreams' name

2018-09-17 Thread Walter Nakamura
Hi, guys!

We're having a problem with dspace and semicolons in filenames. When we 
upload a file without a semicolon in its name, the file opens as usual. 
However, when it has a semicolon, dspace gives an error saying that the 
identifier is invalid. If I edit the filename in dspace after its upload, 
the bitstream works again. Is it normal? Is there any way to workaround 
this problem?

Thank you!

-- 
All messages to this mailing list should adhere to the DuraSpace 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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Require send email to metadata field

2018-09-17 Thread Ramakant Gour
Dear All,

I want to sent additional mail to thesis supervisor's mail, which is 
available in metadata submission form. How to do the same.
I am using dspace 5.5. 
successfully I am sending mail to thesis submitter after archive in 
institute repository.


Thanks,

Ramakant

-- 
All messages to this mailing list should adhere to the DuraSpace 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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] jspui, Thumbnails, slow loading page

2018-09-17 Thread Paul Warner
Hi,

This project uses DSpace 6.1.

We are using thumbnails of PDFs as buttons for accessing and viewing the 
PDF.  This happens in the context of jspui, and the jsp page is 
(dspace-src)/dspace/modules/jspui/src/main/webapp/display-item.jsp.  The 
problem is that when we use the thumbnail, the page takes between 15-40 
seconds to load.  In Firefox and Chrome, for instance, the thumbnail 
appears with the rest of the page immediately, but the page continues to 
download (i.e., the wheel in the browser tab keeps spinning).  In Internet 
Explorer, the thumbnail loads only at the end, and if we are using the 
thumbnail as a button, the user cannot access the PDF for up to 40 seconds 
or more.

The display-item.jsp page uses a custom jsp tag created in 
(dspace-src)/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java,
 
and this is the source of the problem.  If you search in this file for 
thumbs  or showThumbs, you will eventually land on a line that has 

if (thumbs.size() > 0) && showThumbs)

in it.  If you scroll down, you will see that the name and a link for the 
thumbnail are searched for and produced, and then a bit of html is sent 
back to the browser:

out.print("");

If I comment this section out, the page loads in a second or two.  When I 
test it by commenting it back in, the page takes, once again, up to 40 
seconds to load.  I do not understand what the problem is.  All the 
searching and preparation for this bit of out.print work is being done in 
either case.  Only the submission of the html to the page is the 
difference.  I have taken the thumbnail out and replaced it with a plain 
button, and the page loads very quickly (1-2 seconds).  But my client would 
prefer the image.  I am stumped.  I do not understand how this small, 
inocuous-seeming html (and tiny image) should cause the page to take so 
long to load.

I found this post on the list, "DSpace 6.2 with collection home page too 
slow to load if items have lots of bitsteams", but this refers to xmlui, 
and the solution seems to be xmlui-specific, if I understand it correctly.  
Does anyone have a solution for the problem in jspui?  Or an idea about how 
this happens?

Thanks for any suggestions or ideas!

Best regards,
Paul


-- 
All messages to this mailing list should adhere to the DuraSpace 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 post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.