Bugfixes for the authoring steps of InternetArticle
parent
603616beba
commit
76ca5366f9
|
|
@ -97,13 +97,13 @@ public class InternetArticleExtendedPropertiesStep
|
|||
propertiesStepModel.setIssn(getPublication().getIssn());
|
||||
propertiesStepModel.setLastAccessed(
|
||||
Optional
|
||||
.of(getPublication().getLastAccessed())
|
||||
.ofNullable(getPublication().getLastAccessed())
|
||||
.map(date -> isoDateFormatter.format(date))
|
||||
.orElse(null)
|
||||
);
|
||||
propertiesStepModel.setPublicationDate(
|
||||
Optional
|
||||
.of(getPublication().getPublicationDate())
|
||||
.ofNullable(getPublication().getPublicationDate())
|
||||
.map(date -> isoDateFormatter.format(date))
|
||||
.orElse(null)
|
||||
);
|
||||
|
|
@ -147,7 +147,7 @@ public class InternetArticleExtendedPropertiesStep
|
|||
final String publicationDateParam,
|
||||
@FormParam("urn")
|
||||
final String urn,
|
||||
@FormParam("doe")
|
||||
@FormParam("doi")
|
||||
final String doi
|
||||
) {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@
|
|||
confirmLabel="#{SciPublicationsUiMessageBundle['internetarticle.basicproperties.organization.confirm']}"
|
||||
dialogId="remove-organization-dialog"
|
||||
dialogTitle="#{SciPublicationsUiMessageBundle['internetarticle.basicproperties.organization.title']}"
|
||||
message="#{SciPublicationsUiMessageBundle.getMessage('internetarticle.basicproperties.organization.message', [CmsSelectedDocumentModel.name, SciCmsInternetArticlePropertiesStepModel.organization])}"
|
||||
message="#{SciPublicationsUiMessageBundle.getMessage('internetarticle.basicproperties.organization.message', [CmsSelectedDocumentModel.itemName, SciCmsInternetArticlePropertiesStepModel.organizationName])}"
|
||||
/>
|
||||
</c:if>
|
||||
</c:otherwise>
|
||||
|
|
|
|||
Loading…
Reference in New Issue