View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005352 | NoesisGUI | Studio | public | 2026-12-02 17:09 | 2026-12-02 17:09 |
| Reporter | dstewart | Assigned To | |||
| Priority | normal | Severity | minor | ||
| Status | new | Resolution | open | ||
| Product Version | 4.0 | ||||
| Summary | 0005352: Template Custom Dynamic Properties Can Be Created As Multiple Words With Spaces | ||||
| Description | Currently, the back-end of our Properties have a 'no white space' policy applied, which means that under the hood, all Properties are recorded as an uninterrupted string. However, in our support of Custom Dynamic Properties for Templates, where an end-user is able to hand-write and create their own Template Properties, we don't have a restriction on allowed characters in place. This allows an end-user to generate a Property Name which can poison the XAML. Repro Steps: 1) Create a Studio Project featuring a MainPage.xaml 2) Introduce a Button Element to the root Grid, and create a new Template for it. 3) With the Template open, select the Template's root, and in its Properties Panel, create a new 'Custom Property' named 'My First Property' (with spaces between each word), and set its Type to 'String'. 4) Exit the Template by clicking on the 'Home' icon in the Template Editor's Breadcrumb, returning to the Page. 5) Select the Button, and observe how a new 'My First Property' Property has appeared in its Properties Panel. 6) Fill out the button's 'My First Property' Property with a value of 'My First Value'. Observe how an 'Invalid XAML' error appears. (See attached image) 7) Open the document in VSCode. Expected Results: Safeguards exist from the user generating invalid XAML from operations performed in Studio. | ||||
| Platform | Any | ||||