summaryrefslogtreecommitdiff
path: root/TODO
blob: 4973ccacb0b4a7bb3ad061f431d276a5fc5aa03c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Equipements :
 - manque un type (switch / routeur / antenne) et un filtre dessus ?
 - filtre plein texte cassé.. et peu utile aussi

Filtres :
 - tri des colonnes avec chaines vide en dernier 
http://stackoverflow.com/questions/8510632/php-mysql-order-by-date-but-empty-dates-last-not-first
http://stackoverflow.com/questions/2052216/mysql-orderby-a-number-empty-strings-or-0s-last
http://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#getting-the-first-result

Services :
 - les adhésions comme ligne dans service ça fait chier, au moins visuellement. Ca oblige a ajouter de la logique du type "pas IP publique associée à une adhésion".


Global :
 - Logguer les actions
 - Templater les belongsTo (reste les liens delete, le nbre de colonne est foireux, les clés sont affichées et pas résolues...)


Adhérents
- index : pouvoir chercher un ADT par son numéro (commencé mais ça pas marche™)
- pb ergonomie : obligé dde chercher 2 fois l'ADT pour le modfier, puis modifier les services attachés
- Champ adherents.date_validation déconnant : le form met par défaut la date du jour dedans donc ça ne valide rien du tout

Services
- saisie date de fin (en optionnel et non pré-repmpli à la date actuelle)

Validation / transformation de format de données (téléphones +33 , mails lowercase)

Fonctionnalités manquantes
- Action pour transformer un "Intéressé" en embryon de fiche adhérent


Bugs connus
- generation in index() dans le EquipementController qui oublie les filtres
- ajout de liens contextuels qui marchent pas pour des vues. WTF.
- génération qui plante pour Adherents/view et Services/view

Baking `index` view template file...

Creating file /var/www/chd_gestion/src/Template/Adherents/index.ctp
Wrote `/var/www/chd_gestion/src/Template/Adherents/index.ctp`
Notice Error: Undefined offset: 0 in [/var/www/chd_gestion/tmp/bake/view-ctp.php, line 184]

2015-12-31 16:23:17 Notice: Notice (8): Undefined offset: 0 in [/var/www/chd_gestion/tmp/bake/view-ctp.php, line 184]
Trace:
Cake\Error\BaseErrorHandler::handleError() - CORE/src/Error/BaseErrorHandler.php, line 140
include - ROOT/tmp/bake/view-ctp.php, line 184
Bake\View\BakeView::_evaluate() - ROOT/vendor/cakephp/bake/src/View/BakeView.php, line 199
Cake\View\View::_render() - CORE/src/View/View.php, line 944
Bake\View\BakeView::render() - ROOT/vendor/cakephp/bake/src/View/BakeView.php, line 136
Bake\Shell\Task\BakeTemplateTask::generate() - ROOT/vendor/cakephp/bake/src/Shell/Task/BakeTemplateTask.php, line 89
Bake\Shell\Task\TemplateTask::getContent() - ROOT/vendor/cakephp/bake/src/Shell/Task/TemplateTask.php, line 408
Bake\Shell\Task\TemplateTask::main() - ROOT/vendor/cakephp/bake/src/Shell/Task/TemplateTask.php, line 151
Bake\Shell\BakeShell::Bake\Shell\{closure}() - ROOT/vendor/cakephp/bake/src/Shell/BakeShell.php, line 252
Cake\Collection\Collection::each() - CORE/src/Collection/CollectionTrait.php, line 51
Bake\Shell\BakeShell::all() - ROOT/vendor/cakephp/bake/src/Shell/BakeShell.php, line 253
Cake\Console\Shell::runCommand() - CORE/src/Console/Shell.php, line 436
Cake\Console\ShellDispatcher::_dispatch() - CORE/src/Console/ShellDispatcher.php, line 212
Cake\Console\ShellDispatcher::dispatch() - CORE/src/Console/ShellDispatcher.php, line 179
Cake\Console\ShellDispatcher::run() - CORE/src/Console/ShellDispatcher.php, line 126
[main] - ROOT/bin/cake.php, line 33



Creating file /var/www/chd_gestion/src/Template/Services/index.ctp
Wrote `/var/www/chd_gestion/src/Template/Services/index.ctp`
Notice Error: Undefined offset: 0 in [/var/www/chd_gestion/tmp/bake/view-ctp.php, line 184]

2015-12-31 16:23:19 Notice: Notice (8): Undefined offset: 0 in [/var/www/chd_gestion/tmp/bake/view-ctp.php, line 184]
Trace:
Cake\Error\BaseErrorHandler::handleError() - CORE/src/Error/BaseErrorHandler.php, line 140
include - ROOT/tmp/bake/view-ctp.php, line 184
Bake\View\BakeView::_evaluate() - ROOT/vendor/cakephp/bake/src/View/BakeView.php, line 199
Cake\View\View::_render() - CORE/src/View/View.php, line 944
Bake\View\BakeView::render() - ROOT/vendor/cakephp/bake/src/View/BakeView.php, line 136
Bake\Shell\Task\BakeTemplateTask::generate() - ROOT/vendor/cakephp/bake/src/Shell/Task/BakeTemplateTask.php, line 89
Bake\Shell\Task\TemplateTask::getContent() - ROOT/vendor/cakephp/bake/src/Shell/Task/TemplateTask.php, line 408
Bake\Shell\Task\TemplateTask::main() - ROOT/vendor/cakephp/bake/src/Shell/Task/TemplateTask.php, line 151
Bake\Shell\BakeShell::Bake\Shell\{closure}() - ROOT/vendor/cakephp/bake/src/Shell/BakeShell.php, line 252
Cake\Collection\Collection::each() - CORE/src/Collection/CollectionTrait.php, line 51
Bake\Shell\BakeShell::all() - ROOT/vendor/cakephp/bake/src/Shell/BakeShell.php, line 253
Cake\Console\Shell::runCommand() - CORE/src/Console/Shell.php, line 436
Cake\Console\ShellDispatcher::_dispatch() - CORE/src/Console/ShellDispatcher.php, line 212
Cake\Console\ShellDispatcher::dispatch() - CORE/src/Console/ShellDispatcher.php, line 179
Cake\Console\ShellDispatcher::run() - CORE/src/Console/ShellDispatcher.php, line 126
[main] - ROOT/bin/cake.php, line 33