developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 8 years ago
Closed 8 years ago
#1497 closed bug (fixed)
jIniFileModifier : Erreur d'offset
Reported by: | flav | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Jelix 1.2.12 |
Component: | jelix:utils | Version: | 1.4.0 |
Severity: | minor | Keywords: | jIniFileModifier |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
Cette erreur apparait lorsqu'une valeur dans un fichier ini fait plus de 2 lignes. Elle apparait nombre_de_lignes - 2 fois.
Si, ligne 107 à 109 on remplace :
} else { $currentValue[2].=$m[1]."\n"; }
par :
} /*else { $currentValue[2].=$m[1]."\n"; }*/
Le résultat de getValue() ne semble cependant pas altéré. L'instruction incriminée parait alors simplement inutile. Peut être un résidut de vieux code?
Change History (3)
comment:1 Changed 8 years ago by laurentj
- Milestone set to Jelix 1.4.3
comment:2 Changed 8 years ago by laurentj
- Milestone changed from Jelix 1.4.3 to Jelix 1.2.12
- Status changed from new to confirmed
comment:3 Changed 8 years ago by laurentj
- Resolution set to fixed
- Status changed from confirmed to closed
Note: See
TracTickets for help on using
tickets.
fixed https://github.com/jelix/jelix/commit/649bbac686fd73b2adf2f3f1a59a144b2936066b