This topic was marked solved by Arantor, on August 1st, 2013, 05:59 AM

Auk

  • Can I get a Box?
  • Posts: 64
Send a message, reply to a message
« on July 18th, 2013, 08:00 AM »
Wow. I can not do any of those. Now that I think of it, I remember going through my profile looking for a feature and checking to see if I have any unread message, and send a message, I do not know why I even wanted to.

I now notice what appears to be a bug. Attempting to send message or if I want to reply, I would get the "Wrong value type sent to the database. Array of integers expected. (users)" error. Looking at the url pictured, going to "http://wedge.org/do/pm/?sa=send" will also give me the same error. (Yup, something is wrong with "sa=send".
Posted: July 18th, 2013, 07:57 AM

Ah, now I remember why I browsed around and not noticed an problem until now. I was more concerned with how the URL appeared. Trying to see if this software follows the ?action=this, ?action=dothat, ?action=andThisAsWell. A lotta softwares uses ?action=something. Being OCD here, I believe in awesome short variable names. :^^;: Something that describes my software better (?task=attack ???)

📎 Screenshot from 2013-07-18 01:47:48.png - 175.05 kB, 1920x1176, viewed 133 times.


Nothing is more despicable than respect based on fear.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Send a message, reply to a message
« Reply #1, on July 18th, 2013, 08:02 AM »
Looks at first glance like a bug in the contact-list code sending an empty list to loadMemberData, or lMD not filtering an empty list and returning safely. Or both.

Also your assertion is vastly incorrect, almost no software uses ?action=something URLs.
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

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,670
A confident man keeps quiet.whereas a frightened man keeps talking, hiding his fear.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Send a message, reply to a message
« Reply #3, on July 18th, 2013, 09:06 AM »
Well, that's kind of what drove me to the thought above, I know it works when there's a buddy in the contact list, but I can envisage no buddies = a call to lMD with no items in it... hence the error in question (note that I did check the error log here so I know it is related to an empty list being sent to lMD and lMD not returning until after it's tried to do the query because it never actually tests that the requested list is non-empty)

live627

  • Should five per cent appear too small / Be thankful I don't take it all / 'Cause I'm the taxman, yeah I'm the taxman
  • Posts: 1,670

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278