Bug #1903
Validator hostname() returns NULL
Status: | CLOSED | Start date: | 04/26/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 04/26/2013 | |
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | v1.5.0 | |||
Security class: | Resolution: | |||
Affected version: | v6.4-alpha2 | NEEDINFO: |
Description
The hostname()
validator does not return ValidatorInterface.
source:Nethgui/System/Validator.php@7d8dc23e#L159
Unit tests don't check the returned object, thus the error is not caught.
source:Nethgui/Test/Unit/Nethgui/System/ValidatorTest.php@7d8dc23e#L299
Associated revisions
Validator.php: add return statement in hostname function. Refs #1903
ValidatorTest: always check for chainable return values. Refs #1903
History
#1 Updated by Giacomo Sanchietti over 8 years ago
- Status changed from NEW to ON_DEV
- % Done changed from 0 to 30
Added return statement.
#2 Updated by Davide Principi over 8 years ago
- Category set to 2
- Status changed from ON_DEV to MODIFIED
- Assignee set to Giacomo Sanchietti
- % Done changed from 30 to 100
#3 Updated by Davide Principi about 8 years ago
- Status changed from MODIFIED to CLOSED
#4 Updated by Davide Principi over 7 years ago
- Target version deleted (
v6.4-beta1)