• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

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

Guide ,
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

201

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
Guide ,
Sep 05, 2021 Sep 05, 2021

Copy link to clipboard

Copied

UPD: The problem is present on Windows (ntfs)

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Nov 25, 2021 Nov 25, 2021

Copy link to clipboard

Copied

LATEST

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

Status Acknowledged

Votes

Translate

Translate

Report

Report