cancel
Showing results for 
Search instead for 
Did you mean: 

missing backoffice action definition

Former Member
0 Kudos

Hi all,

I have created a new action for backoffice and for some reason, it gives me the following warning when I open the page:

WARN 13:29:11 [hybrisHTTP37] [] [] [] [] [Action] could not find action definition for code [code.of.the.action.i.created]

Is there a way to find out where hybris has tried to retrieve the action definition from? I created such definition.xml but as I read from the warning message, it does not seem to be found in the location where I have stored it.

I suspect something might be wrong with my directory structure, but the error gives me no hint, and I cannot find the proper location where I could debug this.

Former Member
0 Kudos

I would be really glad if someone could provide some hints about the debugging.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

How did you create that action? Every backoffice action should have its definition in XML file. For example, "Create Action" has its definition in /cockpitng/cockpit-widgets/backoffice-widgets/src/main/resources/cockpitng/widgets/actions/createAction/definition.xml file. Your own action should have that kind of definition in XML file as well.

Former Member
0 Kudos

Yes, exactly, I created such definition.xml but as I read from the warning message, it does not seem to be found. Have added this to the question.