<?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>2984</bug_id>
          
          <creation_ts>2012-08-21 18:36:43 +0000</creation_ts>
          <short_desc>Image details reports that &quot;Your image is ready&quot; even if changes to the included packages have been made</short_desc>
          <delta_ts>2012-09-11 08:17:31 +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>Hob</product>
          <component>hob</component>
          <version>1.3</version>
          <rep_platform>All</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>major</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristian Iorga">cristian.iorga</reporter>
          <assigned_to name="Cristiana Voicu">cristiana.voicu</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>andreea.b.proca</cc>
    
    <cc>belen.barros.pena</cc>
    
    <cc>cristian.iorga</cc>
    
    <cc>cristiana.voicu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>valentin.popa</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24302</commentid>
    <comment_count>0</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2012-08-21 18:36:43 +0000</bug_when>
    <thetext>After an image is built via Hob, the &quot;Image details&quot; screen is brought up.
At this point, user decided to edit some packages (for example, adding some) via the &quot;Edit packages&quot; button.

When the user is returned to &quot;Image details&quot; page, &quot;Your image is ready&quot; status is still reported, which is wrong.

Correct status should be reported and buttons should be updated accordingly.
For example, the &quot;Run Image&quot; button should be replaced by &quot;Build Image&quot; or &quot;Rebuild image&quot; (&quot;Update image&quot;) button.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24607</commentid>
    <comment_count>1</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2012-08-29 14:01:45 +0000</bug_when>
    <thetext>After investigating this issue, I have found that after returning to &quot;Image details&quot; page, &quot;Your image is ready&quot; status should appear. In fact, &quot;back&quot; button should have another action( like a &quot;cancel&quot; button). 

After pressing the &quot;back&quot; button, all the changes you made in &quot;packages selected&quot; page should be the reseted, to reflect the image you already build.

I will continue fixing the button.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24693</commentid>
    <comment_count>2</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2012-08-31 09:21:17 +0000</bug_when>
    <thetext>Hi Cristiana,

You are right: that is the correct behaviour. I think some confusion comes from the fact that we have currently a &apos;back&apos; button, instead of a &apos;cancel&apos; button as the design specified (see bug 3012).

When my image build completes, I arrive to the image details screen. If I:

1. select the &apos;edit packages&apos; option, 
2. make some changes to the packages 
3. click the &apos;cancel&apos; (currently &apos;stop&apos;) button, 

All my package changes should be ignored and I should return to exactly the same image details screen (only without the &apos;Image ready&apos; notification).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24694</commentid>
    <comment_count>3</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2012-08-31 09:50:36 +0000</bug_when>
    <thetext>I have already sent a patch to change the action for &quot;back&quot; button, but I didn&apos;t think I should also remove &apos;Image ready&apos; notification. 
I will send another patch for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24695</commentid>
    <comment_count>4</comment_count>
    <who name="Belen Barros Pena">belen.barros.pena</who>
    <bug_when>2012-08-31 10:05:49 +0000</bug_when>
    <thetext>Sorry, Cristiana: my bad. I should have been more clear about the notification.

I think we should remove it if we can. The notification tells you that everything went fine with the image building, so it only makes sense to have it when you land on the image details screen as a result of building something. If I then go away and come back, I already know the build finished successfully, so I should no longer need the notification. 

I hope that&apos;s ok.

Thanks!

Belen</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24699</commentid>
    <comment_count>5</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2012-08-31 11:39:44 +0000</bug_when>
    <thetext>Yes you are right. I will change this soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24921</commentid>
    <comment_count>6</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2012-09-07 11:51:02 +0000</bug_when>
    <thetext>patches merged to master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25024</commentid>
    <comment_count>7</comment_count>
    <who name="Andreea Brandusa Proca">andreea.b.proca</who>
    <bug_when>2012-09-11 08:17:31 +0000</bug_when>
    <thetext>Verified in commit: 7250638ec895bc89508711831083d43b9e1e9826.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>