Skip to content

Failed to find AccordClause for a template #304

Description

@dselman

The template below doesn't parse using Cicero 0.21.4

signature-block-title-name-date.zip

It fails with the error message:

Failed to find an asset that extends org.accordproject.cicero.contract.AccordClause. The model for the template must contain a single asset that extends org.accordproject.cicero.contract.AccordClause.
Error: Failed to find an asset that extends org.accordproject.cicero.contract.AccordClause. The model for the template must contain a single asset that extends org.accordproject.cicero.contract.AccordClause.
    at findTemplateModel (/Users/dselman/.nvm/versions/node/v12.16.1/lib/node_modules/@accordproject/cicero-cli/node_modules/@accordproject/markdown-template/lib/templatemarkutil.js:95:15)
    at templateMarkTyping (/Users/dselman/.nvm/versions/node/v12.16.1/lib/node_modules/@accordproject/cicero-cli/node_modules/@accordproject/markdown-template/lib/templatemarkutil.js:149:19)

To Reproduce
Steps to reproduce the behavior:

  1. Unzip
  2. Run cicero parse

Expected behavior
The template should parse (I think!) because it contains a type DetailedSignatureBlock that extends an abstract type SignatureBlock that extends AccordClause.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions