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

Problem with choice presentation of type "select"

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      I have a problem with choice presentation of type "select" in the dc.subject metadata.

      My settings in dspace.cfg is:
         choices.plugin.dc.subject = srsc
         choices.presentation.dc.subject = select
         choices.closed.dc.subject = true
         vocabulary.plugin.srsc.hierarchy.store = true
         vocabulary.plugin.srsc.hierarchy.suggest = true
         vocabulary.plugin.srsc.delimiter = "::"
         authority.minconfidence.dc.subject = accepted
         authority.controlled.dc.subject = true

      And my setting in input-forms.xml to dc.subject is:
             <field>
               <dc-schema>dc</dc-schema>
               <dc-element>subject</dc-element>
               <dc-qualifier></dc-qualifier>
               <!-- An input-type of twobox MUST be marked as repeatable -->
               <repeatable>true</repeatable>
               <label>Subject Keywords</label>
               <input-type>twobox</input-type>
               <hint> Enter appropriate subject keywords or phrases below - JOJO. </hint>
               <required></required>
               <vocabulary>srsc</vocabulary>
             </field>

      Then, I get this problem in any browser:
      org.dspace.app.xmlui.wing.WingException: Field dc_subject has choice presentation of type "select", it may NOT be authority-controlled.

      Do not understand why, because it works well with "lookup" and "suggest".

      Thanks,
      Jose

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            dantexier Jose Texier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified