Skip to content

Assemblies: daps fails to detect undefined entities in tasks, references, concepts or glues #732

@taroth21

Description

@taroth21

Problem description

If I misspell an entity in the assembly file (*.asm), daps will detect the undefined entity and return an error message:

✔ /local/git/GH/doc-modular [taroth/test_entity L|✚ 2] 
17:19 $ daps -d DC-minimal-vm validate
/local/git/GH/doc-modular/articles/sle-minimal-vm.asm.xml:54: parser error : Entity 'taroth' not defined
              Complete revision incorporation feedback and learnings by &taroth;
                                                                               ^
Fatal error:
/local/git/GH/doc-modular/build/.assembly/minimal-vm.xml:
    CRITICAL: Entity 'taroth' not defined (line 16 column 81)
                                                                               ^
Fatal error:
/local/git/GH/doc-modular/build/.assembly/minimal-vm.xml:
    CRITICAL: Entity 'taroth' not defined (line 16 column 81)

However, if an entity is misspelled in a reference, concepts, task or glue topic, daps does not detect the undeclared entity and will (erroneously) report: Document is valid.

Expected behavior

daps should detect missing entity declarations anywhere within snippets used for the assembly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions