Based on paragraph styles have issues when created by script
When creating styles via a script, styles that are based on other styles are not overwriting style attributes properly. i.e.:
p - font: Arial, size: 10.5, leading: 13, indent 8
p-first: based-on, p, indent 0
The indent may or may not actually be set to 0 if those two styles are created by a script. If I fix the indent manually in InDesign, any of the styles that are based off of p-first would update properly.
Uwe Laubender commented
I would post the problem in the InDesign Scripting forum:
Provide sample code and explain what's not working.
Also provide exact version name of InDesign and OS.