Skip to content

Commit 094fabb

Browse files
authored
Merge pull request #33 from carfup/release
Release v1.2022.10.9
2 parents d5b8d89 + e06e8cb commit 094fabb

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

BPFManager/AppCode/DataManager.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public List<Entity> GetRelatedBPF(string recordEntityToMigrate)
194194
var potentialWorkdlows = service.RetrieveMultiple(new QueryExpression()
195195
{
196196
EntityName = "workflow",
197-
ColumnSet = new ColumnSet("name", "uniquename", "uidata", "primaryentity"),
197+
ColumnSet = cols,
198198
Criteria =
199199
{
200200
Filters =
@@ -223,7 +223,10 @@ public List<Entity> GetRelatedBPF(string recordEntityToMigrate)
223223
foreach (var potentialWorkflow in potentialWorkdlows)
224224
{
225225
if (!potentialWorkflow.Contains("uidata"))
226+
{
227+
workflowsToKeep.Add(potentialWorkflow);
226228
continue;
229+
}
227230

228231
var jsonDefinition = JObject.Parse(potentialWorkflow.GetAttributeValue<string>("uidata"));
229232
var extendedEntity =
@@ -286,7 +289,6 @@ public List<EntityDetailledName> GetEntitiesWithBPF()
286289
RetrieveMetadataEntity();
287290

288291
ColumnSet cols = new ColumnSet( "primaryentity");
289-
FilterExpression filter = null;
290292

291293
if (majorVersion >= 9)
292294
{

BPFManager/BPFManager.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ private void comboBoxChooseView_SelectedIndexChanged(object sender, EventArgs e)
729729
return;
730730
}
731731

732-
var selectedView = entityViews.FirstOrDefault(x => x.GetAttributeValue<string>("name") == comboBoxChooseView.SelectedItem);
732+
var selectedView = entityViews.FirstOrDefault(x => x.GetAttributeValue<string>("name") == comboBoxChooseView.SelectedItem.ToString());
733733
fetchxmlQuery = selectedView.GetAttributeValue<string>("fetchxml");
734734

735735
btnRetrieveRecordsFetchQuery.Enabled = !String.IsNullOrEmpty(fetchxmlQuery);
@@ -790,9 +790,5 @@ private void tsbCancel_Click(object sender, EventArgs e)
790790
CancelWorker();
791791
}
792792

793-
private void radioButton1_CheckedChanged(object sender, EventArgs e)
794-
{
795-
796-
}
797793
}
798794
}

BPFManager/BPFManager.nuspec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<package>
22
<metadata>
33
<id>Carfup.XTBPlugins.BPFManager</id>
4-
<version>1.2021.10.8</version>
4+
<version>1.2022.10.9</version>
55
<title>BPF Manager</title>
66
<authors>Clement Olivier and Gus Gonzalez</authors>
77
<owners>Clement Olivier and Gus Gonzalez</owners>
@@ -11,6 +11,9 @@
1111
<description>This tool allows you to set an active business process flow stage for records in bulk. Use this after a data import, or simply to switch stages from an old BPF into a new one.</description>
1212
<summary>Use this tool to set the Active BPF stage for records in Bulk.</summary>
1313
<releaseNotes>
14+
1.2022.10.9
15+
#31 Fixing BPF loading for onprem environments
16+
1417
1.2021.10.8
1518
Retrieval of all entities (primary and secondary) included in BPFs
1619
Ability to move the BPF stage to a secondary entity stage (the related lookup must be filled upfront)

BPFManager/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.2021.10.8")]
36-
[assembly: AssemblyFileVersion("1.2021.10.8")]
35+
[assembly: AssemblyVersion("1.2022.10.9")]
36+
[assembly: AssemblyFileVersion("1.2022.10.9")]

0 commit comments

Comments
 (0)