Path File module is incompatible with Filefield Paths module

Created on 10 November 2021, over 3 years ago
Updated 7 March 2025, 2 days ago

Problem/Motivation

The path_file module appears to be incompatible with filefield_paths as attempting to Pathfile_entity as described throws this error -

Error: Call to undefined method Drupal\Core\Field\BaseFieldDefinition::getThirdPartySettings() in filefield_paths_field_widget_form_alter() (line 216 of modules/contrib/filefield_paths/filefield_paths.module).

Steps to reproduce

Enable filefield_paths (composer require drupal/filefield_paths) Enable path_file module - try to add a filepath entity - get the error from above.

Proposed resolution

They should work and the path_file entity should allow files to be uploaded. It is unclear what is causing this issue. If nothing else I wanted to note the incompatibility for anyone else who tries to use these both on the same server.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States robbt

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024