Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Problem with Save button on Accounts and Contacts

Posted on by Microsoft Employee

Hello everyone,

Since the update to Microsoft Dynamics 365 Version 1710 (9.0.2.2646) online, in my account I have a problem when modifying the address fields in the composite address field - after that the Save buttons in the Account and Contacts entities aren't making a Save. While in Leads entity, there is not such problem.

Is there anyone with similar issue?

In the debugger there is this error:

"address1_line1 is null

global.ashx?ver=-2124588753:6855 CrashReport:
FileName:/form/page.aspx
LineNumber:0
Function:XrmCore.Commands.Save.saveForm
ErrorReport:<CrmScriptErrorReport>
<ReportVersion>1.0</ReportVersion>
<OriginContext>XMLHandler</OriginContext>
<OriginCorrelationId>{50883eb8-3b90-c358-277a-23a0807483db}</OriginCorrelationId>
<ScriptErrorDetails>
<Message>Cannot read property &#39;GetId&#39; of undefined</Message>
<ExceptionNumber>0</ExceptionNumber>
<Line>0</Line>
<URL>&#47;form&#47;page.aspx&#63;lcid&#61;1033&#38;themeId&#61;f499443d-2082-4938-8842-e7ee62de9a23&#38;tstamp&#61;1177931&#38;updateTimeStamp&#61;636743988747533235&#38;userts&#61;131840774038307129&#38;ver&#61;-2124588753&#35;etc&#61;1&#38;extraqs&#61;&#37;3fetc&#37;3d1&#38;pagemode&#61;iframe&#38;pagetype&#61;entityrecord&#38;counter&#61;1539617173969</URL>
<PageURL>&#47;form&#47;page.aspx&#63;lcid&#61;1033&#38;themeId&#61;f499443d-2082-4938-8842-e7ee62de9a23&#38;tstamp&#61;1177931&#38;updateTimeStamp&#61;636743988747533235&#38;userts&#61;131840774038307129&#38;ver&#61;-2124588753&#35;etc&#61;1&#38;extraqs&#61;&#37;3fetc&#37;3d1&#38;pagemode&#61;iframe&#38;pagetype&#61;entityrecord&#38;counter&#61;1539617173969</PageURL>
<Function>XrmCore.Commands.Save.saveForm</Function>
<FunctionRaw></FunctionRaw>
<SourceScriptName>&#36;webresource&#58;Main_system_library.js</SourceScriptName>
<CallStack>
TypeError&#58; Cannot read property &#39;GetId&#39; of undefined&#10; at Object.AddressChanged &#40;https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;&#37;7B636751731440002646&#37;7D&#47;WebResources&#47;msdyn_&#47;GeoCodeUtils&#47;GeoCodeForm.js&#63;ver&#61;-2124588753&#58;1&#58;8924&#41;&#10; at t.OnSave &#40;https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;&#37;7B636751731440002646&#37;7D&#47;WebResources&#47;msdyn_&#47;Account&#47;Account.Library.js&#63;ver&#61;-2124588753&#58;1&#58;56138&#41;&#10; at https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;_common&#47;global.ashx&#63;ver&#61;-2124588753&#58;6855&#58;194669&#10; at Mscrm.TurboForm.Control.Data.DataEntity.&#36;Ew_1 &#40;https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;_static&#47;form&#47;formcontrols.js&#63;ver&#61;-2124588753&#58;19007&#58;13&#41;&#10; at Mscrm.TurboForm.Control.Data.DataEntity.&#36;Oc_1 &#40;https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;_static&#47;form&#47;formcontrols.js&#63;ver&#61;-2124588753&#58;18807&#58;25&#41;&#10; at Mscrm.TurboForm.Control.Data.DataEntity.saveInternal &#40;https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;_static&#47;form&#47;formcontrols.js&#63;ver&#61;-2124588753&#58;18648&#58;25&#41;&#10; at Mscrm.TurboForm.Control.Data.DataEntity.save &#40;https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;_static&#47;form&#47;formcontrols.js&#63;ver&#61;-2124588753&#58;18620&#58;18&#41;&#10; at Mscrm.FormControls.ClientApi.XrmTurboFormEntity.save &#40;https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;_static&#47;form&#47;formcontrols.js&#63;ver&#61;-2124588753&#58;12726&#58;20&#41;&#10; at Function.Mscrm.CommandBarActions.saveForm &#40;https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;_static&#47;_common&#47;scripts&#47;commandbaractions.js&#63;ver&#61;-2124588753&#58;1&#58;222434&#41;&#10; at Function.Mscrm.RibbonActions.saveForm &#40;https&#58;&#47;&#47;11102028.crm.dynamics.com&#47;_static&#47;_common&#47;scripts&#47;ribbonactions.js&#63;ver&#61;-2124588753&#58;1&#58;106205&#41; </CallStack>
</ScriptErrorDetails>
<ClientInformation>
<BrowserUserAgent>Mozilla&#47;5.0 &#40;Windows NT 10.0&#59; Win64&#59; x64&#41; AppleWebKit&#47;537.36 &#40;KHTML, like Gecko&#41; Chrome&#47;69.0.3497.100 Safari&#47;537.36</BrowserUserAgent>
<BrowserLanguage>undefined</BrowserLanguage>
<SystemLanguage>undefined</SystemLanguage>
<UserLanguage>undefined</UserLanguage>
<ScreenResolution>1920x1080</ScreenResolution>
<ClientName>Web</ClientName>
<ClienState>Online</ClienState>
<ClientTime>2018-10-15T18&#58;26&#58;38</ClientTime>
</ClientInformation>
</CrmScriptErrorReport>" 

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Problem with Save button on Accounts and Contacts

    Hello everyone,

    Just for your information the following workaround solves the issue:

    New account ->Form->Form properties

    and remove the following system scripts:

    GeoCodeForm.js and

    GeoCodeUtils.js

    Click on Save & Publish.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Problem with Save button on Accounts and Contacts

    Thanks. If you have got answers to yur questions, please mark the suggestion as helpful and close the thread.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Problem with Save button on Accounts and Contacts

    Thank you very much again.

    I'll try to create a Trial account with Australia as a country...

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Problem with Save button on Accounts and Contacts

    You can't force an update. It has to be applied automatically. However in Asia pacfic & Oceania region, the trials started on 9.1 so you can create a trial on on say country Australia which will be created for 9.1

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Problem with Save button on Accounts and Contacts

    Hello Wei Jie Fun,

    Thank you very much for your reply!

    This one is not our script. I also guess that this is a system script.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Problem with Save button on Accounts and Contacts

    Hello Ravi Kashyap,

    Thank you very much for your reply!

    Yes, it seems so.

    Could you please advise me if there is any way in the Trial account to be forced an update, e.g. from Version 9.0.X to Version 9.1.X or it will happen only automatically?

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Problem with Save button on Accounts and Contacts

    Hi,

    Main_system_library.js <--- is this a custom JS web resources? If no, I would suggest you to open a ticket to MS. It looks like a system JS file for me.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Problem with Save button on Accounts and Contacts

    If it is happening on a brand new trial  then it got to be a bug. I am currently on 9.1 and do not see this issue. So it looks like this is a bug in 9.0 and fixed in 9.1

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Problem with Save button on Accounts and Contacts

    Hello Ravi Kashyap,

    Thank you very much for your prompt input.

    I've tested with а a brand new MSDCRM 365 Online trial subscription without any modifications and on different browsers - Chrome, Firefox and Edge with the same result.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Problem with Save button on Accounts and Contacts

    Hi,

    I would suggest to verify the issue with system admin user and in a different browser. The stack trace mentioned some JavaScript executing on save ribbon, so check if you customized the save button for account. You can use ribbon workbench to verify if it is customized or not.

    Also check javascript on form, if there is any, try disabling it and see if it works.

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans