Skip to content

Commit 06b9f4d

Browse files
Release 4.2.2 (#5)
# Release 4.2.2 ## Bugfix - Wrong check of existing parameters to update values
1 parent 38a9ffc commit 06b9f4d

5 files changed

Lines changed: 14 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## Release 4.2.2
5+
6+
### Bugfix
7+
- Wrong check of existing parameters to update values
8+
49
## Release 4.2.1
510

611
### Bugfix

CSK_Module_PersistentData/project.mf.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ To make this permanent, it is needed to save the persistent data afterwards (see
305305
</serves>
306306
</crown>
307307
<meta key="author">SICK AG</meta>
308-
<meta key="version">4.2.1</meta>
308+
<meta key="version">4.2.2</meta>
309309
<meta key="priority">low</meta>
310310
<meta key="copy-protected">false</meta>
311311
<meta key="read-protected">false</meta>

CSK_Module_PersistentData/scripts/Configuration/PersistentData/PersistentData_Controller.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,8 @@ local function setNewValueToParameterViaUI()
559559
-- Set new value
560560
if persistentData_Model.currentlySelectedParameterValue ~= '' and persistentData_Model.currentlySelectedParameterValue ~= nil then
561561
if persistentData_Model.currentlySelectedParameterNameOfTable ~= '' then
562-
if persistentData_Model.data[persistentData_Model.currentlySelectedDataSet][persistentData_Model.currentlySelectedParameterNameOfTable] then
563-
if persistentData_Model.data[persistentData_Model.currentlySelectedDataSet][persistentData_Model.currentlySelectedParameterNameOfTable][persistentData_Model.currentlySelectedParameterNameOfSubTable] then
562+
if persistentData_Model.data[persistentData_Model.currentlySelectedDataSet][persistentData_Model.currentlySelectedParameterNameOfTable] ~= nil then
563+
if persistentData_Model.data[persistentData_Model.currentlySelectedDataSet][persistentData_Model.currentlySelectedParameterNameOfTable][persistentData_Model.currentlySelectedParameterNameOfSubTable] ~= nil then
564564
if persistentData_Model.currentlySelectedParameterWithinSubTable ~= '' then
565565
local checkValue = persistentData_Model.data[persistentData_Model.currentlySelectedDataSet][persistentData_Model.currentlySelectedParameterNameOfTable][persistentData_Model.currentlySelectedParameterNameOfSubTable][persistentData_Model.currentlySelectedParameterWithinSubTable]
566566
if checkValue ~= nil then

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Tested on
1616

1717
|Device|Firmware|Module version|
1818
|--|--|--|
19+
|SIM2x00|v1.9.0|v4.2.2|
1920
|SICK AppEngine|v1.7.0|v4.2.0|
2021
|SICK AppEngine|v1.7.0|v4.1.0|
2122
|SICK AppEngine|v1.5.0|v4.0.1|

docu/CSK_Module_PersistentData.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="generator" content="Asciidoctor 2.0.12">
88
<meta name="author" content="SICK AG">
9-
<title>Documentation - CSK_Module_PersistentData 4.2.1</title>
9+
<title>Documentation - CSK_Module_PersistentData 4.2.2</title>
1010
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
1111
<style>
1212
/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
@@ -615,10 +615,10 @@
615615
</head>
616616
<body class="article toc2 toc-left">
617617
<div id="header">
618-
<h1>Documentation - CSK_Module_PersistentData 4.2.1</h1>
618+
<h1>Documentation - CSK_Module_PersistentData 4.2.2</h1>
619619
<div class="details">
620620
<span id="author" class="author">SICK AG</span><br>
621-
<span id="revnumber">version 4.2.1,</span>
621+
<span id="revnumber">version 4.2.2,</span>
622622
<span id="revdate">2025-01-24</span>
623623
</div>
624624
<div id="toc" class="toc2">
@@ -730,7 +730,7 @@ <h2 id="_document_metadata">Document metadata</h2>
730730
</tr>
731731
<tr>
732732
<th class="tableblock halign-left valign-top"><p class="tableblock">Version</p></th>
733-
<td class="tableblock halign-left valign-top"><p class="tableblock">4.2.1</p></td>
733+
<td class="tableblock halign-left valign-top"><p class="tableblock">4.2.2</p></td>
734734
</tr>
735735
<tr>
736736
<th class="tableblock halign-left valign-top"><p class="tableblock">Date</p></th>
@@ -3751,7 +3751,7 @@ <h6 id="_sample_auto_generated_63">Sample (auto-generated)</h6>
37513751
</div>
37523752
<div id="footer">
37533753
<div id="footer-text">
3754-
Version 4.2.1<br>
3754+
Version 4.2.2<br>
37553755
Last updated 2025-01-24 10:43:07 +0100
37563756
</div>
37573757
</div>

0 commit comments

Comments
 (0)