Bug Report: Broken section field with calc() formulas in Pro 6.8.7

Hello,

A bug has been introduced in the latest version (Pro 6.8.7).

Steps to reproduce:

Create a new section.

Edit the padding.

Unlink the 4 values.

Enter a formula for the top value such as calc(5px * 2).

Attempt to save the page: the saving process takes a very long time, and the section padding becomes corrupted after a reload.

Technical Details:

In the dev toolkit inspector, if you search for section_padding, the saved value is incorrect and contains thousands of nested calc( strings:

"calc(5px * 2) * 2 calc(5px * 2= calc(5px * 2= calc(5px * 2 calc(5px *  calc(5px * calc(5px  calc(5px calc(5p calc [cut]"

Screenshots:

This should be fixed as soon as possible.
Thank you very much.

Hey @popoche,

Thanks for writing in!

This is from my local testing server.

This is from your test page when I edited it.

I could not replicate the issue.

Best Regards.

Thanks for your reply.
I just tried again on a fresh install, and I’m still experiencing the bug.
I didn’t have this issue in previous versions, only in the latest one.

Maybe you selected calc before typing? I usually just type calc and the value I want in the padding input, and it works. But now, with every new version of the Pro theme, I’m experiencing this bug.

I use chrome, last version.

Thank you.

Hey @popoche,

Yes, I was able to replicate the issue this time. I will forward this to our developers.

Cheers.

@ruenel

Great, thank you :slight_smile:

So glad I’ve seen this. I too type calc values in the same way and had a page corrupt and wasn’t loading. I deleted the values in the padding and copied the sections to a new page. Deleted the old one (as it’s corrupt and won’t open/save). Saved me heaps of time. Thank you. Hope the fix comes soon.

Hello @boomfly,

We have reported the issue to your development team. There is no ETA at the moment, so I would request that you stay tuned for future theme updates.

Thanks for understanding

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.