<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7810</bug_id>
          
          <creation_ts>2015-05-27 11:00:12 +0000</creation_ts>
          <short_desc>The Toaster directory structure does not expand / collapse</short_desc>
          <delta_ts>2015-11-03 11:56:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Toaster</product>
          <component>toaster</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9 M3</target_milestone>
          <dependson>8558</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Belen Barros Pena">belen.barros.pena</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>bluelightning</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>cristina-danielax.agurida</cc>
    
    <cc>david.reyna</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>stanciux.mihail</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>51291</commentid>
    <comment_count>0</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-05-27 11:00:12 +0000</bug_when>
    <thetext>The directories listed in the Toaster directory structure page (/dirinfo) should expand / collapse to show their contents. They are no longer doing so.

Found on master:a05663bfa10352fd5af6ca9a9d7b323c1c099f35</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52865</commentid>
    <comment_count>1</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-08-06 13:46:50 +0000</bug_when>
    <thetext>*** Bug 8116 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53204</commentid>
    <comment_count>2</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2015-08-19 07:34:12 +0000</bug_when>
    <thetext>The problem was that the original AJAX call in &quot;dirinfo.html&quot; expects the response data to be a JSON-formatted string, and uses &quot;parseJSON()&quot; to convert that into a JS object for display computation.

However, in debugging the code I found that the JS debugger recognized the &quot;response&quot; to now _already_ be a proper JS object, and the observed failure in the defect is that &quot;parseJSON()&quot; tries to convert it and immediately hits a syntax error. 

The fix is to simply skip the &quot;parseJSON()&quot; step, and now it all works. But I do not know why the AJAX operation changed, unless it was updated to take the JSON format indicator and perform the conversion automatically now, which would explain why it works the way it does in this release.

In any case, I have kept a note in the the patch indicated how &quot;parseJSON()&quot; is no longer needed, in case someone in the future puzzles over this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53913</commentid>
    <comment_count>3</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2015-09-10 10:55:30 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d45ab491d04acc07fcef91bb2d40dbbc271d5b0f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55608</commentid>
    <comment_count>4</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-10-22 14:42:12 +0000</bug_when>
    <thetext>This  issue can&apos;t be verified because the bug with 8558 id blocks it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56132</commentid>
    <comment_count>5</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-11-03 11:56:53 +0000</bug_when>
    <thetext>Verified on master: e1aa897beb33171bc902207b98c8f666b9e97ad3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>