rez_core 4.0.66 → 4.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "4.0.66",
3
+ "version": "4.0.70",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -58,8 +58,11 @@ export class ActionService extends EntityServiceImpl {
58
58
  ): Promise<any> {
59
59
  const actionData = entityData as any;
60
60
 
61
- // Step 1: Create main action entity
62
- const action = await super.createEntity(entityData, loggedInUser);
61
+ // 🔧 Remove 'template' array before inserting main action
62
+ const { template, ...actionWithoutTemplates } = actionData;
63
+
64
+ // Step 1: Create main action entity
65
+ const action = await super.createEntity(actionWithoutTemplates, loggedInUser);
63
66
 
64
67
  // Step 2: Create stage mapping
65
68
  const stageActionMapping = {