Test topic...

Nao

  • Dadman with a boy
  • Messages: 16 082
Test topic...
« le 29 Mars 2012 à 18:49 »Modifié le 9 Novembre 2013 à 00:44
(cliquez pour montrer/cacher)
Hmm.

Even though it is definitely set to 'quoted=optional' in the database..]]>Test..
Test topic.
« Réponse #1, le 29 Mars 2012 à 18:50 »Modifié le 9 Novembre 2013 à 00:05
Hey... It actually works?!

(cliquez pour montrer/cacher)
Hmm.

Okay, it's when you don't add quotes that it fails... Which makes sense, somehow...

:edit:
Re: Test topic.
« Réponse #2, le 31 Mars 2012 à 17:16 »
Citation de Nao le 29 Mars 2012 à 18:50
Hey... It actually works?!

lmlkmlmlkmlkmlkmlkmlkmlkmlkmlkmlkmlkmlkmlkmlmklkmlkmlkmlkm4545645645654645654564645546456456456546456lkm

Okay, it's when you don't add quotes that it fails... Which makes sense, somehow.
Test.

lmlkmlmlkmlkmlkmlkmlkmlkmlkmlkmlkmlkmlkmlkmlmklkmlkmlkmlkm4545645645654645654564645546456456456546456lkm

Posté : 31 Mars 2012 à 17:15

Seems to work for me...?
Re: Test topic.
« Réponse #4, le 6 Avril 2012 à 10:10 »
Okay, here's the deal... I can't get the url problem to reproduce here. Is this a special board that is entirely bug-free? :P

Try to edit my post, Pete!

Test. Test.
http://wedge.org
Re: Test topic.
« Réponse #5, le 6 Avril 2012 à 10:11 »
Hey... Interesting. Now I can reproduce.

Test. Test.
http://wedge.org

The problem doesn't happen when I quick edit an existing post to add a straight URL. If I save, then quick edit again, the link is url-tag free.

Editing this post again... It never happens! Surprising. So there's something happening generally, that doesn't happen when quick editing to add the link.

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278
Re: Test topic.
« Réponse #6, le 6 Avril 2012 à 13:06 »
Quick editing goes through a different code path to main posting, as I commented when this first occurred.

Need to compare the path of Post2.php to JSModify.php and see where the difference is, I'll look at that shortly.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

agent47

  • Now I see the changes you're talking about.
  • Messages: 115
Re: Test topic.
« Réponse #7, le 10 Avril 2012 à 06:56 »
Something that you should really know about me is that...........
(cliquez pour montrer/cacher)
me like big boobies :p

Nao

  • Dadman with a boy
  • Messages: 16 082
Re: Test topic.
« Réponse #8, le 10 Avril 2012 à 10:45 »
(cliquez pour montrer/cacher)

Bug!

The multi-word spoiler tag actually works on first post, but breaks on quick edit...!
Re: Test topic.
« Réponse #9, le 10 Avril 2012 à 10:46 »
(cliquez pour montrer/cacher)
As evidenced here...

BTW, full posting doesn't add the closer spoiler tag, while quick edit does.
Re: Test topic.
« Réponse #10, le 10 Avril 2012 à 11:11 »
Kay then...
First post is using entities (quot) in the database. Second post isn't.
That's the reason for the bug... YET another issue with preparsing, this time the other way around (i.e. quick edit adds the bug.)

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278
Re: Test topic.
« Réponse #11, le 10 Avril 2012 à 12:00 »
Yay for entirely separate code paths -_-

Nao

  • Dadman with a boy
  • Messages: 16 082
Re: Test topic.
« Réponse #12, le 10 Avril 2012 à 12:01 »
I, for one, would love to know why this is happening at all.
And another reason for me to advocate using double quotes in the DB, rather than quot entities... :whistle:

Arantor

  • As powerful as possible, as complex as necessary.
  • Messages: 14 278
Re: Test topic.
« Réponse #13, le 10 Avril 2012 à 12:08 »
Because quick edit does something totally separate to Post2.php, it never actually calls either Post file at all, it's all in JSModify.php - and preparsecode is called at a different time, and notably, the Aeva on-posting code is never called at all (which is why the other stuff re the url bbcode doesn't happen in quick editing)


Even more than ', it bothers me about having " tags, and I'm not sure you wouldn't have to alter how the bbc parser works then since some parameters can be quoted.

Nao

  • Dadman with a boy
  • Messages: 16 082
Re: Test topic.
« Réponse #14, le 10 Avril 2012 à 12:34 »
IIRC, Aeva's onposting wasn't called because of incompatibilities with the JS handling or something... But that's probably something that could be fixed.

Also, the question is to know whether or not this is a Wedge or SMF bug... (the quote stuff.)

SELECT * FROM wedge_messages WHERE body LIKE '%"%'

Showing rows 0 - 29 ( 3,987 total, Query took 0.0035 sec)

Yeah... Funny eh? Apparently double quotes have been happily living in our database forever without any worries...