---
# System prepended metadata

title: EdgeHub v2.1.1 patch

---

# EdgeHub v2.1.1 patch
---
## Version: 2.1.1.7
- #### portal-dataconnect: 2.1.1.5
  - [2.1.17] Disable "Object type" field if Group object.

- #### api-alarm-wise-mplus: 
  - [2.1.17] add alarm month count optional and almflag update open/close alarm and update device api
  
- #### api-org-wise-mplus: 2.1.1.5
  - [2.1.16][Datasource] When querying object/parameter list, you need to select at least one group, otherwise it will return empty
  - [2.1.16][Datasource] Add global error processing to prevent crashing
  - [2.1.17] Support monthlyCount API of alarm service

- #### api-portal-wise-mplus: 2.1.1.8 (2.1.1.8-mirai)
  - [2.1.16] tagAdd/tagUpdate mqtt add params that are required by Evaluator

- #### api-subscribe-deviceon-bi: 2.1.1.7
  - [2.1.16][Subscribe service] One tenant deduction fail will cause all tenant retry (waste performance by won't cause duplicated deduction)

- #### evaluator: 2.1.1.2
  - [2.1.16] Update TimeMatch function description
  - [2.1.15] prevent error while tagAdd lack of param.

- #### wise-mplus-userfunctions: 2.1.1.3
  - [User function] Use service name as URL rather than full path URL

- #### api-plugin-deviceon-bi: 確認中!!!
  - [Plugin] Use service name as URL rather than full path URL

- #### wise-mplus-archiver 2.1.1.9
  - [2.1.15][Archiver] RabbimtMQ queue data accumulation
  - [2.1.16][Archiver] When processing rawdata, the second-level precision is changed to millisecond-level precision.

- #### wise-mplus-archiver-restore: 2.1.1.15
- #### dataworker: 2.1.1.2
  - Adjust message ACK flow to prevent ack queue full
  - Prevent existed tags be deleted when the cfg of the monitoring device is empty or incomplete.
  - Add log of mqtt message for Restore data 

## Version: 2.1.1.6
- #### evaluator: 2.1.1.1
  - Same version as 2.1.14

- #### portal-wise-mplus: 2.1.1.5
  - [2.2.8][License management] skip license key to apply free trial

- #### api-subscribe-deviceon-bi: 2.1.1.6
  - [2.1.14] skip license key to apply free trial

- #### api-datapacker-wise-mplus: 2.1.1.6
  - [2.2.8][Packer] Prevent to delete blob data while `savefreq` change to 0 or change primitive parameter's binding tag
  - [2.2.8][Packer] Save cold data backup history list to blob to prevent Redis data lost.
  
- #### api-org-wise-mplus: 2.1.1.3
  - [2.1.14][Datasource] Cannot use `Table` format to display discrete parameter's descriptor.

- #### wisemplus_plugins: 2.1.1.4
  - Fix css class conflict

- #### wise-mplus-archiver 2.1.1.8
  - [2.1.14][Archiver] Wrong handle of maxChangeRatePerMin for `Current` type parameter.
  - [2.1.14][Archiver] Didn't sync restored day data to Archiver correctly.

- #### wise-mplus-archiver-restore: 2.1.1.15
  - [2.1.14][Archiver-restore] Wrong handle of maxChangeRatePerMin for `Current` type parameter.

- #### api-dbmaster-wise-mplus:(2.1.1.6-mirai)
  - disable get data from ifactory worker and add statement when get pg failed


## Version: 2.1.1.5
- #### portal-dataconnect: 2.1.1.4
  - adding "skipParametersNodes" argument into ObjectDetailById to improve performance (prevent 504 issue)

- #### api-alarm-wise-mplus: 2.1.1.3
  - support his/rt alarm api filter
  - init check subscribe iFactory tag redis topic
  - [2.1.3] rt alarm api filter incorrect
  
- #### api-dbmaster-wise-mplus: 2.1.1.6
  - accumulate data avg = lastvalue - firstvalue

- #### api-datapacker-wise-mplus: 2.1.1.5
  - prevent deleting data in blob

- #### api-portal-wise-mplus: 2.1.1.7 (2.1.1.7-mirai)
  - remove Gateway.currentStatus to improve performance (prevent 504 issue)
  - change channel setting status default value to true,and add migration function

- #### wise-mplus-archiver-restore: 2.1.1.14
  - [2.1.14][Archiver-restore] Didn't restore day data correctly. 

- #### wisemplus_plugins: 2.1.1.3
  - alarm panel cannot save `Rows per page` setting.

## Version: 2.1.1.4 (code updated, haven't patched to Master)
- #### wise-mplus-userfunctions: 2.1.1.2
  - enable support group param sum in previous data with default value
- #### wise-mplus-archiver 2.1.1.7
  - [2.1.12][Archiver] Modification to the calculation method for cumulative parameters.
- #### wise-mplus-archiver-restore: 2.1.1.12
  - [2.1.12][Archiver-restore] Modification to the calculation method for cumulative parameters.
  - [2.1.12][#35892][Archiver-restore][DM] archiver restore service restart (OOM)
- #### api-subscribe-deviceon-bi: 2.1.1.5
  - [2.1.11] No need to send due-5 days notification while customer has sufficent gift value.
- #### portal-wise-mplus: 2.1.1.4
  - Subscription form update (Auto fill first/last name while email blur)
- #### api-datapacker-wise-mplus: 2.1.1.4
  - [2.1.5] Handle text data wrong format
- #### api-dbmaster-wise-mplus: 2.1.1.4
  - [2.1.4] parseFloat fail return nil not err message
- #### wise-mplus-notification: 2.1.1.1
  - [2.1.12][#37169][Notification][DM] The parameter name with colon(:) cannot be parsed in notification message.
- #### dataworker: 2.1.1.1
  - [2.1.12][Worker] worker restart may cause some object's savefreq = 0 


## Version: 2.1.1.3 
- #### wise-mplus-userfunctions: 2.1.1.1
  - enable support group param sum in previous data   

- #### wise-mplus-archiver 2.1.1.6
  - [2.1.8] Archiver no response

- #### api-alarm-wise-mplus: 2.1.1.1
  - [2.1.5][alarm-service] Optimize the retrieval of the 'monthOccur' field in the rt/his API
  - [2.1.8][Alarm service][DM] Actually only 1431 alarm are triggered even if 2000 parameter meet the alarm rule.

- #### api-dbmaster-wise-mplus: 2.1.1.3
  - [2.1.10] apis /v2 using parameter id not objid, objparam
  - dcLimitToNthValues support onlyMongo (for restoring calculative parameters's data)

- #### api-portal-wise-mplus: 2.1.1.5 (2.1.1.5-mirai)
  - [2.1.10][#36936][DM] It can be added parameters (over subscribed quota) via importing object excel.
  - [2.1.2][api-portal] After disabling a user and then re-enabling the user, the user's permissions within groups remain unchanged.
  - [2.1.2][api-portal] When updateOrgNotifySender, add mqtt groupUpdate
  - [2.1.8][api-portal] PG connection timeout
  - [2.1.8][api-portal] User with multiple tenant roles and roles with lower privileges come first (ex. assign `Viewer` first, then add `Admin`) will cause permission denied. 

- #### wise-mplus-archiver-restore: 2.1.1.10
  - [2.1.11] Add pendingPrevdataList to cache prevdata that has not yet reached the restore time
  - [2.1.9] [Restore] Incorrect result in Discrete parameter restore
  - [2.1.10] Add AllowRestore env to control migration from version that lower than 2.1.4

- #### portal-dataconnect: 2.1.1.3
  - [2.1.4][UI][Parameter] Calculation parameter supports setting parameters in descendant groups as code data source.
  - [2.1.4][Forwarding] Support to select parameters in descendant groups as datasource
  - [2.1.4][Alarm group] Support to select parameters in descendant groups

- #### dc-import-export-service: 2.1.1.1
  - Add new tag, no change.

## Current version in EdgeHub Master (patched, haven't tagged)
### Patched App
- #### api-dbmaster-wise-mplus: fix-merge-blob-mongo-6ec5dc6
  - [2.1.7][internal] still got wrong dataKeptDays after objUpdate
  - [2.1.9][internal] api /data/CalculatedData/query , /data/RawData/query enable merge mongo & blob data for Restore's usage.
 
- #### api-portal-wise-mplus: 2.1.1.3
  - [2.1.4] login add 4 error status (Disabled, Inactive, SSO_Login_DISABLED, Password_expired)
  - [2.1.8][api-portal] wrong parameter's kept days for the parameters that is created before version 2.0.22
  
- #### api-subscribe-deviceon-bi: 2.1.1.4
  - [2.1.4] Error message in Activate license key page
  - [2.1.4][Internal] Update MKP api name

- #### dc-import-export-service: temp-for-master-996fea5
  - [2.1.5][import-export] continue import even import device failed
  - [2.1.4] Support multiple groups import-export (backend)

- #### portal-wise-mplus: 2.1.1.3
  - [2.1.7]Activate license key UI adjustment(vue version)
    - email blur -> fill first/last name automatically

- #### wise-mplus-archiver: 2.1.1.5
  - [2.1.6][Archiver] The starting value and ending value within the calculation interval are not correctly judged, resulting in errors in the calculation of the cumulative parameter.
  - [2.1.7][Archiver] Handle the special case of HIS_AVG comutation for the parameter with `cumulative` recording type:
    - data glitch to 0
    - data glitch to 0 right after device online
  - [2.1.8][Archiver] Incorrect first value for hour data will cause wrong HIS_AVG of hour data

- #### wise-mplus-archiver-restore: 2.1.1.7
  - [2.1.6][ArchiverRestore] The starting value and ending value within the calculation interval are not correctly judged, resulting in errors in the calculation of the cumulative parameter.
  - [2.1.7][ArchiverRestore] Handle the special case of HIS_AVG comutation for the parameter with `cumulative` recording type:
    - data glitch to 0
    - data glitch to 0 right after device online
  - [2.1.7][#35915][Data restore] The text format data aren't not be recordered actually after stop and restart worker on 1225
  - [2.1.8][ArchiverRestore] Incorrect first value for hour data will cause wrong HIS_AVG of hour data
  - [2.1.8][ArchiverRestore] The waiting time between two restore tasks is too long
  - [2.1.9][internal] use API of DBMaster to get merged mongo & blob data

- #### wise-mplus-cleaner: 2.1.1.3
  - [2.1.7][Cleaner] Delete a parameter will also erase the historical data for other parameters within the same object, including recording rate / hour / day data.


## Version: 2.1.1.2 (2023/12/11)
### Patched App
- #### wise-mplus-dbcreator: 2.1.1.2
  - add new tables: subscribeinfo and subscribeinfoex
  - Translation update (for subscription)
  
- #### api-portal-wise-mplus: 2.1.1.2
  - [2.1.2][api-portal] Support checking the Quota of SI Console in the EdgeHub environment.

- #### portal-dataconnect: 2.1.1.2
  - [2.1.3][UI] Display parameter's quota and usage
  - [2.1.4][Portal] Activate license key functionality
  - [2.1.4][Portal] Redeem additional license keys functionality

- #### portal-wise-mplus: 2.1.1.2
  - [2.1.4][Portal] Activate license key functionality (vue version)
  
- #### api-org-wise-mplus: 2.1.1.2
  - [2.1.4][Datasource] Transformation function error while source value is negative
  
- #### wise-mplus-archiver: 2.1.1.2
  - [2.1.4][Data archiver] Unnecessary restore notify in the case of data in offline status back to online status.
  - [2.1.4][#35372][Data archiver] Calculation error while parameter changing its source tag binding.
  
- #### api-datapacker-wise-mplus: 2.1.1.2
  - [2.1.2][Data packer] GET api with wrong route may cause pivot-api-hub slow down

- #### api-subscribe-deviceon-bi: 2.1.1.2
  - [2.1.4][Portal] Activate license key functionality
  - due - 5 days send email to admin & PM
  - Billing notice email template update

## Version: 2.1.1 (2023/10/12) (Mirai - Sembcorp dev here)

### Device Management

#### [Update]

* Web Page Update
  * Modify header style according to UI design

* Device Management Portal
  * To improve network security, use cookie in JWT format to store user information

* X.509
  * Add the capability to run certification program in WISE-PaaS platform

#### [Fix]

* Web Page
  * [#34906] [DPM] The style of header menu are not the same on DM and DPM
  * [#32333] [UM] DPM should not show User Management item in header dropdown menu
  * [#34928] [DPM] Use csv template to import device will show fail

* X.509
  * [#34916] [DPM] Edgelink device can't connect to EdgeHub due to Cert Revoke API error
  * [#34882] [DPM] Revoke cert regeneration task will not be executed if expired cert regeneration task is executed

* Others
  * [#34940] [DPM] Platform agent login error due to GraphQL API is missing
  * [#31212] [DPM] When IO Configurations in ADAM/WISE are changed, cloud sends only modified MQTT to device
  * [#34941] [DPM] Formula of calcation parameter will be clear when editing
### Data Management

#### [Update]
- #### Core
  - [api-portal] Limit single client login for a user account (This feature is disabled by default).
  - [api-portal] API update
    - (Add) ApiInfo.anyUsernameAuthEnable
  - [Data Packer] Federate APIs to federation server after all DB connections are ready.


#### [Fix]
- #### Core
  - [Data Packer] Startup incompletly while DBMaster not ready
  - [Data Archiver] Wrong calculation for the recording rate data of cumulative parameter while the data upload frequency greater than recording rate.
- #### Data Management
  - [Portal] The search for the object parameter list did not yield the correct page numbers.
  - [#34196][DM] Plug in will continue to send even the related calculation parameter is deleted
- #### Command Center
  - [#34905][CC] Alarm panel doesn't show anything
---
###### tags: `Documentation`