I have a Ext.ux.ManagedIframe.Component class which extends Ext.Component.I am trying to build this with Sencha CMD 5.1.0.26. I have added this ManagedIframe class in app.json. But, seems like method name conflicts happening for getContentTarget() method. As, I don't want to changes the name of method in ManagedIframe.js file as It's used at several places.
Here is the log, while running sencha app build from project root folder.
== Unhandled Error ==
Ext.ux.ManagedIframe.Component: Public method "getContentTarget" conflicts with private framework method declared by Ext.Component
file:///C:/Softwares/tomcat/webapps/ROOT/Teamworks/Teamworks/ManagedIframe.js:342
file:///C:/Softwares/tomcat/webapps/ROOT/Teamworks/Teamworks/ManagedIframe.js:1547
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExProcess: phantomjs process exited with code 2
Here is the log, while running sencha app build from project root folder.
== Unhandled Error ==
Ext.ux.ManagedIframe.Component: Public method "getContentTarget" conflicts with private framework method declared by Ext.Component
file:///C:/Softwares/tomcat/webapps/ROOT/Teamworks/Teamworks/ManagedIframe.js:342
file:///C:/Softwares/tomcat/webapps/ROOT/Teamworks/Teamworks/ManagedIframe.js:1547
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExProcess: phantomjs process exited with code 2
Extjs custom component which extend Ext.Component conflicts method name in both.
Aucun commentaire:
Enregistrer un commentaire