Im trying to get authority control to apply to the submission process ,
author field.
I want a pop up box to show up so i can pick an author already in the
database when doing a submission of a new item.
In inputforms.xml i added this :

<value-pairs value-pairs-name="common_identifiers" dc-term="contributor">
     <pair>
       <displayed-value>author</displayed-value>
       <stored-value>author</stored-value>
     </pair>
   </value-pairs>

Im not sure thats right.

In the dspace.cfg file i uncommented the following lines.

plugin.named.org.dspace.content.authority.ChoiceAuthority = \
 org.dspace.content.authority.LCNameAuthority = LCNameAuthority, \

lcname.url = http://alcme.oclc.org/srw/search/lcnaf

## demo: use LC plugin for author
choices.plugin.dc.contributor.author =  LCNameAuthority
choices.presentation.dc.contributor.author = lookup
authority.controlled.dc.contributor.author = true

When I try to make a new submission a lookup appears next to author , i
click on it and get a pop up window "LC Name Authority author lookup"
window.
In that window , in a white box i get "Failed to load choice data: Server
indicates error in response"
Clicking ok on that window i get a second error where the authors are
suppose to be listed in that popup window.
"Local value" (not in Naming Authority)

A tail -f on the postgres file when i click on the author lookup icon gets
me :
"LOG:  execute S_1: BEGIN
LOG:  execute <unnamed>: SELECT 1
LOG:  execute S_13: select * from eperson where eperson_id = $1
DETAIL:  parameters: $1 = '1'
LOG:  execute S_3: SELECT * FROM epersongroup2eperson WHERE eperson_id= $1
DETAIL:  parameters: $1 = '1'
LOG:  execute S_4: SELECT * FROM group2groupcache WHERE child_id= $1  OR
child_id= $2  OR child_id= $3
DETAIL:  parameters: $1 = '0', $2 = '1', $3 = '2'
LOG:  execute S_5: ROLLBACK
LOG:  execute S_1: BEGIN
LOG:  execute <unnamed>: SELECT 1
LOG:  execute S_13: select * from eperson where eperson_id = $1
DETAIL:  parameters: $1 = '1'
LOG:  execute S_3: SELECT * FROM epersongroup2eperson WHERE eperson_id= $1
DETAIL:  parameters: $1 = '1'
LOG:  execute S_4: SELECT * FROM group2groupcache WHERE child_id= $1  OR
child_id= $2  OR child_id= $3
DETAIL:  parameters: $1 = '0', $2 = '1', $3 = '2'
LOG:  execute S_5: ROLLBACK"

Im running scientific linux 6,5 , postgres 8.4 , tomcat 7.033 , dspace 4.2
Any help is greatly appreciated , any working config files which might
accomplish something similiar to what i need are also greatly welcome.
Thanks for your time and patience.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to