Fixed Unfurl: Description too big error

arn

Well-known member
Affected version
2.1, 2.2
see:


Code:
UPDATE  `xf_unfurl_result` SET `title` = ?, `description` = ?, `last_request_date` = ?, `pending` = ? WHERE `result_id` = 25073
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1406, '22001')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1406, '22001')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(322): XF\Db\AbstractAdapter->query('UPDATE  `xf_unf...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1468): XF\Db\AbstractAdapter->update('xf_unfurl_resul...', Array, '`result_id` = 2...')
#5 src/XF/Mvc/Entity/Entity.php(1195): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/Service/Unfurl/Fetcher.php(51): XF\Mvc\Entity\Entity->save()
#7 unfurl.php(57): XF\Service\Unfurl\Fetcher->fetch()

Really long description breaks the unfurl function
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.0 Beta 3).

Change log:
Trim long values when saving unfurl metadata
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom