Skip to content

[Bug]: Renaming a script changes how "." are treated (from "_" to ".") #2302

Description

@zloe

I'm sure that

  • This issue is still present in the current beta version of this adapter
  • There is no other (open) issue with the same topic (use the search!)
  • This issue is not described in the adapter documentation / FAQ (read the docs!)

Script type

Javascript

The problem

When I rename a scripts called "MyScript_V1.0.0" (id: MyScript_V1_0_0) the dots "." are no longer converted to "_" in the id. The id becomes: MyScript_V1.0.0 which leads to the situation that the script is also "moved" to a folder.

Image Image Image

The "." in the script name should be treated as "_" also during renaming.

When copying a script ist also allows to change the name, here it works as expected.

iobroker.current.log (in debug mode!)

I shared screenshots. I think no logs are helpful in this respect.

Version of nodejs

v22.22.3

Version of ioBroker js-controller

7.2.2

Version of adapter

9.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions