← Back to team overview

phpdevshell team mailing list archive

[Bug 767248] Re: function tagList($name, $object, $target = null) broken

 

** Changed in: phpdevshell
       Status: New => Fix Committed

-- 
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.:
  Fix Committed

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);


References