is not used any more and exists only for history. Post new tickets on the Github account. n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 11 years ago

Closed 11 years ago

#1280 closed bug (fixed)

testapp test fails ( jfilter )

Reported by: rahal Owned by:
Priority: normal Milestone: Jelix 1.3 beta 1
Component: jelix Version: trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version: 5.2.14


Ceci est le résultat ( partiel ) du test en ligne de commande ( make tests ) sur jelix-trunk :

[INFO] jfilter tests: use of php filter
[INFO] 2) isEmail('toto@mail') at [/jelix-trunk/_dev/testapp/modules/jelix_tests/tests/utils.jfilter.html_cli.php line 147]
[INFO] 	in testEmail
[INFO] 	in UTfilter
[INFO] 	in /jelix-trunk/_dev/testapp/modules/jelix_tests/tests/utils.jfilter.html_cli.php
[INFO] 3) isEmail('"bob john"') at [/jelix_tests/tests/utils.jfilter.html_cli.php line 158]
[INFO] 	in testEmail
[INFO] 	in UTfilter
[INFO] 	in /jelix-trunk/_dev/testapp/modules/jelix_tests/tests/utils.jfilter.html_cli.php
[INFO] 4) isEmail('bob@') at [/jelix-trunk/_dev/testapp/modules/jelix_tests/tests/utils.jfilter.html_cli.php line 161]
[INFO] 	in testEmail
[INFO] 	in UTfilter
[INFO] 	in /jelix-trunk/_dev/testapp/modules/jelix_tests/tests/utils.jfilter.html_cli.php

Ceci semble être un problème relatif à la version php ( )

Change History (2)

comment:1 Changed 11 years ago by bricet

I guess this is related to patch introduced by ticket:1065.

The behaviour of filter_var is different from one version of PHP to another. But I guess we respect RFCs now. PHP too since at least 5.2.10 (may be before).

comment:2 Changed 11 years ago by laurentj

  • Milestone set to Jelix 1.3
  • Resolution set to fixed
  • Status changed from new to closed

tests has been removed a while ago in the trunk...

Note: See TracTickets for help on using tickets.