<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=DB_NestedSet</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/18448" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/18448">
      <title>DB_NestedSet: Bug 18448 [Open] fail to submit ID with createSubNode()</title>
      <link>http://pear.php.net/bugs/18448</link>
      <content:encoded><![CDATA[<pre>DB_NestedSet Bug
Reported by luti
2011-04-15T13:19:05+00:00
PHP: 5.3.5 OS: Windows Server 2003 Package Version: 1.4.1

Description:
------------
When inserting a subnode using createSubNode(), I'd like to explicitly state the ID of the node to be created using this-&gt;$params. However, the id provided is not considered in the INSERT statement. Instead auto_increment is used as ID.
There must be sth. wrong between line 1137 and 1160 in the NestedSet.php file.

Test script:
---------------
$params = array(
    'my_id' =&gt; 'id',
    #...
    'my_name' =&gt; 'name'
);
#...
echo 'NODE-ID: '.$nestedSet-&gt;createSubNode($node, array('my_name' =&gt; 'sth', 'my_id' =&gt; 9999 ));

Expected result:
----------------
NODE-ID: 9999

Actual result:
--------------
NODE-ID: 16 #i.e. the auto-incremented ID</pre>]]></content:encoded>
      <description><![CDATA[<pre>DB_NestedSet Bug
Reported by luti
2011-04-15T13:19:05+00:00
PHP: 5.3.5 OS: Windows Server 2003 Package Version: 1.4.1

Description:
------------
When inserting a subnode using createSubNode(), I'd like to explicitly state the ID of the node to be created using this-&gt;$params. However, the id provided is not considered in the INSERT statement. Instead auto_increment is used as ID.
There must be sth. wrong between line 1137 and 1160 in the NestedSet.php file.

Test script:
---------------
$params = array(
    'my_id' =&gt; 'id',
    #...
    'my_name' =&gt; 'name'
);
#...
echo 'NODE-ID: '.$nestedSet-&gt;createSubNode($node, array('my_name' =&gt; 'sth', 'my_id' =&gt; 9999 ));

Expected result:
----------------
NODE-ID: 9999

Actual result:
--------------
NODE-ID: 16 #i.e. the auto-incremented ID</pre>]]></description>
      <dc:date>2011-04-15T13:19:05+00:00</dc:date>
      <dc:creator>admin2010 &amp;#x61;&amp;#116; luebker &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>DB_NestedSet Bug</dc:subject>
    </item>
</rdf:RDF>
