REQUIRED INFORMATIONArchitect Build tested:
  • 3.5.1.348
Project Type:
  • ExtJS 6.x
Description:
  • When using a component added via a package to Architect, Adding a base class to override using the createAlias. If the package component changes the default values of the parent class these are not added to the config as Architect thinks they are the default values.
Steps to reproduce the problem:
  • Add example package currencyField (github, see release to download pkg) to a new Architect project
  • Example component extends Ext.form.field.Number so add a couple of Ext.form.field.Number into a window or panel and update createAlias with currencyfield
  • Change the labelWidth and/or Width to the parent's default value 100
  • The value will not be added to the config
The result that was expected:
  • Values to be added to the config object for that component.
The result that occurs instead:
  • Value is removed as Architect thinks it is the default value for the component being overridden using create alias
HELPFUL INFORMATION
Screenshot, Project, or Video:
Possible fix:
  • If createAlias is set the do not remove config value.
Temporary Work around:
  • Change value to 1px difference from known default values.
Sill this less annoying the having to reset every value after a restart

Operating System:
  • OSX 10.11
I spun out this component as a fix for DSGNR-7005 but then tripped over this bug.