Skip to main content
Solved

Acumintor not showing Row Events in code map. Just me?

  • October 10, 2024
  • 5 replies
  • 29 views

Forum|alt.badge.img+6

Is it just me or is Acuminator not showing Row events in the code map?

I’m running version 3.1.3 on VS 2022.

I’ve uninstalled it and re-installed.

I was pretty sure that I’ve seen Row events listed in the map in the past but maybe something on my side has changed?

Best answer by snikomarov36

@Django thanks for the update!
This is indeed a bug, it seems that Acuminator does not support old style events with override of the existing method!
I will create a bug and try to fix it in the next Acuminator release.

View original
Did this topic help you find an answer to your question?

5 replies

snikomarov36
Acumatica Employee
Forum|alt.badge.img
  • Acumatica Employee
  • 54 replies
  • October 11, 2024

Hi @Django.
Acuminator definitely shows row events since the first version of Code Map. However,  it’s possible that you have something non-standard in your row events. It can also be a bug in Acuminator.

Could you please provide more details:

  • A screenshot of Acuminator
  • A screenshot or a code declaration of your code with the row event declaration. It would also help to see the declaration of the class containing the row event.

Forum|alt.badge.img+6
  • Author
  • Captain II
  • 554 replies
  • October 11, 2024

Thank you for your response. I notice that the old style with seems to be the problem child.

This appears in the code map:

protected virtual void _(Events.RowSelected<BAccount> e, PXRowSelected baseHandler)
{
  baseHandler?.Invoke(e.Cache, e.Args);
}

This does not:

protected virtual void BAccount_RowSelected(PXCache sender, PXRowSelectedEventArgs e, PXRowSelected baseHandler)
{
  baseHandler?.Invoke(sender, e);
}

This does appear:

protected virtual void BAccount_RowSelected(PXCache sender, PXRowSelectedEventArgs e)
{

}

So it is using old style declaration with the override of the existing method that is not appearing.

I created the class using the project editor in the customization project and then sent it to Visual Studio so I don’t think it is part of the issue but there is the declaration of the class:

using System;
using PX.Data;
using PX.Objects.CR;
using PX.Objects.GDPR;

namespace PX.Objects.AR
{
  public class CustomerMaint_Extension : PXGraphExtension<PX.Objects.AR.CustomerMaint>
  {
    protected virtual void BAccount_RowSelected(PXCache sender, PXRowSelectedEventArgs e, PXRowSelected baseHandler)
    {
      baseHandler?.Invoke(sender, e);
    } 
  }
}

 


snikomarov36
Acumatica Employee
Forum|alt.badge.img
  • Acumatica Employee
  • 54 replies
  • Answer
  • October 11, 2024

@Django thanks for the update!
This is indeed a bug, it seems that Acuminator does not support old style events with override of the existing method!
I will create a bug and try to fix it in the next Acuminator release.


Forum|alt.badge.img+6
  • Author
  • Captain II
  • 554 replies
  • October 14, 2024

@Chris Hackett - I’ve tried to make @snikomarov36’s last response the answer to my question but the web page blinks and doesn’t make it the answer. Can you help?


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2754 replies
  • October 14, 2024

Hi @Django - I have gone ahead and marked it as answer. I haven’t heard of others having a problem but if it happens again let me know. If it does, please try clearing cache, another browser and device. Thank you!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings