Skip to content
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

Fix object provider and route defaults provider without id #209

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Oct 13, 2021

If an entity has not an id instead of uuid as identifier the query in content object provider should not fail. In future the entity for smart_content, preview, route default provider and workflow should be provided over a ContentObjectProvider and not by a query build inside the content bundle.

@alexander-schranz alexander-schranz added the Bug Error or unexpected behavior of already existing functionality label Oct 13, 2021
@alexander-schranz alexander-schranz force-pushed the bugfix/entity-object-provider-without-id branch from d3d3ae2 to c880eac Compare October 13, 2021 16:39
@alexander-schranz alexander-schranz changed the title Fix object provider without id Fix object provider and route defaults provider without id Oct 13, 2021
@coveralls
Copy link

coveralls commented Oct 13, 2021

Pull Request Test Coverage Report for Build 1340854061

  • 2 of 2 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 1337129686: 0.0%
Covered Lines: 2003
Relevant Lines: 2003

💛 - Coveralls

Copy link
Member

@wachterjohannes wachterjohannes left a comment

Choose a reason for hiding this comment

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

@alexander-schranz makes sense but seems that it does not work 🙈

@wachterjohannes wachterjohannes merged commit 24ebb9b into sulu:0.x Oct 14, 2021
@alexander-schranz alexander-schranz deleted the bugfix/entity-object-provider-without-id branch October 14, 2021 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error or unexpected behavior of already existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants