phpdevshell team mailing list archive
-
phpdevshell team
-
Mailing list archive
-
Message #00465
[Bug 767248] [NEW] function tagList($name, $object, $target = null) broken
Public bug reported:
Their seems to be a broken method in
function tagList($name, $object, $target = null)
If I pass only values $this->tagList(null, 'role', 13); the returned
value is always empty.
I do however expect the problem lies in the queryclass, where this is not correctly assembled:
if (!empty($object)) $this->addWhere("tagObject = '%s'");
if (!empty($name)) $this->addWhere("tagName = '%s'");
if (!empty($target)) $this->addWhere("tagTarget = '%s'");
return parent::extraBuild($parameters);
** Affects: phpdevshell
Importance: High
Assignee: Greg (gregfr)
Status: New
--
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.
https://bugs.launchpad.net/bugs/767248
Title:
function tagList($name, $object, $target = null) broken
Status in Open Source PHP RAD Framework with UI.:
New
Bug description:
Their seems to be a broken method in
function tagList($name, $object, $target = null)
If I pass only values $this->tagList(null, 'role', 13); the returned
value is always empty.
I do however expect the problem lies in the queryclass, where this is not correctly assembled:
if (!empty($object)) $this->addWhere("tagObject = '%s'");
if (!empty($name)) $this->addWhere("tagName = '%s'");
if (!empty($target)) $this->addWhere("tagTarget = '%s'");
return parent::extraBuild($parameters);
Follow ups
-
[Bug 767248] Re: function tagList($name, $object, $target = null) broken
From: TitanKing, 2012-01-27
-
[Bug 767248] Re: function tagList($name, $object, $target = null) broken
From: TitanKing, 2011-05-12
-
[Bug 767248] Re: function tagList($name, $object, $target = null) broken
From: Greg, 2011-05-05
-
[Bug 767248] Re: function tagList($name, $object, $target = null) broken
From: TitanKing, 2011-05-05
-
[Bug 767248] Re: function tagList($name, $object, $target = null) broken
From: Greg, 2011-04-20
-
[Bug 767248] Re: function tagList($name, $object, $target = null) broken
From: TitanKing, 2011-04-20
-
[Bug 767248] [NEW] function tagList($name, $object, $target = null) broken
From: TitanKing, 2011-04-20
References