ayon-core icon indicating copy to clipboard operation
ayon-core copied to clipboard

Burnin: Extract burnin fails with brackets [] in settings template

Open BigRoy opened this issue 2 years ago • 0 comments

Describe the bug

The Extract Burnin fails when the user adds a [ or ] into the template. For example like this:

afbeelding

{current_frame} [{frame_start}-{frame_end}]

In this setting:

project_settings/global/publish/ExtractBurnin/profiles/0/burnins/burnin/BOTTOM_RIGHT

But would apply to all of the burnin areas I assume.

To Reproduce

  1. Apply [ or ] as described in OpenPype settings for the project
  2. Publish a review from Maya with burnins
  3. Burnin will error.

Expected behavior

Special characters should get escaped accordingly

Additional context

We might need to consider other special characters to and escape them accordingly.

Mentioned on OpenPype discord here

[cuID:OP-3968]

BigRoy avatar Sep 14 '22 10:09 BigRoy