Skip to content

Commit

Permalink
use true, for cmdi crosswalk (#629)
Browse files Browse the repository at this point in the history
* use true, for cmdi crosswalk

* test fix
  • Loading branch information
MajoBerger authored Apr 11, 2024
1 parent 30018b0 commit c8b899b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*/
public class CMDIFileBundleMaintainer {

private static final String hasCMDYesOptionValue = "yes";
private static final String hasCMDYesOptionValue = "true";

private static BitstreamService bitstreamService = ContentServiceFactory.getInstance().getBitstreamService();
private static ItemService itemService = ContentServiceFactory.getInstance().getItemService();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void setUp() throws SQLException, AuthorizeException, IOException {
this.it = installItemService.installItem(context, workspaceItem);
this.mf = metadataFieldService.findByString(context, "local.hasCMDI", '.');
this.mv = metadataValueService.create(context, it, mf);
this.mv.setValue("yes");
this.mv.setValue("true");
this.listMv = new ArrayList<>();
listMv.add(this.mv);
this.dspaceObject = it;
Expand Down
2 changes: 1 addition & 1 deletion dspace/config/submission-forms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@
<value-pairs value-pairs-name="hasCMDI_checkbox" dc-term="identifier">
<pair>
<displayed-value>Yes</displayed-value>
<stored-value>yes</stored-value>
<stored-value>true</stored-value>
</pair>
</value-pairs>
<value-pairs value-pairs-name="common_identifiers" dc-term="identifier">
Expand Down

0 comments on commit c8b899b

Please sign in to comment.