Closed (fixed)
Project:
Commerce Recruiting
Version:
8.2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2025 at 12:22 UTC
Updated:
29 Dec 2025 at 11:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
socialnicheguru commentedComment #3
socialnicheguru commentedComment #4
socialnicheguru commentedLast two were incomplete and had errors
Comment #5
ktpm commentedHi,
just wanted to give a quick summary feedback on this, also including #3339355 and #3532677.
Commerce Recruiting is an extension module for Commerce. As it has Commerce as dependency, that module is required in order to install Recruiting in the first place, so the CommerceContentEntityBase class is supposed to be there (#3532677). Given that, I'm struggling on how to get to these issues or how to solve them.
The permissions are generated implicitly via the Entity module, which itself is a dependency of Commerce so there is no need for a permissions.yml file. These permissions there are never used by the module.
Of course you can just keep using the patches if they are helping, but as I see it they should not be needed at all.
Comment #6
socialnicheguru commentedThis is because of autoload. I am getting these errors before even installing the module. That is the point. It is autoloading commerce_recruiting which depends on commerce which is not autoloaded or even enabled. Why is there a need for autoload?
#3532677: Uncaught Error: Class "Drupal\commerce\Entity\CommerceContentEntityBase" not found
The point is that commerce is not enabled yet.
in composer.json -
I am getting the errors because autoloading is working and I have not installed commerce_recruiting yet and it makes a call to commerce which is neither enabled nor autoloaded.
Comment #7
ktpm commented-> https://www.drupal.org/project/commerce_recruiting/issues/3532677