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

[BUGFIX] Category parent property should be typed with LazyLoadingProxy #71

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Category extends AbstractEntity
protected string $description = '';

#[Lazy]
protected ?Category $parent = null;
protected Category|LazyLoadingProxy|null $parent = null;

public function getTitle(): string
{
Expand Down
5 changes: 5 additions & 0 deletions Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
ChangeLog
=========

Version 7.0.1
=============

* BUGFIX: Category parent property lazy loading with LazyLoadingProxy type

Version 7.0.0
=============

Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[general]

project = Yellowpages2
version = 7.0.0
version = 7.0.1
release = 7.0
copyright = by jweiland.net

Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'author_email' => '[email protected]',
'author_company' => 'jweiland.net',
'state' => 'stable',
'version' => '7.0.0',
'version' => '7.0.1',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-12.4.99',
Expand Down