Re: [dspace-tech] Bitstream format display

2016-10-27 Thread Andrea Schweer

  
  
Hi Don,

On 10/28/2016 02:20 AM, Donald Bynum
  wrote:


  
Two issues here (maybe not issues, but certainly odd).  I
  am using xmlui in DSpace 5.5.  I added a new bitstream format
  for zip files.  I associated the .zip extension.  When I
  submit an item with a zip file, it picks up the format, but
  when I view the associated item, the Format tag has the MIME
  Type text rather than the Name or Description as specified in
  the format metadata.  How can I change that, so the Name or
  Description rather the Mime Type is displayed in the Format
  tag in the item view?


If I upload a .docx bitstream, it picks up the Microsoft
  Word XML format type (that is the only one with a .docx
  extension).  However, in the item view the Format tag has
  Microsoft Word 2007.  I cannot for the life of me see where
  the "Microsoft Word 2007" is coming from.  If I look at the
  Bitstream format it has "Microsoft Word XML" as the Name and
  Description and quite a lengthy Mime Type.


Between the two issues above, I don't see a consistency in
  what is in the format definitions and what is being displayed
  on the item view page.
  


What theme are you using? The format text shown on item pages at
least in the Mirage / Mirage 2 themes doesn't come from the
bitstream format registry. For Mirage 2, you can see how it works
here:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui-mirage2/src/main/webapp/xsl/aspect/artifactbrowser/item-view.xsl#L733


The getFileTypeDesc
  template takes the mimetype and concatenates it to form an i18n
  key. The value for these keys (where they exist) are in the main
  messages.xml file, see
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/webapp/i18n/messages.xml#L2278
  -- you can see the .docx one here:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/webapp/i18n/messages.xml#L2296
   Microsoft
  Word 2007

So you'd just add your own entry to messages.xml for the zip file
mimetype if you'd like that to be shown on the item page. As always,
if you've copied the
[dspace-src]/dspace-xmlui/src/main/webapp/i18n/messages.xml file to
the corresponding directory under [dspace-src]/dspace/modules/xmlui,
edit the copy rather than the original.

cheers,
Andrea

-- 
Dr Andrea Schweer
Lead Software Developer, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120
  




-- 
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] Re: Εrror Related to SHERPA beans initialization

2016-10-27 Thread Pantelis Karamolegkos
Hi Mark, thanks for pointing to me the -Dlocal-config option!

That saved the day!

Yes it turns out you CAN relocate local.cfg, we just did.

The whole issue started from our CI tool that deleted previous files when 
performing a git pull (even untracked ones, such as local.cfg so we had to 
figure a way to use a remote file)

Regards,

P.K.

On Wednesday, October 26, 2016 at 4:19:54 PM UTC+3, Pantelis Karamolegkos 
wrote:
>
> When performing an ant update after an mvn clean install, the following 
> error appears during execution of the test_database target
>
> [java] Caused by: org.springframework.beans.factory.BeanCreationException: 
> Error creating bean with name 
> 'org.dspace.app.sherpa.submit.SHERPASubmitConfigurationService' defined in 
> URL 
> [jar:file:/home/gitlab-runner/builds/a8dc15bb/0/photodentro/ebooks-v2/dspace/target/dspace-installer/lib/dspace-api-6.0-rc5-SNAPSHOT.jar!/spring/spring-dspace-addon-sherpa-configuration-services.xml]:
>  
> Cannot create inner bean 
> 'org.dspace.app.sherpa.submit.MetadataValueISSNExtractor#3c69362a' of type 
> [org.dspace.app.sherpa.submit.MetadataValueISSNExtractor] while setting 
> bean property 'issnItemExtractors' with key [0]; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 
> 'org.dspace.app.sherpa.submit.MetadataValueISSNExtractor#3c69362a': 
> Injection of autowired dependencies failed; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Could not autowire 
> field: public org.dspace.content.service.ItemService 
> org.dspace.app.sherpa.submit.MetadataValueISSNExtractor.itemService; nested 
> exception is 
> org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
> qualifying bean of type [org.dspace.content.service.ItemService] found for 
> dependency: expected at least 1 bean which qualifies as autowire candidate 
> for this dependency. Dependency annotations: 
> {@org.springframework.beans.factory.annotation.Autowired(required=true)}
>
>
> Any suggestions what might be causing this?
>
> Thanks,
>
> P.K.
>

-- 
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] Bitstream format display

2016-10-27 Thread Donald Bynum
Two issues here (maybe not issues, but certainly odd).  I am using xmlui in 
DSpace 5.5.  I added a new bitstream format for zip files.  I associated 
the .zip extension.  When I submit an item with a zip file, it picks up the 
format, but when I view the associated item, the Format tag has the MIME 
Type text rather than the Name or Description as specified in the format 
metadata.  How can I change that, so the Name or Description rather the 
Mime Type is displayed in the Format tag in the item view?

If I upload a .docx bitstream, it picks up the Microsoft Word XML format 
type (that is the only one with a .docx extension).  However, in the item 
view the Format tag has Microsoft Word 2007.  I cannot for the life of me 
see where the "Microsoft Word 2007" is coming from.  If I look at the 
Bitstream format it has "Microsoft Word XML" as the Name and Description 
and quite a lengthy Mime Type.

Between the two issues above, I don't see a consistency in what is in the 
format definitions and what is being displayed on the item view page.

Any assistance would be much appreciated.

Regards,

Don.

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


Re: [dspace-tech] Re: DSpace-CRIS, new release available 5.5.0 (including security fix)

2016-10-27 Thread Bollini Andrea
Hi,

I moved from Cineca in July, also Andrea Pascarelli the other committer 
involved in DSpace-CRIS is now with me in 4Science.

We are working on the release of DSpace-CRIS 6

https://github.com/4Science/DSpace

that will be ready in 1-2 weeks and we are also setting up a new demo website 
for DSpace-CRIS.

I'm happy to see that the old demo is again up as it was reported as 
down over all the summer but unfortunately I'm not able to help you on issue on 
this instance.

Andrea

Il 27/10/2016 11:29, 
codefest4dumm...@gmail.com ha scritto:
Dear Andrea,

I try to access to: http://demo-dspace-cris.cineca.it/ but the password in the 
admin user is not working. Could you check it?

Thank you very much.

El martes, 29 de marzo de 2016, 14:12:10 (UTC+2), Andrea Bollini escribió:
***apologies for cross-posting***

Dear all,
I'm glad to announce the availability of the 5.5.0 version of
DSpace-CRIS build on top of DSpace JSPUI 5.5.
https://github.com/Cineca/DSpace/tree/dspace-cris-5.5.0

The release includes the security fix (medium level) already available
in DSpace JSPUI 5.5; it solves some configuration issues and bugs
including the ability to build and deploy the standard DSpace REST
webapp (provided by the Portuguese RCAAP Team); on top of it, this new
release adds some exciting new features:

- Global Statistics: to provide a global view over the repository usage,
visualization, download and deposit trends
http://demo-dspace-cris.cineca.it/cris/stats/site.html?handle=123456789/0=item

- Facets for dynamic components: publications list, projects list and
any other dynamic component included in the researcher profiles or in
other CRIS entity details page (project, organization, etc.) can now
provide faceting capabilities
http://demo-dspace-cris.cineca.it/cris/rp/rp6

- Bibliographic export for publications: researcher's publication list
can be exported in several format by the profile owner and search
results can be exported by the repository administrators

- Incremental Authority from previous value: to suggest terms from
values already added into the system to keep metadata clean and to avoid
misspelling. Common use cases include keywords, publishers, etc.

- Direct access to the researcher profile using external identifiers:
make it easy to link external systems to your DSpace-CRIS installation
without the need to know the internal identifier. For instance you can
address your researcher profiles using their ORCID
http://demo-dspace-cris.cineca.it/cris/rp/details.htm?lt=orcid=-0002-9421-192X

A special thanks to Andrea Pascarelli, DSpace Committer, who put a lot
of effort on this new release and made it possible.

Best regards,
Andrea Bollini

--
Andrea Bollini
International Business Development, Deputy Leader
Open Source & Open Standards Strategy, Head
Cineca

Via dei Tizii, 6
00185 Roma, Italy
tel. +39 06 44 486 087 - mob. +39 348 82 77 525
http://www.cineca.it

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


--
Andrea Bollini
Chief Technology and Innovation Officer

4Science,  www.4science.it
office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
mobile: +39 333 934 1808
skype: a.bollini
linkedin: andreabollini
orcid: -0002-9029-1854

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates

-- 
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] Re: DSpace-CRIS, new release available 5.5.0 (including security fix)

2016-10-27 Thread codefest4dummies
Dear Andrea,

I try to access to: http://demo-dspace-cris.cineca.it/ but the password in 
the admin user is not working. Could you check it?

Thank you very much.

El martes, 29 de marzo de 2016, 14:12:10 (UTC+2), Andrea Bollini escribió:
>
> ***apologies for cross-posting*** 
>
> Dear all, 
> I'm glad to announce the availability of the 5.5.0 version of 
> DSpace-CRIS build on top of DSpace JSPUI 5.5. 
> https://github.com/Cineca/DSpace/tree/dspace-cris-5.5.0 
>
> The release includes the security fix (medium level) already available 
> in DSpace JSPUI 5.5; it solves some configuration issues and bugs 
> including the ability to build and deploy the standard DSpace REST 
> webapp (provided by the Portuguese RCAAP Team); on top of it, this new 
> release adds some exciting new features: 
>
> - Global Statistics: to provide a global view over the repository usage, 
> visualization, download and deposit trends 
>
> http://demo-dspace-cris.cineca.it/cris/stats/site.html?handle=123456789/0=item
>  
>
> - Facets for dynamic components: publications list, projects list and 
> any other dynamic component included in the researcher profiles or in 
> other CRIS entity details page (project, organization, etc.) can now 
> provide faceting capabilities 
> http://demo-dspace-cris.cineca.it/cris/rp/rp6 
>
> - Bibliographic export for publications: researcher's publication list 
> can be exported in several format by the profile owner and search 
> results can be exported by the repository administrators 
>
> - Incremental Authority from previous value: to suggest terms from 
> values already added into the system to keep metadata clean and to avoid 
> misspelling. Common use cases include keywords, publishers, etc. 
>
> - Direct access to the researcher profile using external identifiers: 
> make it easy to link external systems to your DSpace-CRIS installation 
> without the need to know the internal identifier. For instance you can 
> address your researcher profiles using their ORCID 
>
> http://demo-dspace-cris.cineca.it/cris/rp/details.htm?lt=orcid=-0002-9421-192X
>  
>
> A special thanks to Andrea Pascarelli, DSpace Committer, who put a lot 
> of effort on this new release and made it possible. 
>
> Best regards, 
> Andrea Bollini 
>
> -- 
> Andrea Bollini 
> International Business Development, Deputy Leader 
> Open Source & Open Standards Strategy, Head 
> Cineca 
>
> Via dei Tizii, 6 
> 00185 Roma, Italy 
> tel. +39 06 44 486 087 - mob. +39 348 82 77 525 
> http://www.cineca.it 
>
>

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