Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha Premium User
Architect 4.2.5 breaks interactions of type 'rotate' on piecharts!
Found this through upgrading an existing project through manipulating the xds file.
Can somebody confirm this for a newly generated Ext6.7 project with SA4.2.5?
-
Sencha - Forum Administrator
Thank you so much for your post. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated! We do suggest using the support portal when you need assistance with a capability of a Sencha product, you have identified a situation where a products behavior is inconsistent with the product documentation and might indicate a software bug, or when the communication between you and Sencha needs to be private.
Thanks again,
Michele
-
Sencha Premium User

Originally Posted by
clampart
Can somebody confirm this for a newly generated Ext6.7 project with SA4.2.5?
Yep, also newly created Ext6.7 projects have this bug. The generated code for rotate interactions is
Code:
//Architect 4.2.5
interactions: [{
xtype: 'interaction',
type: 'widget.interaction'
}]
//previous version
interactions: [{
type: 'rotate'
}]
Workaround:
Code:
Ext.ClassManager.addAlias('Ext.chart.interactions.Rotate', 'interaction.widget.interaction');
May this be the only bug of v 4.2.5.
-
Ext Support Team
Hello,
Thank you for contacting Sencha Support!
We have reached out an Architect for his review on this and will keep you posted as soon as we hear from them.
Thank you for your patience.
Regards,
Kumar
Sencha Support
-
Ext Support Team
Hello,
Thank you for your patience,
We are still awaiting response from the Architect team on this issue, I will ensure that your are updated as soon as there is a response from them.
Regards,
Kumar
Sencha Architect.
-
How to add
How do you add this workaround to an architect project?

Originally Posted by
clampart
Yep, also newly created Ext6.7 projects have this bug. The generated code for rotate interactions is
Code:
//Architect 4.2.5
interactions: [{
xtype: 'interaction',
type: 'widget.interaction'
}]
//previous version
interactions: [{
type: 'rotate'
}]
Workaround:
Code:
Ext.ClassManager.addAlias('Ext.chart.interactions.Rotate', 'interaction.widget.interaction');
May this be the only bug of v 4.2.5.
-
Breaks View
I added the code as a javascript resource and the application runs but the design view in architect is completely broken for pie charts, throws the interaction.widget.interaction error.
Any way to fix architect preview?

Originally Posted by
ErikJAX
How do you add this workaround to an architect project?