File usage is not handleded

Created on 7 February 2018, over 6 years ago
Updated 5 April 2023, over 1 year ago

Currently, the file usage of Drupal is not handled. When you save the logo for the domain, after that you receive the following error:

Error message
The file used in the Upload logo for Domain: test.org field may not be referenced.

Issue is solved in my patch.

Bonus issue solved:
When you have more than one domain record and for one of them you don't set logo. On form submit the following error occurs;

Notice: Undefined offset: 0 in Drupal\domain_access_logo\Form\DomainAccessLogoSettingsForm->submitForm() (line 128 of modules/contrib/domain_access_logo/src/Form/DomainAccessLogoSettingsForm.php).

Both are solved.

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇧🇬Bulgaria yivanov

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