Adventure PHP Framework Issue Management

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000307Adventure PHP FrameworkCode-Verbesserung // Code improvementpublic2016-08-03 21:342016-08-13 14:18
Assigned ToChristianAchatz 
Product Version3.2 
Target Version3.3Fixed in Version3.3 
Summary0000307: Allow manipulation of field visibility to be reflected in form validation
- Form including a field within a template checked by a mandatory validator.
- Within controller field is hidden via form control API

Form is valid even though field is not sent along

Form is invalid since validator is executed onParseTime() already and thus does not recognize visibility manipulated later on.

Within this issue the validation should be adapted to support above use case.
TagsNo tags attached.
Codereferenz: ([Datei]:[Zeile])
Attached Files

- Relationships

-  Notes
ChristianAchatz (administrator)
2016-08-03 21:47

- Added Unit Tests (see changes under https://github.com/AdventurePHP/code/commit/6cfef393553b6b89adea0a0a913d731e13b6f4d5 [^])
- Changed implementation (see changes under https://github.com/AdventurePHP/code/commit/3427071e8cfdd28be383a7bcb3078ed400ff03a6 [^])

==> Documentation for hidden=true and optional=true features outstanding.
ChristianAchatz (administrator)
2016-08-13 14:17

Documentation updated. See changes under https://github.com/AdventurePHP/docs/commit/4857edc0311ad4088035c6a0b091eeddb1e50a80. [^]

Updated Unit Tests for optional validation for SelectBoxTag and corrected implementation to overwrite isValid() instead of addValidator().

- Issue History
Date Modified Username Field Change
2016-08-03 21:34 ChristianAchatz New Issue
2016-08-03 21:34 ChristianAchatz Status new => assigned
2016-08-03 21:34 ChristianAchatz Assigned To => ChristianAchatz
2016-08-03 21:47 ChristianAchatz Note Added: 0000738
2016-08-13 14:17 ChristianAchatz Note Added: 0000739
2016-08-13 14:18 ChristianAchatz Status assigned => resolved
2016-08-13 14:18 ChristianAchatz Fixed in Version => 3.3
2016-08-13 14:18 ChristianAchatz Resolution open => fixed

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker