From 40abff5bb0e24f6983f00f77e9d37c392317f337 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sat, 15 Dec 2018 18:44:59 +0100 Subject: [PATCH] don't remove identifiers from strong parameters --- app/controllers/dois_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/dois_controller.rb b/app/controllers/dois_controller.rb index 3d4a916fd..1b393270c 100644 --- a/app/controllers/dois_controller.rb +++ b/app/controllers/dois_controller.rb @@ -574,7 +574,7 @@ def safe_params last_landing_page_content_type: p[:lastLandingPageContentType] ).except( :confirmDoi, :prefix, :suffix, :publicationYear, - :rightsList, :identifiers, :relatedIdentifiers, :fundingReferences, :geoLocations, + :rightsList, :relatedIdentifiers, :fundingReferences, :geoLocations, :metadataVersion, :schemaVersion, :state, :mode, :isActive, :landingPage, :created, :registered, :updated, :lastLandingPage, :version, :lastLandingPageStatus, :lastLandingPageStatusCheck,