Results 1 to 2 of 2

Thread: 'extend' property gets lost when duplicating

    This issue duplicates another issue.
  1. #1
    Sencha Premium User
    Join Date
    Sep 2016
    Location
    Germany
    Posts
    37

    Default 'extend' property gets lost when duplicating

    Dear Architect devs,

    when duplicating a component that extends from a custom component (not from a component of the toolbox),
    the newly created component has the wrong 'extend' value in the generated js-code - although it is correct in the Config panel!

    Instead of the custom component identifier it is the default value of the original component.
    Only after closing and opening Architect, the correct value appears in the js code.

    Example: instead of 'MyApp.view.customComponent' it is 'Ext.panel.Panel'.
    original.jpgduplicate.jpg

    Kind regards, clampart


    Sencha Architect

    Version: 4.2.1.224
    Channel: 4.2-stable
    Platform: 1.6.2.42 - darwin x64
    Renderer: 56.0.2924.87
    Cmd: 6.5.0.180
    Framework: Ext JS 6.5.x Classic

  2. #2
    Sencha User
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    795

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

    Instead of the SA restart you can also try File -> Save entire project. This should regenerate all files.

    Dup thread https://www.sencha.com/forum/showthread.php?335241

Similar Threads

  1. [OPEN] Duplicating view does not properly copy extend properties in generated sources
    By nclemeur in forum Sencha Architect 4.x: Bugs
    Replies: 3
    Last Post: 8 Feb 2017, 12:02 AM
  2. Lost anchor when I extend some classes
    By P'tit Philou in forum Ext: Discussion
    Replies: 0
    Last Post: 27 Mar 2011, 12:17 PM
  3. Lost in Ext.extend ... where am I ...?
    By Dill0r in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 5 Feb 2011, 2:27 PM
  4. Lost in Ext.extend ... where am I ...?
    By Dill0r in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 5 Feb 2011, 2:15 PM
  5. Replies: 3
    Last Post: 9 Jan 2009, 12:26 AM

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
  •