UI Builder, strange behavior of duplicated page variants and scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2022 03:51 AM - edited ‎12-23-2022 03:51 AM
Colleagues, I found strange behavior of UI Builder when a page variant is cloned. It seems, that even though it clones all components, variables, scripts, the cloned variant still uses old, original script.
How to reproduce:
1. Create a page (original variant) with simple script, that types on the screen "Original variant".
2. Clone(duplicate) this variant.
3. Change the script in the cloned variant to type "Cloned variant".
4. Test both of variants: both of them type the same: "Original variant".
create original variant, create a variable displayed as stylized text.
 
create a script that is started with the click and changes the variable
 
create a clone and modify the script and the heading
While original variant works as expected...
... the cloned variant still calls the script from original one!
Build tag: glide-tokyo-07-08-2022__patch1-09-01-2022
The only question: is it OK?