Hi all !
I'm still working on NussKnacker 0.2.2., and I'm facing an issue while trying to use the subprocess featrue : When I add a subprocess to my process, I lose all auto-completion functionnalities in the process nodes (even access to #meta and #UTILS):
In the following example, I've reduced the complexity of the processes to find out what could be the cause of the bug. The screenshots can be found in the enclosed document
Please also find enclosed the json export of the subprocess.
When no subprocess is added, everything is fine in the filter node details
but when I import my subprocess, auto completion doesn't work any more.
For exemple, in the filter details view , the only proposition is #input, and it's even not recognized by the syntax (hidden message is "Failed to parse expression: Unresolved reference 'input'"):
Do you have any idea of what could be the issue? Could it be a misuse of NK ?
Furthermore, I can see in the logs of the NK server the following log entry : I don't know if it could be linked to this issue, and I don't really understand it. Could you please explain it to me ?
11:37:54.830 [nussknacker-ui-akka.actor.default-dispatcher-11] WARN p.t.n.e.c.CompilationResult$$anon$2 - Merging different input validation context for the same node ids: ValidationContext(Map(),Map(UTIL -> TypedClass(class fr.diginext.mbx.rtmcep.nussknacker.utils.UtilProcessHelper,List()), meta -> TypedObjectTypingResult(Map(processName -> TypedClass(class java.lang.String,List()), properties -> TypedObjectTypingResult(Map(),TypedClass(interface java.util.Map,List(TypedClass(class java.lang.String,List()), Unknown)))),TypedClass(interface java.util.Map,List(TypedClass(class java.lang.String,List()), Unknown)))),None) != ValidationContext(Map(input -> Unknown),Map(UTIL -> TypedClass(class fr.diginext.mbx.rtmcep.nussknacker.utils.UtilProcessHelper,List()), meta -> TypedObjectTypingResult(Map(processName -> TypedClass(class java.lang.String,List()), properties -> TypedObjectTypingResult(Map(),TypedClass(interface java.util.Map,List(TypedClass(class java.lang.String,List()), Unknown)))),TypedClass(interface java.util.Map,List(TypedClass(class java.lang.String,List()), Unknown)))),None). This can be a bug in code or duplicated node ids with different input validation contexts
Thanks a lot for yout help, and best regards.
--
.