cancel
Showing results for 
Search instead for 
Did you mean: 

Rename a folder in a module component set the name to a new UUID instead of the name given

SébastienVallet
Champ on-the-rise
Champ on-the-rise

Hi,

I'm using ACS 5.2 and I want to fix a path of some folders at startup because a ImporterModuleComponent use the path to be fix.

I created a new implementation of a AbstractModuleMomponent to rename the folders with fileFolderService.rename(myNode, "my-new-name").

But the new name of the folder is not the name a passed in parameters to fileFolderService.rename() but a UUID.

I alse tried to re-apply the name with setProperty (the wrong way) but my node do not take this name either. (See the logs)

image

Any idea why this is happening ? Is this related to AbstractModuleComponent and some side effect related to that ?

Thank's

10 REPLIES 10

Hi,

Any update on this issue?

Thank's