Если заданно дефолтное то оно перекрывает то которое заданно при создании

Bug #1626881 reported by sergey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jsdata
Fix Committed
Critical
sergey

Bug Description

Если заданно дефолтное то оно перекрывает то которое заданно при создании
new Model('Converter' , {
  id : {
    type : 'int',
    iskey : true,
    isfrooze : true
  },
  about : {
    type : 'bool',
    isfrooze : false
  }
});

var a = new Converter({id : 10 , about : true})

new Converter({id : 10})

console.log( a ) // Object { frooze_valus: Object, DOM: null, DOM_list: Object, id: 10, about: false }

sergey (vip-karamba)
description: updated
sergey (vip-karamba)
Changed in jsdata:
status: New → Fix Committed
importance: Undecided → Critical
sergey (vip-karamba)
Changed in jsdata:
assignee: nobody → sergey (vip-karamba)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.