Model is dirty after a fetch

Description

After creating & fetching a model from a remote source, the model's dirty property gets set to true. For example something like this:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 enyo.kind({ name: "TestModel", kind: "enyo.Model", url: "path to data", observers: { watchName: ["name"] }, watchName: function(previous, current, property) { console.log("dirty = " + this.dirty) } }); var myModel = new TestModel(); myModel.fetch();

results in a dirty model after the fetch.

It doesn't seem like appropriate default behavior i.e. after a fetch the default of the dirty flag is to indicate that the data just fetched should be re-committed to the source.

Environment

all

Status

Assignee

Cole Davis (Enyo Team)

Reporter

Steven Feaster

Labels

None

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Affects versions

2.4.0

Priority

None