πŸ‡ΊπŸ‡¦Ukraine @Stockticker

Account created on 12 September 2017, almost 7 years ago
#

Recent comments

πŸ‡ΊπŸ‡¦Ukraine Stockticker

+1. In my case, it's:

$form["submit"]['#states'] = [
        'disabled' => [
          ':input[name="file_upload[fids]"]' => ['empty' => TRUE],
        ],
      ];

it stopped working after upgrading to 10.2.2.

πŸ‡ΊπŸ‡¦Ukraine Stockticker

Hmm, I think the patch provided in https://www.drupal.org/project/drupal/issues/3368250 πŸ› Deprecated creation of dynamic property in TypedData Needs work is not a proper fix, as it also brings tons of other different warnings (even errors), if you have other contrib modules installed, which extend abstract class TypedData.
Please, see the class description (of the TypedData abstract class):

 * Classes deriving from this base class have to declare $value
 * or override getValue() or setValue().

So, it's a matter Drupal\tablefield\TableValue to declare $value.

Here's a new patch, it fixes both the original report issue plus the one that appears in #5.

πŸ‡ΊπŸ‡¦Ukraine Stockticker

I think this is exactly what's described in https://www.drupal.org/project/media_bulk_upload/issues/3355468 πŸ› Can not upload using core file upload element (no dropzonejs) because of false validation errors RTBC

πŸ‡ΊπŸ‡¦Ukraine Stockticker

Thanks for your comment, Greg!
Indeed, in my case, it was an issue with a custom map icon, and that icon URL had a leading slash in the path.

The help text says: "Can be an absolute or relative URL (as Drupal root folder relative paths without the leading slash)" - so it was clearly an issue on our end.

πŸ‡ΊπŸ‡¦Ukraine Stockticker

And here we are, 8 months later :)

re-roll for 2.1.x, based on a patch from a #15.

πŸ‡ΊπŸ‡¦Ukraine Stockticker

Thanks for the patch! I can confirm that the same issue appears for a Domain Access module, strange that no one reported it before. The patch solves the problem.

Production build 0.69.0 2024