Skip to content

Commit

Permalink
update 55 to fix issue #1143
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobuzzi committed Aug 19, 2020
1 parent 5bd280c commit 02c86f3
Show file tree
Hide file tree
Showing 28 changed files with 67 additions and 81 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import
renderSVGForImportedProcessesOn: html

model generatedProcesses do: [:processDefinition |
model generatedProcessesDo: [:processDefinition |
html div class: 'imported-process'; with: [
html anchor
class: 'cursor-pointer';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"renderNonResumableWarningsOn:" : "brunobb 01/31/2019 09:34",
"renderRemoveImportFormButtonOn:" : "brunobb 01/31/2019 09:37",
"renderResetButtonOn:" : "brunobb 01/31/2019 09:37",
"renderSVGForImportedProcessesOn:" : "brunobb 01/31/2019 09:40",
"renderSVGForImportedProcessesOn:" : "brunobb 08/19/2020 04:39",
"renderSvgProcessMapFor:on:" : "brunobb 12/06/2019 08:31",
"renderUploadComponentOn:index:" : "brunobb 01/31/2019 09:41",
"resetComponent" : "brunobb 08/10/2020 14:36",
Expand Down

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ process definition creation
immutableProcesses
"Answer a collection of Bpm processes <BpmProcessDefinition> with immutable flag on <true>"

^self processes select: [:each | | latestVersion |
^processes select: [:each | | latestVersion |
latestVersion := each getLatestVersion.
latestVersion notNil and: [latestVersion isImmutable]]

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
other
processesCollect: aBlock

^processes collect: aBlock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
other
processesDo: aBlock

processes do: aBlock

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
other
processesSize

^processes size
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ storeGeneratedProcessesOnCache
"The receiver store on cache of class <BpmProcessDefinition> all new process definitions in <processes> instance variable"
| newProcesses |

newProcesses := self processes collect: [:each | each addToCache].
newProcesses := processes collect: [:each | each addToCache].

newProcesses do: [:eachDef |
(self defaultProcessDefinitionClass getProcessDefinitionWith: eachDef id in: eachDef applicationName) isNil
Expand Down
Original file line number Diff line number Diff line change
@@ -1,37 +1,31 @@
{
"class" : {
"on:" : "BrunoBB 10/31/2015 15:57" },
"on:" : "brunobb 08/19/2020 04:53" },
"instance" : {
"attachEventsToTaskIn:withXPDL:" : "brunobb 08/07/2020 10:40",
"connectSubProcessTaskWithSubProcess" : "brunobb 08/07/2020 11:07",
"createEmbeddedSubProcessFor:basedOn:package:" : "brunobb 08/06/2020 10:08",
"createParticipantDefinitionsOf:" : "bruno 07/27/2020 14:57",
"failedImportProcesses" : "brunobb 04/02/2018 11:16",
"failedImportProcesses:" : "brunobb 04/02/2018 11:16",
"generateAllProcess" : "BrunoBB 06/27/2016 10:21",
"generateProcessBasedOnWorkflow:" : "BrunoBB 06/26/2016 13:47",
"generateProcessBasedOnWorkflow:for:" : "brunobb 03/12/2018 12:24",
"getProcessDefinitionClassFrom:" : "brunobb 01/31/2020 06:41",
"getProcessDefinitionNamed:ifNone:" : "BrunoBB 10/29/2015 13:53",
"hasImmutableProcesses" : "brunobb 11/05/2018 12:12",
"hasImportedProcesses" : "brunobb 05/29/2019 11:35",
"immutableProcesses" : "brunobb 11/05/2018 12:12",
"importFailedOnAllProcesses" : "brunobb 04/02/2018 11:20",
"importResultText" : "brunobb 04/02/2018 10:55",
"importResultText:" : "brunobb 04/02/2018 10:55",
"initialize" : "brunobb 04/02/2018 11:16",
"mapProcess:toApplication:" : "brunobb 10/07/2019 12:44",
"participants" : "BrunoBB 10/31/2015 16:29",
"participants:" : "BrunoBB 10/31/2015 16:29",
"populateBpmDefinition:withXPDL:for:" : "brunobb 08/07/2020 12:16",
"processes" : "BrunoBB 10/26/2015 17:48",
"processes:" : "BrunoBB 10/26/2015 17:48",
"processesMapping" : "BrunoBB 01/21/2016 12:34",
"processesMapping:" : "BrunoBB 01/21/2016 12:34",
"reset" : "brunobb 04/02/2018 11:04",
"storeGeneratedProcessesOnCache" : "brunobb 02/05/2020 03:33",
"successfulImport" : "brunobb 04/01/2018 08:31",
"successfulImport:" : "brunobb 04/01/2018 08:31",
"throwMappingExceptionFor:" : "BrunoBB 03/29/2016 15:27",
"xpdlPackages" : "BrunoBB 10/31/2015 15:54",
"xpdlPackages:" : "BrunoBB 10/31/2015 15:54" } }
"attachEventsToTaskIn:withXPDL:" : "brunobb 08/19/2020 04:53",
"connectSubProcessTaskWithSubProcess" : "brunobb 08/19/2020 04:53",
"createEmbeddedSubProcessFor:basedOn:package:" : "brunobb 08/19/2020 04:53",
"createParticipantDefinitionsOf:" : "brunobb 08/19/2020 04:53",
"generateAllProcess" : "brunobb 08/19/2020 04:53",
"generateProcessBasedOnWorkflow:" : "brunobb 08/19/2020 04:53",
"generateProcessBasedOnWorkflow:for:" : "brunobb 08/19/2020 04:53",
"getProcessDefinitionClassFrom:" : "brunobb 08/19/2020 04:53",
"getProcessDefinitionNamed:ifNone:" : "brunobb 08/19/2020 04:53",
"hasImmutableProcesses" : "brunobb 08/19/2020 04:53",
"hasImportedProcesses" : "brunobb 08/19/2020 04:53",
"immutableProcesses" : "brunobb 08/19/2020 04:53",
"initialize" : "brunobb 08/19/2020 04:53",
"mapProcess:toApplication:" : "brunobb 08/19/2020 04:53",
"participants:" : "brunobb 08/19/2020 04:53",
"populateBpmDefinition:withXPDL:for:" : "brunobb 08/19/2020 04:53",
"processesCollect:" : "brunobb 08/19/2020 04:53",
"processesDo:" : "brunobb 08/19/2020 04:53",
"processesMapping:" : "brunobb 08/19/2020 04:53",
"processesSize" : "brunobb 08/19/2020 04:53",
"reset" : "brunobb 08/19/2020 04:53",
"storeGeneratedProcessesOnCache" : "brunobb 08/19/2020 04:53",
"successfulImport" : "brunobb 08/19/2020 04:53",
"successfulImport:" : "brunobb 08/19/2020 04:53",
"throwMappingExceptionFor:" : "brunobb 08/19/2020 04:53",
"xpdlPackages" : "brunobb 08/19/2020 04:53",
"xpdlPackages:" : "brunobb 08/19/2020 04:53" } }
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"participants",
"processesMapping",
"successfulImport",
"importResultText",
"failedImportProcesses" ],
"name" : "BpmProcessGenerator",
"pools" : [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ createBpmProcessesDefinitions

processGenerator generateAllProcess.

processesAsTree := self generatedProcesses collect: [:each | each asTree].
processesAsTree := self generatedCollect: [:each | each asTree].
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import
generatedCollect: aBlock

^processGenerator processesCollect: aBlock

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import
generatedProcessesDo: aBlock

^processGenerator processesDo: aBlock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import
generatedProcessesSize

^processGenerator processesSize
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ getProcessesAsTree
"The receiver answer <aBpmTransitionTree>.
It is possible for <processesAsTree> to be <nil> if other issued were found before checking transitions code"

processesAsTree ifNil: [processesAsTree := self generatedProcesses collect: [:each | each asTree]].
processesAsTree ifNil: [processesAsTree := self generatedCollect: [:each | each asTree]].

^processesAsTree
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
other
numberOfGeneratedProcesses

^processGenerator processes size
^processGenerator processesSize
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"bpmEnvironment" : "brunobb 12/18/2018 11:28",
"bpmEnvironment:" : "brunobb 12/18/2018 11:28",
"checkFilesFormatOf:" : "brunobb 05/29/2019 11:37",
"createBpmProcessesDefinitions" : "brunobb 12/18/2018 11:28",
"createBpmProcessesDefinitions" : "brunobb 08/19/2020 04:41",
"createXpdlFileApplicationMapping" : "brunobb 02/10/2020 10:20",
"createXpdlPackageApplicationMapping" : "brunobb 02/10/2020 10:20",
"detectedItems" : "brunobb 09/27/2019 09:48",
Expand All @@ -18,15 +18,17 @@
"fileFormatErrors" : "brunobb 12/18/2018 11:28",
"fileFormatErrors:" : "brunobb 12/18/2018 11:28",
"fileFormatIncludesKey:" : "brunobb 12/18/2018 11:28",
"generatedProcesses" : "brunobb 05/29/2019 11:38",
"generatedCollect:" : "brunobb 08/19/2020 04:40",
"generatedProcessesDo:" : "brunobb 08/19/2020 04:39",
"generatedProcessesSize" : "brunobb 08/19/2020 04:41",
"getApplicationFor:" : "brunobb 02/10/2020 09:17",
"getItemsImportReportFor:" : "brunobb 10/02/2019 07:49",
"getMappedApplicationNameAt:" : "brunobb 12/18/2018 11:28",
"getMappedXpdlFileNameAt:" : "brunobb 12/18/2018 11:28",
"getNumberOfProcesses" : "brunobb 12/18/2018 11:28",
"getPossibleInvalidConditions" : "brunobb 05/29/2019 11:39",
"getProcessDefinitionNamed:ifNone:" : "brunobb 05/16/2019 05:57",
"getProcessesAsTree" : "brunobb 01/30/2019 10:19",
"getProcessesAsTree" : "brunobb 08/19/2020 04:41",
"getXpdlPackageForFileNamed:" : "brunobb 12/18/2018 11:28",
"getXpdlPackages" : "brunobb 12/18/2018 11:28",
"hasFormatErrors" : "brunobb 12/18/2018 11:28",
Expand All @@ -48,7 +50,7 @@
"indexXpdlFileMapperSize" : "brunobb 12/18/2018 11:28",
"initialize" : "brunobb 12/18/2018 11:28",
"isImportSuccessful" : "brunobb 12/18/2018 11:28",
"numberOfGeneratedProcesses" : "brunobb 12/18/2018 11:28",
"numberOfGeneratedProcesses" : "brunobb 08/19/2020 04:51",
"offendingWorkflows" : "brunobb 12/13/2019 10:31",
"offendingXPDLobjects" : "brunobb 10/01/2019 06:00",
"processGenerator" : "brunobb 12/18/2018 11:28",
Expand Down
Loading

0 comments on commit 02c86f3

Please sign in to comment.