Closed matthieudesprez closed 1 year ago
Ok my bad, sorry for that, a current implementation of get_change_actions in our codebase is iterating over Django permissions to have a more fine grained list of actions.
And, as these permissions are formatted like f"actionexecute{name_of_action" it returns a list of
action.strip("action_execute")
so it's just a wrong usage of strip at cause here.
Thanks for your work btw.
Hello,
I'm experiencing this issue for the first time with django-object-actions
I suspect that I've put an action name which is too long (26 chars) and it seems to be looking for a 20 chars trimmed version of it in the related ModelAdmin
Original name is
relevant part of the stack trace
So I guess it's trimmed somewhere but I didn't get the time to look further into it, also I was looking in the documentation if there was a mention of any limitation in actions naming but couldn't find anything either.