Project

General

Profile

Change Request #3585

[Property Sections] Validate the syntax of complex expression or disallow direct editing

Added by Alexander Diewald almost 2 years ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Start date:
11/30/2018
Due date:
% Done:

0%

Estimated time:

Description

Problem description

AFAIK, input validator are responsible for syntax checks and alike, whereas the validation on save is responsible for more complex tasks such as symbol checking.
However, the sytax checking is only "really" performed for integers and float data types. For enums, or structs, arbitrary strings can be entered. This causes a suboptimal UX.

Resolution

Either implement a syntax check based on the expressions, or just forbid editing in these cases and just disply the result from the edit dialor

History

#1 Updated by Alexander Diewald almost 2 years ago

Assigned to you for distribution (next Monday?), or rejection.

#2 Updated by Johannes Eder over 1 year ago

  • Target version changed from AF3 2.15 RC1 (Feature Freeze) to AF3 2.16 RC1 (Feature Freeze)

#3 Updated by Anonymous 12 months ago

  • Target version changed from AF3 2.16 RC1 (Feature Freeze) to AF3 2.17 (Feature Freeze)

#4 Updated by Johannes Eder 7 months ago

  • Assignee changed from Anonymous to Alexander Diewald

@Alex: Is this still relevant?

#5 Updated by Alexander Diewald 7 months ago

I'll reevaluate this obn Monday.

#6 Updated by Alexander Diewald 5 months ago

  • Subject changed from [Property Sections] Vaidate the syntax of complex expression or disallow direct editing to [Property Sections] Validate the syntax of complex expression or disallow direct editing
  • Assignee changed from Alexander Diewald to Johannes Eder
  • Target version changed from AF3 2.17 (Feature Freeze) to AF3 2.18 - Feature Freeze

Still relevant. Should be tackled after the Property Sections were ported to JFX.

Also available in: Atom PDF