Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3387

ORCID/SolrAuthority Lookup button doesn't work in Mirage2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1
    • Component/s: XMLUI
    • Labels:
      None
    • Environment:
      SolrAuthority enabled, Mirage 2 theme
    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Not Required

      Description

      Originally from:
      https://groups.google.com/forum/#!topic/dspace-tech/VnujY71fERA

      Since upgrading to DSpace 6.0, I've noticed that the Lookup button doesn't seem to do anything anymore. Nothing in the dspace log either. This is both during the initial item submission and in the edit item page.

      I have the following in my local.cfg file:

      event.dispatcher.default.consumers = authority, versioning, discovery, eperson
      (the wiki page <https://wiki.duraspace.org/display/DSDOC6x/ORCID+Integration> includes 'harvester' at the end of that line, but the new dspace.cfg omits it, and it causes problems during submission: 'No class configured for consumer named: harvester')

      plugin.named.org.dspace.content.authority.ChoiceAuthority = \
      org.dspace.content.authority.SolrAuthority = SolrAuthorAuthority

      solr.authority.server=${solr.server}/authority
      choices.plugin.dc.contributor.author = SolrAuthorAuthority
      choices.presentation.dc.contributor.author = authorLookup
      authority.controlled.dc.contributor.author = true
      authority.author.indexer.field.1=dc.contributor.author

      The 'Lookup' button works in Mirage, but not in Mirage2. I get the following error (in the Firebug console) when I click 'Lookup':

      TypeError: h.dataTable is not a function

      ...button>',g=e,h=d.find("table.dttable");h.dataTable({aoColumns:[

      {bSortable:!1,sWi... theme.js (line 1, col 8934) I don't know whether it's related, but I also see the following error when loading any page: Error: Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (>= 4.0.0). ...","number","stack"];return a.prototype=new Error,b=a}

      (),d=function(a,b){"use str...

      theme.js (line 5, col 20377)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              seancarte Sean Carte
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: