Closed (fixed)
Project:
Xray Audit
Version:
3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2025 at 14:04 UTC
Updated:
2 Feb 2026 at 14:59 UTC
Jump to comment: Most recent
drush updb
--------- ------------------------ --------------- ---------------------------
Module Update ID Type Description
--------- ------------------------ --------------- ---------------------------
system 11202 hook_update_n 11202 - Add an
[exit_code] column to the
{simpletest} table, if
existing.
system 11300 hook_update_n 11300 - Equivalent update
to 10600.
mermaid 9002 hook_update_n 9002 - Same as 9001 but
_diagra running a second time.
m_field
views 11201 hook_update_n 11201 - Removes the
ui.show.advanced_column
setting.
block_c remove_block_content_l post-update Remove
ontent isting_empty block_content_listing_emp
ty from views.
block_c remove_block_content_s post-update Remove deprecated status
ontent tatus_info_keys and info keys from
block_content blocks.
ckedito list_type post-update No-op update that didn't
r5 update quite enough the
first time.
ckedito list_type_again post-update Updates Text Editors
r5 using CKEditor 5 to
native List "type"
functionality.
content add_index_content_mode post-update Add moderation_state
_modera ration_state_field_rev index to
tion ision_moderation_state content_moderation_state
tables.
node add_rebuild_permission post-update Grants a new permission
_to_roles for rebuilding node
access permissions.
node create_promote_base_fi post-update Creates base field
eld_overrides override config for the
promote base field on
node types.
system delete_rss_config post-update Delete obsolete
system.rss configuration.
update fix_update_emails post-update Remove empty email
addresses from
update.settings
configuration.
views add_date_default_argum post-update Clear cache to add new
ents date default arguments.
views format_plural post-update Updates the format plural
option for those views
using aggregation.
--------- ------------------------ --------------- ---------------------------
┌ Do you wish to run the specified pending updates? ───────────┐
│ Yes │
└──────────────────────────────────────────────────────────────┘
> [notice] Update started: system_update_11202
> [notice] Update completed: system_update_11202
> [notice] Update started: system_update_11300
> [notice] Update completed: system_update_11300
> [notice] Update started: mermaid_diagram_field_update_9002
> [notice] Add allow_download column to existing field tables, again.
> [notice] Update completed: mermaid_diagram_field_update_9002
> [notice] Update started: views_update_11201
> [notice] Update completed: views_update_11201
> PHP Fatal error: Cannot redeclare non-readonly property Drupal\Component\Plugin\Attribute\AttributeBase::$dependencies as readonly Drupal\xray_audit\Attribute\XrayAuditTaskPlugin::$dependencies in /var/www/web/modules/contrib/xray_audit/src/Attribute/XrayAuditTaskPlugin.php on line 12
> [warning] Drush command terminated abnormally.
In ProcessBase.php line 155:
Output is empty.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
maxilein commentedHere is the order of the updates when xray is uninstalled:
Comment #3
tunicThe problem is core introduced a new
$dependenciesproperty in AttributeBase in this commit:https://git.drupalcode.org/project/drupal/-/commit/ccbcf3126e1e592d381b5...
And Xray's XrayAuditTaskPlugin, that has AttributeBase in its hierarchy, also declares a
$dependenciesproperty:https://git.drupalcode.org/project/xray_audit/-/blob/2.x/src/Attribute/X...
This makes current Xray release not compatible with Drupal 11.3.
Comment #6
eduardo morales albertiComment #7
eduardo morales albertiCreated MR with the required changes
Comment #8
tunicWe need to change the core requirements in info file:
From:
To:
core_version_requirement: ^11.3I think this implies a new major version. Also, 2.0.2 and 1.6.1 should be patched to limit the maximum 11.3 version accepted. I think this should be:
So we also need 2.0.3 and 1.6.2.
Comment #10
albeorte commentedI have updated the existing branch for this issue with the change requested by @tunic, updating the core requirement in the
.info.ymlfile.Comment #11
tunicI think we need to create a new 3.x branch and 3 PR here:
Comment #12
lpeidro commentedComment #13
lpeidro commentedI merge the MR.
Comment #17
tunicReopen to fix the other branches.
Comment #20
tunicFixed 1.x and 2.x branches, releases published (2.0.3 and 1.6.2).