GuySartorelli / silverstripe-composable-validators

Reusable validators that can be composed together for use in the Silverstripe framework
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Module is not working with new linkfield module #7

Open silverstripesk opened 4 months ago

silverstripesk commented 4 months ago

module isn't working with new linkfield module:

obrázok

I tried to ignore SilverStripe\LinkField\Form\MultiLinkField, but it did't help.

GuySartorelli commented 4 months ago

Please provide... like... any information that might help debug this. What validators were you using? What extensions did you have applied? What did you do to trigger this? What were the errors in your logs, if any? etc etc etc etc etc.

Also I don't have much time for this module so if you need this to be fixed in a timely manner I strongly encourage you to work on a PR.

silverstripesk commented 4 months ago

Silverstripe 5.2 with latest linkfield module (4.0.4). This module in version 2.3.0 with global setup like this:

SilverStripe\ORM\DataObject:
  extensions:
    - Signify\ComposableValidators\Extensions\DataObjectDefaultAjaxExtension
    - Signify\ComposableValidators\Extensions\DataObjectValidationExemptionExtension

SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest:
  extensions:
    - Signify\ComposableValidators\Extensions\GridFieldItemRequestValidationExemptionExtension

no other setup on composable module, linkfield module installed and configured per basic setup instructions.

Yes, if I find time, I will debug it and try to make PR, but currently, it is out of my focus, as I do not need composable in this project and it is easier for me to disable it.

GuySartorelli commented 4 months ago

Does the bug happen when saving a page which has links? Or when saving the link itself? Or when doing something else?

silverstripesk commented 4 months ago

When I save DataObject with links.