[drupal-devel] Re: [bug] Search results appear as many times as there are comments

Dries Buytaert dries.buytaert at gmail.com
Tue Aug 23 04:45:11 UTC 2005


node_get_module_name() also breaks project module ... don't have a  
fix yet.

On 23 Aug 2005, at 00:58, chx wrote:

> Issue status update for http://drupal.org/node/29241
> Post a follow up: http://drupal.org/project/comments/add/29241
>
> Project:      Project
> Version:      cvs
> Component:    Issues
> Category:     bug reports
> Priority:     normal
> Assigned to:  Anonymous
> Reported by:  willmoy
> Updated by:   chx
> Status:       active
>
> I suspect this has to do something with the fixed (aka. changed)
> node_get_module_name. As project is breaking the API with its node
> names (node names are prefixed with modulename and a dash per
> drupaldocs.org), said function returned the whole node type not just
> 'project'. Now it returns 'project' all the time -- the old function
> relied on the dash, my rewrite of said function does not rely on  
> such a
> convention. Maybe this will help someone who will work on fixing this.
>
>
>
>
> chx
>
>
>
> Previous comments:
> ---------------------------------------------------------------------- 
> --
>
> Sat, 20 Aug 2005 06:26:17 +0000 : willmoy
>
> I just ran this search on drupal.org:
> http://drupal.org/project/issues/drupal? 
> page=1&projects=3060&text=forum&versions=6487&components=forum.module& 
> categories=bug,task,feature&states=1,8,13,14,2&form_zero=Array
>
>
> Roughly: searching for issues of any kind in forum.module with the  
> word
> 'forum' in them, active->fixed.
>
>
> The search results appeared as many times as there were comments on  
> the
> node in question. This is odd.
>
>
>
>
>


--
Dries Buytaert  ::  http://www.buytaert.net/




More information about the drupal-devel mailing list