InDesign Server removes locks from locked layers during opening the document
Hi,
We ran into to the following issue on InDesign Server: after opening, saving and closing a document that contains layers that are locked, these layers become unlocked.
The issue is reproducible on InDesign Server 16.4.0, 16.4.1, 17.0.0.
The issue is not reproducible with version 15.x and 16.0.0, so it must have been introduced in InDesign Server 16.2.1 or 16.4.0.
Scenario (on IDS 16.4.1):
InDesign: create a document ‘~/Desktop/local2021.indd’
Create 3 layers
Lock all layers
Save and close the document
Run the script below on InDesign Server 2021 (16.4.1),
targetengine "session"
function main()
{
try {
var docFile = new File("~/Desktop/local2021.indd");
var doc = app.open( docFile );
doc = doc.save( docFile);
doc.close(SaveOptions.YES)
} catch (error) {
alert( "message: name =[" + error.name + "]; message = [" + error.message + "];" );
}
}
main();
(6). Open the document again in InDesign
→ the layer locks are gone!
The same scenario is reproducible on InDesign Server 17.0.0.
We found that the removal of the locks from the layers happen during the opening of the document.
Evidently, the locks on the layers should remain untouched when opening a document in InDesign Server.
We reported this issue directly to Adobe. It's known as #ID-4228851.
regards,
Carlo