Skip to content

Commit

Permalink
Fix for endless loop when headers only fails. Fix Duplication of Obje…
Browse files Browse the repository at this point in the history
…ctFieldAttributes for large Products
  • Loading branch information
Adam Rutland committed Oct 22, 2020
1 parent b7e46a1 commit fe95784
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datapacksbuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ DataPacksBuilder.prototype.hasValidImports = async function(importPath, jobInfo)
VlocityUtils.verbose('Checking Valid Imports Start');
VlocityUtils.silent = true;

var jobInfoStatusHash = this.vlocity.datapacksutils.hashCode(stringify(jobInfo.currentStatus));
var jobInfoStatusHash = this.vlocity.datapacksutils.hashCode(stringify(jobInfo.currentStatus) + jobInfo.headersOnly + ' ' + jobInfo.forceDeploy);

if (jobInfo.hasValidImportsCached && jobInfo.hasValidImportsCached[jobInfoStatusHash]) {
return jobInfo.hasValidImportsCached[jobInfoStatusHash];
Expand Down
3 changes: 3 additions & 0 deletions lib/datapacksexpanddefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ DataPacks:
SupportParallelDeploy: false
PaginationSize: 300
SoloExport: true
PaginationActions:
ObjectFieldAttribute__c:
- Remove
ProductChildItem:
ProductChildItem__c:
FolderName:
Expand Down

0 comments on commit fe95784

Please sign in to comment.