volto icon indicating copy to clipboard operation
volto copied to clipboard

Alerts for external validation errors in ObjectBrowserWidget

Open alexandreIFB opened this issue 9 months ago โ€ข 6 comments

Solution

To solve this problem, I combine this.state.errors (internal errors) with this.props.error (external errors) before passing them to the FormFieldWrapper.

Testing Instructions

To simulate the issue and verify the fix:

Save Teaser without providing Target ( href).

Closes #6787

alexandreIFB avatar Mar 11 '25 14:03 alexandreIFB

Deploy Preview for plone-components canceled.

Name Link
Latest commit a88e8f2e35dcc61361b6c1979acb67370707d174
Latest deploy log https://app.netlify.com/sites/plone-components/deploys/67d04d0c0718fb0008b0d7cc

netlify[bot] avatar Mar 11 '25 14:03 netlify[bot]

@wesleybl

alexandreIFB avatar Mar 11 '25 14:03 alexandreIFB

Deploy Preview for plone-components canceled.

Name Link
Latest commit 5d751f0ae4bcb53e98919b14dcd4f085f43e2693
Latest deploy log https://app.netlify.com/sites/plone-components/deploys/67d04d186fd63500085a0dee

netlify[bot] avatar Mar 11 '25 14:03 netlify[bot]

@alexandreIFB we already have a suggested fix for this issue at: https://github.com/plone/volto/pull/6810

Can you please take a look there?

wesleybl avatar Mar 11 '25 15:03 wesleybl

@sneridagh @davisagli Can you take a look at this bug fix?

alexandreIFB avatar May 28 '25 16:05 alexandreIFB

Hi There! ๐Ÿ‘‹

We haven't seen any activity on this pull request in a while :sleeping:, and we want to make sure that it's still relevant. Please let us know by:

  • adding a comment about what needs to be done next ๐Ÿ’ฌ
  • updating its status and other labels ๐Ÿท๏ธ

Otherwise close this pull request. ๐Ÿงน

github-actions[bot] avatar Nov 30 '25 00:11 github-actions[bot]