action in custom plugin are disabled after upgrade

Answered

Hi, 

we have a custom plugin that adds actions to the test runner, after updating to version  2022.1 (build IU-221.5080.210)

the actions become disabled:

I tried to explicitly enable the action by:

by this code:

@Override
public void update(@NotNull AnActionEvent e) {
super.update(e);
final Presentation presentation = e.getPresentation();
final Project project = e.getProject();

if (project == null) {
presentation.setEnabledAndVisible(false);
return;
}
presentation.setEnabledAndVisible(true);
}


but still it is disabled.

I uploaded a screen shot, dont know how to attach it here, the upload id is:
2022_07_07_8DbZZWMnXTuRwNgt8GhZrH

can you please advise?

Thanks,
Eilon

0
2 comments

Please try current bugfix update 

  • Version: 2022.1.3
  • Build: 221.5921.22
  • 21 June 2022

IIRC there was some issue with custom entries in this menu but it must have been fixed some weeks ago.

0

Working, thank you 

0

Please sign in to leave a comment.