Skip to content

M2DOC template with Sequence and other input parameters #493

@MarianKuban

Description

@MarianKuban

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please have a look to the support pages of our website : http://m2doc.org/support/

Current behavior

m:template that have a multiple parameters with combination of Sequence/Set and other Literal parameters are not resolved properly.
Any parameter that is following after Sequence/Set is omited form the service registration.

ex: m:template myTemplate(Sequence(Integer),Title:String) => is registered as
myTemplate(java.util.List)! => NOK
Expecting registration:
myTemplate(java.util.List,,java.lang.String)

Expected behavior

All the parameters of the template shall be registered.

Minimal reproduction of the problem with instructions

See attached word template.

What is the motivation / use case for changing the behavior?

Usage of the templates on a sequence/set using query "->"

Environment


M2Doc version: 3.2.0
Eclipse version:0.7.1
Platform version:  Windows 10

Others:

m4doc.validation.docx
m4doc.docx
m4doc.generated.docx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions