Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Infolog messages hidden when saving a record

(1) ShareShare
ReportReport
Posted on by 230,371 Most Valuable Professional
I've noticed that all infolog messages are hidden when I save a record with a keyboard shortcut (but not when pressing Save button). Is it normal? Do you see the same behavior?
 
The messages aren't shown in GUI, but the infolog object (infologLine(), infolog.infologData()) is still aware of them. Also note that it happens even if no data has changed and write() isn't called at all (so it's not caused by actual record saving).
 
I tried it in several different forms and two browsers (Chrome and Edge); it behaves consistently. We're on 10.0.38.
  • Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    Infolog messages hidden when saving a record
    Agree with you Martin. I just tried the test case in 35 and I can see the infolog is disappearing from UI.
  • Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    Infolog messages hidden when saving a record
    Microsoft acknowledged it's a bug; it can be tracked in LCS (issue 914624).
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,642 Super User 2024 Season 2 on at
    Infolog messages hidden when saving a record
    At least, I would expect consistency. I do agree that a different behavior when clicking the button or using the shortcut key combination is to be considered as a bug.
  • Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    Infolog messages hidden when saving a record
    I found a simple test case (that I'm going to use to report the bug). Go to the list of data entities and press Validate button, which adds a message to infolog. Then press Ctrl+S. In my environments, the message disappears from UI.
     
    I tried it with warnings too; the same result.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,642 Super User 2024 Season 2 on at
    Infolog messages hidden when saving a record
    Hi Martin,
     
    Trying to understand the scenario. You have a message on the form, then you are using the keyboard shortcut for saving the record which will then hide/remove the message? Is this then for a message only or also for warnings and errors? 
  • Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    Infolog messages hidden when saving a record
    Update: removing customizations and ISV solutions didn't make a difference; I still see the problem with MS code only. The only little change I made was extending CustGroup form with an extra button and adding an info message on click.
    [FormControlEventHandler(formControlStr(CustGroup, MyButton), FormControlEventType::Clicked)]
    public static void test(FormControl sender, FormControlEventArgs e)
    {
        info("Test message");
    }
  • Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    Infolog messages hidden when saving a record
    Yes, I tested it in SalesTable, PurchTable and CustGroup forms.
     
    But it's not a vanilla environment, there are some customizations and quite a few ISV solutions.
  • Anthony Blake Profile Picture
    Anthony Blake 2,199 Super User 2024 Season 2 on at
    Infolog messages hidden when saving a record
    Hi Martin
     
    Are you using a standard form to test the infolog? Warnings work using Save button & CTRL+S (10.0.38), I'm just looking for a quick way to check a standard infolog message.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans