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

IBX-418: Skipped content name retrieve for the top node #1761

Merged
merged 3 commits into from
May 26, 2021

Conversation

mateuszbieniek
Copy link
Contributor

@mateuszbieniek mateuszbieniek commented May 24, 2021

Question Answer
Tickets https://issues.ibexa.co/browse/IBX-418
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

The Tree View in UDW creates a node for the top location, which does not have content (contentId === 0).
This fix skips the content name retrieval for this node to avoid errors.

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@mateuszbieniek mateuszbieniek changed the title Skipped content name retrieve for the top node [IBX-418] Skipped content name retrieve for the top node May 24, 2021
@adamwojs adamwojs changed the title [IBX-418] Skipped content name retrieve for the top node IBX-418: Skipped content name retrieve for the top node May 24, 2021
mateuszbieniek and others added 2 commits May 24, 2021 14:04
@adamwojs adamwojs requested a review from a team May 25, 2021 06:22
@mateuszbieniek mateuszbieniek requested a review from barw4 May 25, 2021 08:13
@bogusez bogusez self-assigned this May 26, 2021
@adamwojs adamwojs merged commit 8e0b365 into ezsystems:2.2 May 26, 2021
@adamwojs
Copy link
Member

Could you please merge up changes @mateuszbieniek?

@mateuszbieniek mateuszbieniek deleted the IBX-418_fix branch May 27, 2021 06:17
@mateuszbieniek
Copy link
Contributor Author

Merged to 2.3:
ba27dc0
and to master:
c21b5e3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment