Skip to content

Input widget silent drops: ReadOnlyStyle, text area NumberOfLines/Autocomplete, button OutputMappings; customDateFormat quote escaping #977

Description

@ako

Found while fixing #968 (PR #976). These block a whole-page describe → exec that writes nothing on Studio Pro pages (TestApp WorkflowCommons.WorkflowEndedUserTask, Snip_Workflow_Detail).

  1. ReadOnlyStyle is a silent drop on text box, text area and date picker. The writer hard-codes Inherit, and describe ignores it, so a Studio Pro widget set to read-only "Text" (or "Control") turns back into Inherit on a round trip.
  2. The text area's NumberOfLines and Autocomplete are not round-tripped.
  3. A button's OutputMappings are not round-tripped.
  4. Describe does not escape ' in a dynamic-text customDateFormat, so a pattern with quoted literal text ('at') does not round-trip.
  5. alter set (CustomDateFormat: '') is not refused on a picker already set to Custom, because properties are applied one at a time. It produces CE0493.

For each item:

  • Measure the stored shape on a Studio Pro widget first.
  • Add a BSON test and a round-trip test.
  • Remove those pages from the TestApp allowlist once they pass.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions