From 7e003e54fa0035063e4126b714369e2d49a8c3b5 Mon Sep 17 00:00:00 2001 From: Chia-Lin Lin Date: Tue, 16 Jan 2024 11:58:03 +0100 Subject: [PATCH] bug: fix the zip upload issue --- CHANGELOG.md | 10 +++++++++- lib/labimotion/libs/nmr_mapper.rb | 2 +- lib/labimotion/version.rb | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16ac9e7..79cbd9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ -1.1.0 - 2023-10-30 +1.1.1 - 2024-01-16 +=================== +* bug: fix the zip upload issue + +1.1.0 - 2024-01-15 +=================== +* “Dataset Excel” improvement - more information is provided in the `Description` sheet. See the documentation: [https://www.chemotion.net/docs/labimotion/guides/user/datasets/download]. + +1.0.18 - 2023-10-30 =================== * Initial version * Generic Designer diff --git a/lib/labimotion/libs/nmr_mapper.rb b/lib/labimotion/libs/nmr_mapper.rb index e7c718f..dc5a1a9 100644 --- a/lib/labimotion/libs/nmr_mapper.rb +++ b/lib/labimotion/libs/nmr_mapper.rb @@ -18,7 +18,7 @@ def self.process_ds(id, current_user = {}) elsif result[:metadata] == nil Labimotion::ConState::NONE else - data = process(att, id, content) + data = process(att, id, result[:metadata]) generate_ds(id, att.attachable_id, data, current_user) Labimotion::ConState::COMPLETED end diff --git a/lib/labimotion/version.rb b/lib/labimotion/version.rb index f76f7e7..ee140e1 100644 --- a/lib/labimotion/version.rb +++ b/lib/labimotion/version.rb @@ -3,5 +3,5 @@ ## Labimotion Version module Labimotion IS_RAILS5 = false - VERSION = '1.1.0' + VERSION = '1.1.1' end