Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Query regarding an error in developer console

    Hello Sir

    I am using Smartclient V10.0 for my project. I am getting a warning in developer console(as below) while loading a window. But, it redirects successfully. I will appreciate if you can throw some light on it. I have the stack trace below for reference.

    11:06:06.083:WARN:Log:TypeError: Object doesn't support property or method 'duplicate'
    Stack from error.stack:
    Canvas.addFieldValidators ()
    Canvas.bindToDataSource ()
    DynamicForm.setItems ()
    DynamicForm.initWidget ()
    Canvas.init ()
    Class.completeCreation ()
    Class.create ()
    Global code () @ todo:39:1



    #2
    This looks like you probably have a set of validators declared on one of your FormItems that you are passing as dynamicForm.fields/items where you have declared "validators" and it's not an Array. It should always be an Array.

    Comment


      #3
      Thank you Sir! It worked.

      Comment

      Working...
      X