Bug in RTFM-2.2.0RC6

I just found out that when searching for article content only the
content column is added to the search but not the largecontent column of
ObjectCustomFieldValues.
SELECT COUNT (DISTINCT main.ID)
FROM fm_articles main LEFT JOIN objectcustomfieldvalues
objectcustomfieldvalues_2
ON (objectcustomfieldvalues_2.disabled = ‘0’)
AND (objectcustomfieldvalues_2.objectid = main.ID)
JOIN fm_objecttopics fm_objecttopics_1 ON
(fm_objecttopics_1.objectid = main.ID)
WHERE (fm_objecttopics_1.objecttype = ‘RT::FM::Article’)
AND (LOWER (main.CLASS) = ‘1’)
AND (fm_objecttopics_1.topic = ‘194’)
AND ( objectcustomfieldvalues_2.content LIKE '192.168.'
OR LOWER (main.NAME) LIKE '192.168.'
OR LOWER (main.summary) LIKE ‘192.168.’
)

Does anyone know where to start looking for adding this?
I thought I had added this sometime ago but I can’t find it back.

Joop

I just found out that when searching for article content only the
content column is added to the search but not the largecontent
column of ObjectCustomFieldValues.

I applied a patch that I think fixes this to svn.
It should be revision 8017 in bps-public

-kevin

Kevin wrote:

I just found out that when searching for article content only the
content column is added to the search but not the largecontent column
of ObjectCustomFieldValues.

I applied a patch that I think fixes this to svn.
It should be revision 8017 in bps-public
Thanks, I downloaded the latest revision from svn and the issue went away.

Now I’m left with one more thing, namely that I have created a rather
big article using a WikiText customfield and it doesn’t show the whole
article. The last lines have started to disappear. Adding an extra line
doesn’t remove one so it doesn’t look like a overflow. The whole article
is correctly saved!

OK, found the culprit and I think this qualifies as a bug.
Create an article:
Name: Test
Summary: Test
ArticleBody: * patch -p0 --dry-run --verbose <SearchBuilder-1.49.diff
(verwijder --dry-run indien geen fouten)
(=WikiText customfield)
Save.
Display and notice that there is no text after ‘–verbose’.
Looks like ‘<’ is a problem. Replaced it by ‘>’ and no problem, ending
with an ‘>’ so that it look like a tag doesn’t help, still no text after
’–verbose’.

Joop

Kevin wrote:

I just found out that when searching for article content only the
content column is added to the search but not the largecontent
column of ObjectCustomFieldValues.
I applied a patch that I think fixes this to svn.
It should be revision 8017 in bps-public
Thanks, I downloaded the latest revision from svn and the issue
went away.

good

Now I’m left with one more thing, namely that I have created a
rather big article using a WikiText customfield and it doesn’t show
the whole article. The last lines have started to disappear. Adding
an extra line doesn’t remove one so it doesn’t look like a
overflow. The whole article is correctly saved!

The WikiFormat Custom Field code is a thin wrapper around

Can you see if you can reproduce the misparsing against it so we
know where the bug lies?

Thanks

-kevin