Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


P: Chars in the layer name are not checked when creating a smart object

3 Votes
Adobe Community Professional ,
Sep 04, 2021 Sep 04, 2021

Copy link to clipboard

Copied

When a smart object is created, it gets the file reference property from the name of the top layer, which is then used to create a temporary file (when edited). If such a name contains characters that are not supported by the file system, then an error will occur when trying to edit a smart object, for example:

 

 

 

activeDocument.activeLayer.name = activeDocument.activeLayer.name  +"\n" 
executeAction( stringIDToTypeID('newPlacedLayer'), undefined, DialogModes.NO );
executeAction( stringIDToTypeID('placedLayerEditContents'), undefined, DialogModes.NO ); //error

 

 

 

Please help, error when placedLayerEditContents.

Bug Acknowledged
TOPICS
Actions and scripting, Windows

Views

55

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Nov 25, 2021 Nov 25, 2021
Thanks. I've logged an issue for the engineering team.
Status Acknowledged

Votes

Translate

Translate
2 Comments
Adobe Community Professional ,
Sep 05, 2021 Sep 05, 2021

Copy link to clipboard

Copied

UPD: The problem is present on Windows (ntfs)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 25, 2021 Nov 25, 2021

Copy link to clipboard

Copied

LATEST

Thanks. I've logged an issue for the engineering team.


Senior Product Manager - Customer Advocacy - Digital Imaging
Bug Acknowledged

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines