Skip to content

[Workflow] Add missing audit-trail settings in framework workflow con… #43206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

temp
Copy link

@temp temp commented Sep 28, 2021

audit-trail config was missing in xsd. Example from symfony.com did not work as expected due to this.

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #43194
License MIT
Doc PR N/A

Commit adds audit-trail in xsd

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 5.4 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@temp temp force-pushed the fix/missing-audit-trail-xsd branch from 271a525 to ec55c22 Compare September 28, 2021 06:53
@lyrixx
Copy link
Member

lyrixx commented Sep 28, 2021

Thanks for finding this issue

Could you update some test to ensure not regression could happen?

Thanks

@temp temp force-pushed the fix/missing-audit-trail-xsd branch from ec55c22 to 6d2b71e Compare September 28, 2021 07:17
@temp
Copy link
Author

temp commented Sep 28, 2021

Thanks for finding this issue

Could you update some test to ensure not regression could happen?

Thanks

Just pushed the test!

@fabpot fabpot modified the milestones: 5.4, 5.3 Sep 28, 2021
@fabpot fabpot changed the base branch from 5.4 to 5.3 September 28, 2021 08:42
@fabpot
Copy link
Member

fabpot commented Sep 28, 2021

Thank you @temp.

@fabpot fabpot merged commit de2ff10 into symfony:5.3 Sep 28, 2021
@fabpot fabpot mentioned this pull request Sep 28, 2021
<xsd:attribute name="enabled" type="xsd:boolean" />
</xsd:complexType>

<xsd:simpleType name="audit_trail_enabled">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this simple type looks unused

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

derrabus added a commit that referenced this pull request Sep 28, 2021
This PR was merged into the 5.3 branch.

Discussion
----------

[Workflow] Remove unused code in XML schemas

| Q             | A
| ------------- | ---
| Branch?       | 5.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | #43206 (review)
| License       | MIT
| Doc PR        |

Commits
-------

0ef7789 [Workflow] Remove dead code in XML schemas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

audit-trail workflow configuration in xml not working
5 participants