[Devel] [ openser-Bugs-1686638 ] Group Module: Regular expressions failing when use DBText

SourceForge.net noreply at sourceforge.net
Fri Mar 23 11:55:24 CET 2007


Bugs item #1686638, was opened at 2007-03-23 03:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
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)



----------------------------------------------------------------------

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