Skip to main content
Solved

Error or Warning? - Base method should be overridden and not overtaken - inconsistency?

  • April 3, 2024
  • 1 reply
  • 78 views

Forum|alt.badge.img+8
  • Sidekick (Partner)
  • 48 replies

I get this error:

 

However, a co-worker of mine can get it deployed to the same system, as it is only a warning for him in the editor:

How could I get it deployed?

It is Cloud 23R2 SU3.

Both of us have this version:
IFS Developer Studio 23.2.9781 (Build 2024-02-26 05:33)

I even deleted the ‘cache’ dir on the disk.

 

By the way, generally, is this supposed to be an error or a warning?

Best answer by hamalk

Hi @jasahu 

 

Follwong is a P2 SCA error which you get as you should not overtake the base method.

 

Your co-worker must have disabled the SCA warnings in Developer studio tool. We recommend to enable the SCA in the tool to avoid runtime and deployment errors. 

 

ask your core-worker to go to “Project Properties” > General Tab > Feature Toggles  and “NoErrorOnStaticCodeViolation” this option should NOT be checked. Please ask him to uncheck as the SCA should get run in the background. 

 

/Harshini

1 reply

hamalk
Superhero (Employee)
Forum|alt.badge.img+13
  • Superhero (Employee)
  • 246 replies
  • Answer
  • April 3, 2024

Hi @jasahu 

 

Follwong is a P2 SCA error which you get as you should not overtake the base method.

 

Your co-worker must have disabled the SCA warnings in Developer studio tool. We recommend to enable the SCA in the tool to avoid runtime and deployment errors. 

 

ask your core-worker to go to “Project Properties” > General Tab > Feature Toggles  and “NoErrorOnStaticCodeViolation” this option should NOT be checked. Please ask him to uncheck as the SCA should get run in the background. 

 

/Harshini