telefonicaid / perseo-fe

Front End process for the Perseo CEP
GNU Affero General Public License v3.0
15 stars 29 forks source link

update rule with entity id or type expanded to non string values #791

Closed AlvaroVega closed 4 months ago

AlvaroVega commented 4 months ago

Are causing BadRequest in CB.

time=2024-07-19T08:50:45.787Z | lvl=DEBUG | corr=7a94cadb-1294-4fc1-813c-5f03c2896b16; cbnotif=1; node=O9xNsQRkJ8; perseocep=1 | trans=32c3c5b7-cbbf-43c7-8c07-2f1f0a49dbfb | op=/actions/do | path=/actions/do | comp=perseo-fe | srv=smartcity | subsrv=/ | msg=entity to update: {"actionType":"append","entities":[{"abnormal":{"value":7,"type":"Number"},"id":"thing:disp1_mirror","type":62}]}

Comes from: https://github.com/telefonicaid/perseo-fe/issues/746

fgalan commented 4 months ago

Fixed by PR https://github.com/telefonicaid/perseo-fe/pull/792