Skip to content

Fix/d79afbe2d7 backport impconfig - #129

Merged
ralflang merged 2 commits into
horde:FRAMEWORK_6_0from
jcdelepine:fix/d79afbe2d7-backport-impconfig
Nov 24, 2026
Merged

ralflang merged 2 commits into
horde:FRAMEWORK_6_0from
jcdelepine:fix/d79afbe2d7-backport-impconfig

Conversation

@jcdelepine

@jcdelepine jcdelepine commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

FRAMEWORK_6_0 is broken by d79afbe

d79afbe (“Attempt to address issue #114”) was pushed to FRAMEWORK_6_0 but depends on Horde\Imp\ImpConfig, which only exists on FRAMEWORK_6_1 (981b6af). Displaying any message in the dynamic view fails with a ParseError.

Problems in d79afbe:

parse errors: missing ) after empty( in lib/Contents.php:607 and twice in lib/Compose/LinkedAttachment.php
undefined $injector in IMP_Contents::renderMIMEPart() and IMP_Compose_LinkedAttachment::delete()
service fetched as 'ImpConfig' instead of ImpConfig::class

This PR backports 981b6af (self-contained: #[Factory] attribute, State, ConfigLoader all present in 6_0) and fixes the above. Tested on our 6_0 instance: message display in dynamic view works again.

If you’d rather not have ImpConfig on 6_0, see #131 which simply reverts d79afbe.

@jcdelepine
jcdelepine changed the base branch from FRAMEWORK_6_1 to FRAMEWORK_6_0 November 23, 2026 07:42
@ralflang
ralflang merged commit 699eb97 into horde:FRAMEWORK_6_0 Nov 24, 2026
@ralflang

Copy link
Copy Markdown
Member

Thank you. That should have targeted FRAMEWORK_6_1 probably - our intent was exactly to NOT disturb FRAMEWORK_6_0

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.

2 participants