Closed (won't fix)
Project:
Drupal vB
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Apr 2008 at 18:49 UTC
Updated:
28 Apr 2008 at 18:11 UTC
I just upgraded to the latest stable branch. In place of the the messages we used to get and that were fixed http://drupal.org/node/194204, I now see unknown when I log in to my Drupal site.
>
function drupalvb_msg($msg, $arg = 'unknown') {
switch ($msg) {
case DVBERROR:
drupal_set_message('Error: '. $arg);
break;
default:
drupal_set_message($arg);
}
return;
}
If you remove the default: value, the message "unknown" does not show. I've attached a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| unknown_hiding_drupalvb.patch | 412 bytes | stevenpatz |
Comments
Comment #1
sunThanks. Please consider testing 5.x-2.x.
Comment #2
stevenpatzI am not familiar with the 2.x code base. The code is really different but I did find this:
If that controls the output message then the default: value would need to be removed as well. I can create a patch for that, if that's correct. If it is not, then I don't think the original issue is in the development code.
Comment #3
stevenpatzComment #4
sunYes, drupalvb_msg() has been removed from 5.x-2.x. That's why I suggested to consider using/testing 2.x. The plan is to mark 5.x-1.x as unsupported when 5.x-2.0 has been released.
Comment #5
sun5.x-2.x is the recommended major version now.