You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I fetch issues from Jira Cloud using said library, and I further process them, for some of them, I get an exception like this:
In BlockNode.php line 65:
[InvalidArgumentException]
Invalid content type"bulletList"for block node "blockquote".
Exception trace:
at /var/www/vendor/damienharper/adf-tools/src/Node/BlockNode.php:65
DH\Adf\Node\BlockNode->append() at /var/www/vendor/damienharper/adf-tools/src/Node/BlockNode.php:43
DH\Adf\Node\BlockNode::load() at /var/www/vendor/damienharper/adf-tools/src/Node/BlockNode.php:41
DH\Adf\Node\BlockNode::load() at /var/www/src/path/to/my/code/Class.php:54
...
Looking at the documentation page referenced in \DH\Adf\Node\Block\Blockquote, in my understanding "bulletList" should be allowed here:
content must contain array of one or more of the following nodes:
Hi,
First: thank you a lot for this open-sourcing this package! I learned about it by working with https://github.com/lesstif/php-JiraCloud-RESTAPI.
When I fetch issues from Jira Cloud using said library, and I further process them, for some of them, I get an exception like this:
Looking at the documentation page referenced in
\DH\Adf\Node\Block\Blockquote
, in my understanding "bulletList" should be allowed here:Would it be an option to add
bulletList
(andorderedList
, for which I also got an exception) as an allowed content type toBlockquote
?I did a quick test by adding them:
I got no errors, and the result seems to be correct for my use case, too.
The text was updated successfully, but these errors were encountered: