Parse error on Oracle compound trigger with EDITIONABLE keyword

Hi,

I am using cli version sonar-scanner-7.1.0.4889-windows-x64
and SonarQube Server Cloud v2025.2 (105476)

On parsing Oracle PL/SQL code there are some ‘Parse error’ messages on the commandline output:

14:38:38.992 WARN Unable to fully parse: C:/svn/SonarQube_checks/SonarQubeSandbox_trunk/sql/011.xxyss_tms/trigtest1.sql
14:38:38.993 WARN Parse error starting from line 6
14:38:38.994 WARN
14:38:38.994 WARN
14:38:38.994 WARN Unable to fully parse: C:/svn/SonarQube_checks/SonarQubeSandbox_trunk/sql/011.xxyss_tms/trigtest1.sql
14:38:38.994 WARN Parse error starting from line 11

the content of trigtest1.sql is

create or replace editionable trigger tr_br_trigtest
  for insert or update on trigtest
  compound trigger  l_seq number(10, 0);

  before each row is
  begin
    null;
  end before each row;

  after statement is
  begin
    null;
  end after statement;
end tr_br_trigtest;

When I remove the editionable keyword there are no parse errors.

Is this a SonarQube bug or am I doing something wrong?

Hello again @Rob.Wijs and thanks again.
Same for this issue, we’ll try to look into it as soon as we can.

thank you for your patience.

1 Like

Hello @Rob.Wijs,

Thank you for your feedback regarding our PL/SQL parser. We have addressed this issue regarding the “editionable” keyword. We expect this to be fixed with the next release.

Best regards,
Marc