Skip to content

Commit

Permalink
CST-14906 Code fix after cherrypick (4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattia Vianelli committed Sep 20, 2024
1 parent 8d902b0 commit b66ac72
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dspace-api/src/test/data/dspaceFolder/config/item-submission.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
<step-definition id="productStep" mandatory="true">
<heading>submit.progressbar.describe.product</heading>
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
<step-definition id="patentStep" mandatory="true">
<heading>submit.progressbar.describe.patent</heading>
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
<step-definition id="upload">
<heading>submit.progressbar.upload</heading>
<processing-class>org.dspace.app.rest.submit.step.UploadStep</processing-class>
Expand Down
39 changes: 39 additions & 0 deletions dspace/config/submission-forms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,45 @@
</row>
</form>

<form name="patentStep">
<row>
<relation-field>
<relationship-type>isInventorOf</relationship-type>
<search-configuration>person</search-configuration>
<repeatable>true</repeatable>
<label>Inventor</label>
<hint>Select the person who invented this patent.</hint>
<linked-metadata-field>
<dc-schema>dc</dc-schema>
<dc-element>contributor</dc-element>
<dc-qualifier>author</dc-qualifier>
<input-type>onebox</input-type>
</linked-metadata-field>
<externalsources>orcid</externalsources>
</relation-field>
</row>
</form>

<form name="productStep">
<row>
<relation-field>
<relationship-type>isCreatorOf</relationship-type>
<search-configuration>person</search-configuration>
<repeatable>true</repeatable>
<label>Creator</label>
<hint>Select the person who created this product.</hint>
<linked-metadata-field>
<dc-schema>dc</dc-schema>
<dc-element>contributor</dc-element>
<dc-qualifier>author</dc-qualifier>
<input-type>onebox</input-type>
</linked-metadata-field>
<externalsources>orcid</externalsources>
</relation-field>
</row>
</form>


</form-definitions>


Expand Down

0 comments on commit b66ac72

Please sign in to comment.