Results 1 to 4 of 4

Thread: calculate in model add depends even the code is commented

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-18892 in 6.5.0.
  1. #1
    Sencha Premium User
    Join Date
    Feb 2017
    Posts
    4

    Default calculate in model add depends even the code is commented

    https://fiddle.sencha.com/#view/editor&fiddle/1s60

    1. Add non-exists field in comment (e.g. data.text3) in calculate function of the model
    2. When a model is created, an error is raised.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. We're tracking this one as EXTJS-18892. Still unresolved at this time.

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Looks like a fix was merged yesterday. This will be corrected in 6.5.0.

  4. #4
    Sencha User
    Join Date
    Dec 2008
    Location
    Sofia
    Posts
    267

    Default

    Quote Originally Posted by Gary Schlosberg View Post
    Looks like a fix was merged yesterday. This will be corrected in 6.5.0.
    Just faced the same problem, but it seems you do not have plans to address this in the versions prior to 6.5.0 (or to release 6.5.0 under GPL for download).
    What to do with that Garry?
    It is pretty shocking to see the framework does not respect the code comments...

Similar Threads

  1. Ext.data.Model issue using a field with depends property
    By bmacdon1 in forum Ext JS 6.x Bugs
    Replies: 1
    Last Post: 16 Mar 2016, 5:58 AM
  2. Replies: 2
    Last Post: 17 Jul 2015, 4:43 PM
  3. Replies: 1
    Last Post: 15 Jan 2014, 11:02 PM
  4. Replies: 5
    Last Post: 15 Oct 2012, 2:11 PM
  5. show and calculate fields from three associated model like sql statement
    By fc338339 in forum Sencha Architect 2.x: Help & Discussions
    Replies: 0
    Last Post: 19 Mar 2012, 2:34 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •