-
assigned issue to
JWT hangs up
Hi Fidel,
I managed and hang up JWT again.
JWT hangs up on load/edit "Done" transition (full XML and function that brakes JWT attached).
JWT 2.2.10_beta3
Will appreciate quick fix, Thank you in advance, AK.
Comments (17)
-
reporter -
reporter -
reporter - attached function.txt
-
reporter Usual view:
a[%{00061} = %{00120} and %{00062} = %{00121}] {00059} !=0 ? (%{00042} != last(toStringList(projectProperty("FlowPhSt_" + %{53000} + "" + %{00062}),",")) ? last(toStringList(projectProperty("FlowPhSt" + %{53000} + "" + %{00062}),",")) : "") : ({00060} != 0 ? (%{00049} ~ "ReopenParentTask" ? (%{00042} != first(toStringList(projectProperty("FlowPhSt" + %{53000} + "" + first(toStringList(projectProperty("FlowEnvPh" + %{53000} + "" + first(toStringList(projectProperty("FlowEnv" + %{53000}),","))),","))),",")) ? first(toStringList(projectProperty("FlowPhSt_" + %{53000} + "" + first(toStringList(projectProperty("FlowEnvPh" + %{53000} + "" + first(toStringList(projectProperty("FlowEnv" + %{53000}),","))),","))),",")) : "") : (%{00042} != first(availableItems(%{52901},%{00062})) ? first(availableItems(%{52901},%{00062})) : "")) : (%{00062} = last(availableItems(%{52902}, %{00061})) ? "Release" : (first(availableItems(%{52901}, nthElement(availableItems(%{52902}, %{00061}), indexOf(%{00062}, availableItems(%{52902}, %{00061}))+1))))))
-
reporter It happened after adding this code:
first(toStringList(projectProperty("FlowPhSt_" + %{53000} + "" + first(toStringList(projectProperty("FlowEnvPh" + %{53000} + "" + first(toStringList(projectProperty("FlowEnv" + %{53000}),","))),","))),","))
-
reporter Fidel, an underscore is not displayed in bitbucket here, so it'd be better to see original code.
-
reporter Hi Fidel,
do you have any news on this bug?
Unfortunately, I'm blocked with it.
-
reporter Fidel,
I've redesigned the post-function and now it works. So there is no urgency anymore, please take you time.
Best, AK.
-
repo owner Andrey,
Sorry for the delay in my response, I was going to propose you a redesign of the expression, but you were faster :). This problem will take quite a time to be fixed, since I have found that some parts of the parser need deep refactorization.
This issue has the maximum priority and I'm working on it. The refactorization will also improve the performance of the parser, which is another of your demands.
Regards,
Fidel
-
reporter - attached function2.txt
-
reporter Thank you, Fidel! I've attached the second example of function that hangs up JWT. So I need to redesign it again (
-
repo owner A clue: try setting ephemeral fields previously with values of parts of the big expression, and replace those parts of the big expression with ephemeral fields, in order to simplify the big expression.
-
reporter Thank you, Fidel, it worked!
-
repo owner Hi Andrey,
The problem has been solved in version 2.2.10_beta_7.
Can you please try it, and let me know if it works OK for you?
-
reporter Fidel, I've redesigned my workflow and now it works with 2.2.10_beta7 correctly and very fast. I believe that complex expression will work also.
Thank you very much!
-
repo owner Fixed in just released version 2.2.10.
-
repo owner - changed status to resolved
- Log in to comment