Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@adamwojs
Copy link
Member

@adamwojs adamwojs commented May 1, 2025

🎫 Issue IBX-XXXXX

Description:

Follow up for #63.

Issue detected by https://github.com/ibexa/fieldtype-page/actions/runs/14773790369/job/41478333517

    β”‚  	[2025-05-01T10:26:13.389330+00:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Ibexa\HttpCache\Handler\TagHandler::Ibexa\HttpCache\Handler\{closure}(): Argument #1 ($locationId) must be of type string, null given" at TagHandler.php line 137 {"exception":"[object] (TypeError(code: 0): Ibexa\\HttpCache\\Handler\\TagHandler::Ibexa\\HttpCache\\Handler\\{closure}(): Argument #1 ($locationId) must be of type string, null given at /var/www/vendor/ibexa/http-cache/src/lib/Handler/TagHandler.php:137)"} []

For QA:

N/A

Documentation:

N/A

@sonarqubecloud
Copy link

sonarqubecloud bot commented May 1, 2025

public function addLocationTags(array $locationIds): void
{
$this->addTags(array_map(static function (string $locationId): string {
$tags = array_map(static function (string|int|null $locationId): string {
Copy link
Member Author

Choose a reason for hiding this comment

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

Location generated for content preview have id = null.

@adamwojs adamwojs merged commit 3dfa4ef into main May 1, 2025
45 checks passed
@adamwojs adamwojs deleted the numerical_ids branch May 1, 2025 13:49
@adamwojs
Copy link
Member Author

adamwojs commented May 1, 2025

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants