Skip to content

Commit

Permalink
UFAL/configure special steps (#697)
Browse files Browse the repository at this point in the history
* Added a new Step for the Note with czech translation

* Updated script for copying config to not copy solr cores

* Defined new special fields and moved `note` into this step.

* Added czech translation for the new submission inputs.

* Cherry picked fixed randomly failing IT: ManageGroupsFeatureIT, LinksetRestControllerIT (#702)

Co-authored-by: Tim Donohue <[email protected]>

---------

Co-authored-by: Tim Donohue <[email protected]>
  • Loading branch information
milanmajchrak and tdonohue authored Jul 23, 2024
1 parent d9545f4 commit 6f6c7ae
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 6 deletions.
13 changes: 9 additions & 4 deletions dspace/config/item-submission.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
<step-definition id="specialFields" mandatory="true">
<heading>submit.progressbar.describe.stepone</heading>
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
</step-definitions>

<!-- The submission-definitions map lays out the detailed definition of -->
Expand Down Expand Up @@ -328,7 +333,7 @@
<!--Step will be to Sign off on the required DSpace License agreement -->
<step id="license"/>
<step id="clarin-license"/>
<step id="note"/>
<step id="specialFields"/>
</submission-process>

<!--
Expand Down Expand Up @@ -448,7 +453,7 @@
<step id="upload"/>
<step id="license"/>
<step id="clarin-license"/>
<step id="note"/>
<step id="specialFields"/>
</submission-process>

<submission-process name="clariahSubmissions">
Expand All @@ -460,7 +465,7 @@
<step id="upload"/>
<step id="license"/>
<step id="clarin-license"/>
<step id="note"/>
<step id="specialFields"/>
</submission-process>

<submission-process name="teachingSubmissions">
Expand All @@ -472,7 +477,7 @@
<step id="upload"/>
<step id="license"/>
<step id="clarin-license"/>
<step id="note"/>
<step id="specialFields"/>
</submission-process>
</submission-definitions>

Expand Down
33 changes: 32 additions & 1 deletion dspace/config/submission-forms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2091,7 +2091,7 @@
</row>
</form>

<form name="note">
<form name="specialFields">
<row>
<field>
<dc-schema>local</dc-schema>
Expand All @@ -2104,6 +2104,37 @@
<required></required>
</field>
</row>

<row>
<!-- DC.Relation.Replaces -->
<field>
<dc-schema>dc</dc-schema>
<dc-element>relation</dc-element>
<dc-qualifier>replaces</dc-qualifier>
<repeatable>true</repeatable>
<label>Replaces</label>
<input-type>onebox</input-type>
<hint>URL to a related resource that is supplanted, displaced, or superseded by the described resource. If the replaced resource is in this repository start typing its name or handle and select the resource from the autocomplete popup.</hint>
<required/>
</field>
</row>

<row>
<!-- DC.Relation.IsReplacedBy -->
<field>
<dc-schema>dc</dc-schema>
<dc-element>relation</dc-element>
<dc-qualifier>isreplacedby</dc-qualifier>
<repeatable>true</repeatable>
<label>Is replaced by</label>
<input-type>onebox</input-type>
<hint>A related resource that supplants, displaces, or supersedes the described resource.</hint>
<required/>
<acl>
policy=deny,action=read,grantee-type=user,grantee-id=*
</acl>
</field>
</row>
</form>

</form-definitions>
Expand Down
33 changes: 32 additions & 1 deletion dspace/config/submission-forms_cs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@
</row>
</form>

<form name="note">
<form name="specialFields">
<row>
<field>
<dc-schema>local</dc-schema>
Expand All @@ -1445,6 +1445,37 @@
<required></required>
</field>
</row>

<row>
<!-- DC.Relation.Replaces -->
<field>
<dc-schema>dc</dc-schema>
<dc-element>relation</dc-element>
<dc-qualifier>replaces</dc-qualifier>
<repeatable>true</repeatable>
<label>Replaces</label>
<input-type>onebox</input-type>
<hint>URL příbuzného záznamu, který je tímto záznamem nahrazen. Pokud je příbuzný záznam v tomto repozitáři, začněte psát jeho název, nebo handle a vyberte záznam z nabídky.</hint>
<required/>
</field>
</row>

<row>
<!-- DC.Relation.IsReplacedBy -->
<field>
<dc-schema>dc</dc-schema>
<dc-element>relation</dc-element>
<dc-qualifier>isreplacedby</dc-qualifier>
<repeatable>true</repeatable>
<label>Is replaced by</label>
<input-type>onebox</input-type>
<hint>Příbuzný záznam, který nahrazuje tento.</hint>
<required/>
<acl>
policy=deny,action=read,grantee-type=user,grantee-id=*
</acl>
</field>
</row>
</form>

</form-definitions>
Expand Down

0 comments on commit 6f6c7ae

Please sign in to comment.