Strapi V4 populate Media and Dynamiczones from Components

Found the issue in the strapi-plugin-populate-deep plugin:
In the plugin’s code in /server/helpers/index.js, there is this:

 const getFullPopulateObject = (modelUid, maxDepth = 20) => {
   if (maxDepth <= 1) {
     return true;
   }
   if (modelUid === "admin::user") {
     return undefined;
   }
...
}

Basically, it rejects and sets to undefined anything coming from the “admin::user” module!!

Went to node_modules/strapi-plugin-populate-deep/server/helpers/index.js and commented out these 3 lines :smiley:

Not only have I my image components populated, but my creator attributes as well!!

1 Like