Section concernée : ZForm
URL : Par exemple :
http://www.siteduzero.com/forum-82-146.html
Comment reproduire le bug : Mettre une url dans une balise code ou dans une balise secret.
Erreur se produisant : Le zcode annonce une erreur :
Citation : BugPour mettre en œuvre tout ce que nous avons vu au cours des précédents chapitres, vous pouvez essayer de faire quelque chose dans le genre :
Secret (cliquez pour afficher)La solution ce trouve ici : <lien url="http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-tutorial6.html">http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-tutorial6.html</lien>
ça à pas l'air aussi simple mais ça me l'a fait deux fois ...
Le message d'erreur :
Il y a des erreurs dans le zCode :
* La balise <lien> n'est pas bien formée à la ligne 7 :
<citation nom="Bug">Pour mettre en %u0153uvre tout ce que nous avons vu au cours des précédents chapitres, vous pouvez essayer de faire quelque chose dans le genre :<position valeur="centre"><image legende="Un petit exercice">uploads/fr/files/92001_93000/92130.png</image></position><secret cache="0">La solution ce trouve ici : <lien url="http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-tutorial6.html">http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-tutorial6.html</lien></secret></citation>
* La balise </lien> existe mais n'est pas ouverte à la ligne 7 :
Citation : BugPour mettre en %u0153uvre tout ce que nous avons vu au cours des précédents chapitres, vous pouvez essayer de faire quelque chose dans le genre :
Secret (cliquez pour afficher)La solution ce trouve ici : <lien url="http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-tutorial6.html">http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-tutorial6.html</lien>
Pour voir le bug il suffit d'enlever la balise <lien> autour de l'url dans le contenu du secret.
D'après mes informateurs ce serait tout simplement l'url qui fait tout planter :
<lien url="http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-tutorial6.html">http://doc.trolltech.com/qtjambi-4.3.2_01/com/trolltech/qt/qtjambi-tutorial6.html</lien>
Édité
le 29/04/2008 à 00:20:23
par
Natim