Deprecated function: Creation of dynamic property externalhost line 60 of src/Filebrowser.php

Created on 11 March 2025, 24 days ago

Problem/Motivation

We upgraded from version 1 and somehow we have some data that was not massaged over to the 3.1.x design. There would normally have been a hook_update to verify if the schema needed the fix and if so, make adjustments without data loss. Sometimes this is a tall order so therefore I have found a patch that allows the module to continue accepting the legacy externalhost as the new camel case externalHost.

Steps to reproduce

Install filebrowser 1x on Drupal 8. Create some filebrowser records. Upgrade to Drupal 9 1x, then upgrade to Drupal 10 with version 1 or 2 of filebrowser, then upgrade to the latest 3.1.x with Drupal 11. You'll see the issue.

Proposed resolution

See patch

Remaining tasks

Review/commit patch, tag and release

User interface changes

N/A

API changes

Minor

Data model changes

N/A

🐛 Bug report
Status

Active

Version

3.1

Component

Directory Listing Pages

Created by

🇨🇦Canada joseph.olstad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024