Bug 6005

Summary: Wrong script_type when task is executed.
Product: [Build System, Metadata & Runtime] Toaster Reporter: Andreea Brandusa Proca <andreea.b.proca>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED WORKSFORME QA Contact: Ionut Chisanovici <ionutx.chisanovici>
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bogdanx.a.voiculescu, cristiana.voicu, ionutx.chisanovici, jessica.zhang
Version: unspecified   
Target Milestone: 1.6 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
toaster_ui.log
none
database none

Description Andreea Brandusa Proca 2014-03-19 11:22:10 UTC
Created attachment 1834 [details]
toaster_ui.log

Failed: check if task_executed = TRUE script_type must be 2 (CODING_PYTHON) or 3 (CODING_SHELL) 

But I found this:
{
    "pk": 2211,.
    "model": "orm.task",.
    "fields": {
        "task_executed": true,.
        "script_type": 0
    }

I have built core-image-minimal in master:463cd34f8c17c67c4f3adf3468424730b22f3974
Comment 1 Andreea Brandusa Proca 2014-03-19 13:12:18 UTC
Created attachment 1835 [details]
database
Comment 2 Alexandru Damian 2014-04-03 12:13:45 UTC
I cannot reproduce this bug with master a5775abb1951ec6cdc7afacd1ae87189e398cff8

I think the root cause has been fixed in a patch for a similar problem.
Comment 3 Ionut Chisanovici 2014-04-15 12:57:53 UTC
Verified.

IonutC