[Devel] [ openser-Bugs-1686638 ] Group Module: Regular expressions
failing when use DBText
SourceForge.net
noreply at sourceforge.net
Wed Apr 4 15:39:56 CEST 2007
Bugs item #1686638, was opened at 2007-03-23 12:55
Message generated for change (Comment added) made by miconda
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1686638&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.2.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Daniel-Constantin Mierla (miconda)
Summary: Group Module: Regular expressions failing when use DBText
Initial Comment:
When you configure "group" module to use regular expression checking, you get the error "ERROR:group:load_re: empty or non-string value for <re>(re) column" at openser startup
After checking the module source code, the error seems to be related to the known bug "Missing DB_STRING attribute for dbtext" (http://sourceforge.net/tracker/index.php?func=detail&aid=1679023&group_id=139143&atid=743020)
This is a workaround to avoid it until the "dbtext" module bug was solved: edit "re_group.c" file in "group" source code and replace the line:
if (row->values[0].nul || row->values[0].type!=DB_STRING)
by the line:
if (row->values[0].nul)
----------------------------------------------------------------------
>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2007-04-04 16:39
Message:
Logged In: YES
user_id=1246013
Originator: NO
dbtext has been shifted to use of DB_STRING. It should solve this issue.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1686638&group_id=139143
More information about the Devel
mailing list