Add Field Button

This seems to be doing some sort of an Ajax-y thing that I’ve not investigated all that well. What happens is that you can add one field, but in order to add a second one, you have to reload the page in both Firefox and Chrome.

Love your avatar!

Are you talking about in Studio, such as adding multiple fields to a list/editview?

I have a problem with the add button in Modul Builder as well.
However on my system I can’t add any field. The label is added but there is no “*xyz” row in the field list.
Unfortunately there is no error.
Here the extract of the log file in debug mode:

Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] current_language is: en_us
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Found cache backend SugarCachesMash
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Found cache backend SugarCacheZend
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Found cache backend SugarCacheFile
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Found cache backend SugarCacheRedis
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Found cache backend SugarCacheMemory
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Using cache backend SugarCacheMemory, since 999 is less than 1000
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Found cache backend SugarCacheMemcache
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Found cache backend SugarCacheAPC
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Found cache backend SugarCacheMemcached
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Found cache backend SugarCacheWincache
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Found language file: en_us.lang.php
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Found extended language file: en_us.lang.ext.php
Wed Apr 30 14:16:04 2014 [14810][-none-][FATAL] Configuration variable date.timezone is not set, guessed timezone Europe/Berlin. Please set date.timezone="Europe/Berlin" in php.ini!
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT id, name, symbol, conversion_rate FROM currencies WHERE status = 'Active' and deleted = 0
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.000130176544189
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] rebuilding cache for Users
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT * FROM fields_meta_data WHERE  custom_module='Users' AND  deleted = 0
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.000118017196655
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] rebuilding cache for Employees
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT * FROM fields_meta_data WHERE  custom_module='Employees' AND  deleted = 0
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.000133991241455
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] rebuilding cache for EmailAddresses
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT * FROM fields_meta_data WHERE  custom_module='EmailAddresses' AND  deleted = 0
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.000149011611938
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] rebuilding cache for UserPreferences
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT * FROM fields_meta_data WHERE  custom_module='UserPreferences' AND  deleted = 0
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.000125169754028
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] rebuilding cache for Administration
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT * FROM fields_meta_data WHERE  custom_module='Administration' AND  deleted = 0
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.0001220703125
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT category, name, value FROM config
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.000115156173706
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT id FROM outbound_email WHERE type = 'system'
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.000108957290649
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT * FROM outbound_email WHERE id = 'c8d70bc2-b044-cf7a-e6a6-5360e5a30d0c'
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.000120878219604
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Hook called: ::after_entry_point
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Including module specific hook file for custom/modules
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Including Ext hook file for custom/application
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Hook called: ::after_session_start
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] We have an authenticated user id: 1
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Hook called: Users::before_retrieve
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Including module specific hook file for custom/modules/Users
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Retrieve User : SELECT users.* FROM users  WHERE users.id = '1' AND users.deleted=0
Wed Apr 30 14:16:04 2014 [14810][-none-][DEBUG] Limit Query:SELECT users.* FROM users  WHERE users.id = '1' AND users.deleted=0 Start: 0 count: 1
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query:SELECT users.* FROM users  WHERE users.id = '1' AND users.deleted=0 LIMIT 0,1
Wed Apr 30 14:16:04 2014 [14810][-none-][INFO] Query Execution Time:0.000157117843628
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] get_user_array query: SELECT id, first_name, last_name, user_name from users WHERE 1=1 ORDER BY first_name, last_name ASC
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT id, first_name, last_name, user_name from users WHERE 1=1 ORDER BY first_name, last_name ASC
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.000121831893921
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT u1.first_name, u1.last_name from users  u1, users  u2 where u1.id = u2.reports_to_id AND u2.id = '1' and u1.deleted=0
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.00010085105896
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] SugarBean[User].load_relationships, Loading relationship (reports_to_link).
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT ea.email_address, ea.email_address_caps, ea.invalid_email, ea.opt_out, ea.date_created, ea.date_modified,
                ear.id, ear.email_address_id, ear.bean_id, ear.bean_module, ear.primary_address, ear.reply_to_address, ear.deleted
                FROM email_addresses ea LEFT JOIN email_addr_bean_rel ear ON ea.id = ear.email_address_id
                WHERE ear.bean_module = 'Users'
                AND ear.bean_id = '1'
                AND ear.deleted = 0
                ORDER BY ear.reply_to_address, ear.primary_address DESC
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.000152111053467
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Hook called: Users::after_retrieve
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Current user is: admin
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Current user is: admin
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] setting cookie ck_login_id_20 to 1
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] setting cookie ck_login_theme_20 to Suite7
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] setting cookie ck_login_language_20 to en_us
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] current_language is: en_us
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Found language file: en_us.lang.php
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Found extended language file: en_us.lang.ext.php
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT count(*) as the_count FROM config WHERE category='info' AND name='sugar_version' AND value = '6.5.16'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.000102996826172
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT category, name, value FROM config WHERE category = 'license'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:9.79900360107E-5
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT id FROM outbound_email WHERE type = 'system'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:9.3936920166E-5
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT * FROM outbound_email WHERE id = 'c8d70bc2-b044-cf7a-e6a6-5360e5a30d0c'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.00011682510376
Wed Apr 30 14:16:04 2014 [14810][1][INFO] ModuleBuilderController:
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Performing action: action_savefield MODULE: ModuleBuilder
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] populate: TemplateText Object
(
    [type] => varchar
    [supports_unified_search] => 1
    [view] => edit
    [name] => test4
    [vname] => LBL_TEST4
    [label] => LBL_TEST4
    [id] => 
    [size] => 20
    [len] => 255
    [required] => 
    [default] => 
    [default_value] => 
    [comment] => 
    [bean] => 
    [ext1] => 
    [ext2] => 
    [ext3] => 
    [ext4] => 
    [audited] => 0
    [massupdate] => 0
    [importable] => true
    [duplicate_merge] => 0
    [new_field_definition] => 
    [reportable] => 1
    [label_value] => test4
    [help] => 
    [formula] => 
    [unified_search] => 0
    [vardef_map] => Array
        (
            [name] => name
            [label] => vname
            [default_value] => default
            [default] => default_value
            [display_default] => default_value
            [len] => len
            [required] => required
            [type] => type
            [audited] => audited
            [massupdate] => massupdate
            [options] => ext1
            [help] => help
            [comments] => comment
            [importable] => importable
            [duplicate_merge] => duplicate_merge
            [duplicate_merge_dom_value] => duplicate_merge_dom_value
            [merge_filter] => merge_filter
            [reportable] => reportable
            [ext2] => ext2
            [ext4] => ext4
            [ext3] => ext3
            [labelValue] => label_value
            [unified_search] => unified_search
            [full_text_search] => full_text_search
        )

    [decode_from_request_fields_map] => Array
        (
            [0] => formula
            [1] => dependency
        )

    [comments] => 
    [labelValue] => test4
)

Wed Apr 30 14:16:04 2014 [14810][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/RealProperties/modules/RPMandat/relationships.php
Wed Apr 30 14:16:04 2014 [14810][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/RealProperties/modules/RPMandat/relationships.php
Wed Apr 30 14:16:04 2014 [14810][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/RealProperties/modules/RPMandat/relationships.php
Wed Apr 30 14:16:04 2014 [14810][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/RealProperties/modules/RPMandat/relationships.php
Wed Apr 30 14:16:04 2014 [14810][1][INFO] UndeployedRelationships: saving relationships to custom/modulebuilder/packages/RealProperties/modules/RPMandat/relationships.php
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT category, name, value FROM config WHERE category = 'tracker'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.000131130218506
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT id FROM outbound_email WHERE type = 'system'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.000101089477539
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT * FROM outbound_email WHERE id = 'c8d70bc2-b044-cf7a-e6a6-5360e5a30d0c'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.000118017196655
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT category, name, value FROM config WHERE category = 'MySettings'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.000103950500488
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT id FROM outbound_email WHERE type = 'system'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:8.79764556885E-5
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query:SELECT * FROM outbound_email WHERE id = 'c8d70bc2-b044-cf7a-e6a6-5360e5a30d0c'
Wed Apr 30 14:16:04 2014 [14810][1][INFO] Query Execution Time:0.000102043151855
Wed Apr 30 14:16:04 2014 [14810][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/RealProperties/modules/RPMandat/relationships.php
Wed Apr 30 14:16:04 2014 [14810][1][INFO] UndeployedRelationships: loading relationships from custom/modulebuilder/packages/RealProperties/modules/RPMandat/relationships.php
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Hook called: ModuleBuilder::after_ui_frame
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Creating new instance of hook class hooks without parameters
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Creating new instance of hook class AssignGroups without parameters
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Creating new instance of hook class VersionCheck without parameters
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Hook called: ::after_ui_footer
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Creating new instance of hook class AssignGroups without parameters
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Hook called: ::server_round_trip
Wed Apr 30 14:16:04 2014 [14810][1][DEBUG] Calling MySQLi::disconnect()

I use 7.1.1. The same procedure in SugarCRM 6.5 is working fine. An import from the project zip file into SuiteCRM 7.1.1 is working too.

Thanks for your help.

Sorry. I found out that in SugarCRM 6.5 it worked just once :frowning:

Precisely! I can add one but then it hangs up. Until I reload the page completely, I can’t click “Save” again. It will turn red, but does nothing.