acap-native-sdk-examples icon indicating copy to clipboard operation
acap-native-sdk-examples copied to clipboard

axparameter - names with underscores are not editable via the interface

Open gustavofuhr opened this issue 10 months ago • 2 comments

Describe the bug

When defining parameters in the manifest.json it appears that if you use underscore in the param name or the app name itself there is an error in the interface where every time you want to change some of the settings you got a "OPPs! Couldn't set the value"

To reproduce

I just changed the manifest.json parameter of the axparameter sample from

{
    "name": "IsCustomized",
    "default": "no",
    "type": "string"
},
{
    "name": "Is_Customized",
    "default": "no",
    "type": "string"
},

Screenshots

Image

Environment

  • Axis device model: AXIS P3268-LVE
  • Axis device firmware version: 11.11.124

gustavofuhr avatar Feb 03 '25 22:02 gustavofuhr

This should have been fixed in AXIS OS 12.0, it was mentioned in the ACAP 12.0 release notes.

pataxis avatar Feb 04 '25 08:02 pataxis

@gustavofuhr If I have correct information, the fix in AXIS OS 12.0 should be backported to AXIS OS LTS 11.11. So keep an eye at the LTS 11.11 release notes.

Will keep the issue open until fix confirmed on 11.11.

pataxis avatar Feb 17 '25 13:02 pataxis

Verified setting underscore in parameter in latest 11.11 LTS and it worked.

Stiv-work avatar May 06 '25 11:05 Stiv-work