Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

audit-trail workflow configuration in xml not working #43194

Copy link
Copy link
Closed
@temp

Description

@temp
Issue body actions

Symfony version(s) affected: 5.3.7

Description
Using the xml-example from https://symfony.com/doc/current/workflow.html#creating-a-workflow throws errors.

 Unable to parse file "/app/config/packages/workflow.xml": [ERROR 1871] Element '{http://symfony.com/schema/dic/symfony}audit-trail': This element is not expected. Expected is one of ( {http://symfony.com/schema/dic/symfony}initial-marking, {http:
  //symfony.com/schema/dic/symfony}marking-store, {http://symfony.com/schema/dic/symfony}support, {http://symfony.com/schema/dic/symfony}event-to-dispatch, {http://symfony.com/schema/dic/symfony}place, {http://symfony.com/schema/dic/symfony}transit
  ion, {http://symfony.com/schema/dic/symfony}metadata ). (in /app/ - line 11, column 0) in /app/config/packages/workflow.xml (which is being imported from "/app/src/Kernel.php").

How to reproduce
Use the xml-example workflow.xml from https://symfony.com/doc/current/workflow.html#creating-a-workflow

Possible Solution

Additional context
Maybe the audit-trail config is simply missing from the xsd?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugGood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)Help wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.Status: Needs ReviewWorkflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.