Opened 4 years ago

Last modified 4 years ago

#13898 confirmed Bug

Make ACF more robust, and document it better

Reported by: Wim Leers Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Drupal Cc: wim.leers@…

Description (last modified by Wim Leers)

https://www.drupal.org/node/2585173 and https://www.drupal.org/node/2598070 show quite severe DX (Developer Experience) problems with CKEditor's ACF (allowedContent + requiredContent).

Some things are subtly broken (#13886).

Some things that you'd reasonably expect to accept data in the same format in fact do not accept data in said format (see https://www.drupal.org/node/2585173#comment-10456981: requiredContent does not accept the object format, unlike allowedContent).

Making it more robust by throwing exceptions if the provided data does not comply with one of the known formats would improve DX significantly.

Related: #13886

Change History (2)

comment:1 Changed 4 years ago by Wim Leers

Description: modified (diff)

comment:2 Changed 4 years ago by Jakub Ś

Status: newconfirmed
Version: 4.5.4
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy