Skip to content

Fail to install attachment package due to bad compat plugin check #194

Closed

Description

@JLTRY

During the tests for delivering version 4.2.2 I faced the following issue

Image I think that it is due to PR https://github.com//pull/189 @parapente I will propose a PR

Activity

  1. changed the title [-]Fial to install attachment due to bad compat plugin check[/-] [+]Fail to install attachment package due to bad compat plugin check[/+] on Mar 23, 2026
  2. JLTRY commented on Mar 23, 2026

    @JLTRY
    CollaboratorAuthor

    I do not find any plugin like
    element => 'compatibility' // plugin name
    'folder' => 'system'

  3. parapente commented on Mar 23, 2026

    @parapente
    Collaborator

    @JLTRY it shouldn't check for the plugin in 4.x. version_compare(JVERSION, '6', 'ge') should return false but it seems that it isn't.

  4. parapente commented on Mar 23, 2026

    @parapente
    Collaborator

    oops, sorry but I seem to have misunderstood. In what version of joomla do you get the error message?

  5. JLTRY commented on Mar 23, 2026

    @JLTRY
    CollaboratorAuthor

    No the version 4.2.2 is for attachments my Joomla is 6.0.3

  6. JLTRY commented on Mar 23, 2026

    @JLTRY
    CollaboratorAuthor

    version 6.0.3

  7. parapente commented on Mar 23, 2026

    @parapente
    Collaborator

    The plugin that needs to be enable has full name "Behaviour - Backward Compatibility 6" in Extensions: Manage . If this plugin is not enabled then the extension doesn't work in 6.0.3.

  8. JLTRY commented on Mar 23, 2026

    @JLTRY
    CollaboratorAuthor

    yes but in code you have
    ->where($db->quoteName('element') . ' = ' . $db->quote('compatibility')) // plugin name
    ->where($db->quoteName('folder') . ' = ' . $db->quote('system')); // plugin group
    the compatibility plugin are (joomla 6 behavior/compat6 , joomla5 behavior/compat), not system/compatibility

  9. parapente commented on Mar 23, 2026

    @parapente
    Collaborator

    Hmm indeed, it seems some code changes didn't make it through to the repository. Please proceed with the appropriate changes.

  10. JLTRY commented on Mar 23, 2026

    @JLTRY
    CollaboratorAuthor

    You merged your changes 649a79d so, I do not understand Perhaps was there an issue as I made my modifications for french translations in my branch that you merged

  11. parapente commented on Mar 23, 2026

    @parapente
    Collaborator

    No it was not your fault. It seems that I made some changes locally and I didn't push them to the repository. Indeed changing compatibility to compat6 and system to behaviour the test is working as expected.

  12. self-assigned this
    on Mar 23, 2026
  13. added a commit that references this issue on Mar 23, 2026
    55ad16d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions