[dspace-tech] Can't get Item viewed times

2019-03-31 Thread hy zhang


I'm using Dspace-CRIS-5.8 , and I found a strange problem, at the home 
page, viewed times number at mostviewed component always be 0 , 


and the download times of most download are same as Mostviewed. But when I 
visit “statistics” , I found right statistics data of all items.

 

  I found in table “cris_metrics”, values of column “metriccount” are all 0 
, and “remark text” cloumn gives strange value: 


{"link":"http://localhost:8080/jspui/cris/stats/item.html?handle\u003d123456789/8"}
 
, I don't know if \u003d is right. 

   

 I have read solr documents of dspace , I didn’t find suspected 
configuration.I really don’t know what should I do next , I can’t find any 
error either in dspace.log or solr.log . 

 

 Am I wrong about how solr statistics works? Could someone give me any 
advice?

-- 
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] null pointer exception: model misc not exist

2019-03-14 Thread hy zhang
Hi,
Thanks for your attention to my question.
I'm using Dspace-cris 5.8, today I try to use 'deduplication' , it returned 
404, I can't visit /tools/duplicate . 

When I read the dspace log, it told me Null Pointer Exceptionn, the model 
config 'misc' doesn't exists, and I extractly hadn't find it, but when I 
see the source code on github, I didn't find it either.


my dspace error logs:
2019-03-14 01:15:55,634 WARN  org.dspace.core.ConfigurationManager @ 
Requested configuration module: misc not found
2019-03-14 01:15:55,704 WARN  
org.dspace.app.webui.servlet.InternalErrorServlet @ 
:session_id=BE14EF3B61C1A59882D15C57E41EF00A:internal_error:-- URL Was: 
http://localhost:8080/jspui/internal-error
-- Method: GET
-- Parameters were:

java.lang.NullPointerException
   at 
org.dspace.core.ConfigurationManager.getMutableProperties(ConfigurationManager.java:166)
   at 
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:209)
   at 
org.dspace.app.webui.cris.servlet.DuplicateCheckerServlet.(DuplicateCheckerServlet.java:119)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

...
Today I also find a strange problem , the component "Most Viewed Item" at 
home page showing 0 visit time, and no error log in either dspace.log or 
solr.log ,
 
but I found the true results in "statistic" ,  it might mean solr query 
work normally? What may cause this?

Appreciate for your help

-- 
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] Re: Is the DspaceCRIS user same as swordv2?

2018-12-09 Thread hy zhang
I find code update about this problem at github , I'm sorry I ignore it.

在 2018年10月30日星期二 UTC+8下午10:27:25,hy zhang写道:
>
> Hi,
>
> I'm using DspaceCRIS5.8, and I want to use swordv2 server ,  I use browser 
> to visit the url  localhost:8080/swordv2 ,it showed Hello World. Then  I  
> visit the url
>
> localhost:8080/swordv2/servicedocument , it require me to input 
> usernameand password, I input my username and password which is created by 
> the command
>
> ./dspace create-administrator, but it didn't work, shown nothing on page, 
> I checked tomcat's log: localhost.log , it gave the error:
>
>
>  SEVERE [http-nio-8080-exec-1] 
> org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for 
> servlet [servicedocument] in context with path [/swordv2] threw exception
>  java.lang.NullPointerException
>
> at 
> org.dspace.authenticate.OAuthAuthenticationMethod.authenticate(OAuthAuthenticationMethod.java:69)
>
> at 
> org.dspace.authenticate.AuthenticationManager.authenticateInternal(AuthenticationManager.java:162)
>  
>
> and when I visit localhost:8080/swordv2/collection , I receive the same 
> problem.
>
> The exception looks like I inputted error userinfo, what is the correct 
> operate ? Should I create swordv2's username and password?
>
> Maybe some advice? Or some related document should I read? 
>
> Thanks a lot.
>
>
>

-- 
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] search filter of projects not work

2018-12-09 Thread hy zhang
Hi,

I'm using DSpace-CRIS 5.8, I found some search filter of projects not work, 
like I have a projects and it's field startdate is 2018,

but when I add search filter startdate contains 2018 , I couldn't find any 
results, and no exception threw , when I tried it on Dspace-cris-demo,

it didn't work , too.  The sames problem is happening at Funders filter.


Hear are bean config in discovery.xml 
--

-

-




















-




-


-

crisou.date

crisproject.startdate











The same config of orgunit works fine , so what should I do to make 
project's search filters work?

Thanks a lot.
huaiyuan zhang 

-- 
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] Is the DspaceCRIS user same as swordv2?

2018-10-30 Thread hy zhang
Hi,

I'm using DspaceCRIS5.8, and I want to use swordv2 server ,  I use browser 
to visit the url  localhost:8080/swordv2 ,it showed Hello World. Then  I  
visit the url

localhost:8080/swordv2/servicedocument , it require me to input usernameand 
password, I input my username and password which is created by the command

./dspace create-administrator, but it didn't work, shown nothing on page, I 
checked tomcat's log: localhost.log , it gave the error:

 SEVERE [http-nio-8080-exec-1] 
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for 
servlet [servicedocument] in context with path [/swordv2] threw exception
 java.lang.NullPointerException
at 
org.dspace.authenticate.OAuthAuthenticationMethod.authenticate(OAuthAuthenticationMethod.java:69)
at 
org.dspace.authenticate.AuthenticationManager.authenticateInternal(AuthenticationManager.java:162)
 

and when I visit localhost:8080/swordv2/collection , I receive the same 
problem.

The exception looks like I inputted error userinfo, what is the correct 
operate ? Should I create swordv2's username and password?

Maybe some advice? Or some related document should I read? 

Thanks a lot.


-- 
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] How to config what list in the global search panel (Descover) ?

2018-09-11 Thread hy zhang
Hi ,

I'm using DSpace-CRIS 5.8, and I want to list different entity's fields in 
the global search panel and cris entities' box , like in the global search 
panel list the crisprize.prizename and 

crisprize.prizedescribe , in the Orgunit's box like Peoples Prize , list 
the crisrp.fullname and crisrp.obtainprize.prizename?

According to the technology documents , I found the list in globe search 
panel should config in the discovery.xml , maybe the defaultFilterQueries 
property , so I try to add the 

relation OUvsPrize in the relationpreference.xml and set the query value 
crisrp.dept , changed 
webui.itemlist.crisprize.columns=crisrp.fullname,crisrp.obtainprize.prizename

in the dspace.config ,  and change the defaultFiterQueries property's value 
to crisprize.prizename and crisprize.prizedescribe , but after I changed it 
I didn't  get the result I want , 

the box list what I want , but the global search panel list nothing, so 
what is the correct way ? Or what relation documents I should read ?

Maybe some advice?

Thanks a lot !


[image: TIM截图20180911231332.png] global panel 



-- 
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] How to config what list in the global search panel (Descover) ?

2018-09-11 Thread hy zhang
Hi ,

I'm using DSpace-CRIS 5.8, and I want to list different entity's fields in 
the global search panel and cris entities' box , like in the global search 
panel list the crisprize.prizename and 

crisprize.prizedescribe , in the Orgunit's box like Peoples Prize , list 
the crisrp.fullname and crisrp.obtainprize.prizename?

According to the technology documents , I found the list in globe search 
panel should config in the discovery.xml , maybe the defaultFilterQueries 
property , so I try to add the 

relation OUvsPrize in the relationpreference.xml and set the query value 
crisrp.dept , changed 
webui.itemlist.crisprize.columns=crisrp.fullname,crisrp.obtainprize.prizename

in the dspace.config ,  and change the defaultFiterQueries property's value 
to crisprize.prizename and crisprize.prizedescribe , but after I changed it 
I didn't  get the result I want , 

the box list what I want , but the global search panel list nothing, so 
what is the correct way ? Or what relation documents I should read ?

Maybe some advice?

Thanks a lot !

[image: global search.png] 

[image: panel.png] global 
search panel and list fields. 


-- 
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] Some questions about CrisEnhancer

2018-09-09 Thread hy zhang
Hi ,

I'm using DSpace-CRIS 5.8 , and I have find the box Organization's 
Researcher Project does't work,

and the ResearcherPage's Project box doesn't work too. I found in 
the cris-relationpreference.xml,

their query properties are "projectinvestigators_authority:{0}" and 
"projectinvestigators.dept_authority:{0}"

they look like CrisEnhancers , because the query property couldn't include 
two authority, but I did't find 

them in the cris-metadata-enhancers.xml , I found them in the discovery.xml 
, and when I change them

to crisproject.principalinvesgator or crisproject.coinvestigators , they 
worked, but only can list through

which authority I chosen, like only list  projects  queried through 
coinvestigators authority, so what 

should I do to make it works?

There are the codes


 
 

projectinvestigators_authority:{0}




 
 

projectinvestigators.dept_authority:{0}






-- 
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] How to list dynamic object info

2018-08-23 Thread hy zhang
Hi ,

I'm using Dspace-cris 5.8 , and I want to list dynamic object information 
on the basic objects' profile page,

for example , I create an entity "award" , and I want to list all awards 
won by a researcher on his or her profile 

page, and the list information should be awardname, awarddate, just like 
list person's name and e-mail on 

affiliated  organization's profile page, so which configuration file should 
I modify? I found a "sortby"  in 

component.xml is likely to implement it , but I don't know how to use it or 
if it is right , could someone give me 

some advice ?  Thanks a lot !

Huaiyuan Zhang

 

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


Re: [dspace-tech] Problem about jsp and component

2018-08-23 Thread hy zhang
Thanks a lot !

在 2018年7月16日星期一 UTC+8下午1:34:10,Paul Münch写道:
>
> Hi, 
>
> we don't use the JSPUI, but I think this is a language localisation issue: 
>
>
> https://wiki.duraspace.org/display/DSDOC5x/Localization+L10n#LocalizationL10n-JSPUIspecificlocalization
>  
>
> Kind regards, 
>
> Paul Münch 
>
> Quoting hy zhang <3090...@qq.com >: 
>
> > Hi, 
> > 
> > I'm using dspace-cris 5.8, 
> > 
> > 
> > I add a component and a relationpreference cause I want to list relation 
> > project on the entity Awards defined by myself, 
> > 
> > When I try it, the project already list, but the box title can't display 
> > well , it shows "relation awards 
> > 
> ???jsp.layout.dspace.detail.fieldset-legend.component.boxtitle.projects???" 
> > 
> > What's the problem? Maybe some advice? 
> > 
> > Thanks a lot 
> > 
> > Huaiyuan Zhang 
> > 
> > -- 
> > 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...@googlegroups.com . 
> > To post to this group, send email to dspac...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/dspace-tech. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Philipps-Universität Marburg | UB 
> Digitale Dienste | Deutschhausstraße 9 | D018 
> Tel. +49 06421 28-24624 
> -- 
>

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