- πΊπ¦Ukraine AstonVictor
I'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks
If you attempt to add a duplicate url, a sql exception is thrown. See below:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'oembed://...' for key 'uri': INSERT INTO {file_managed} (uid, filename, uri, filemime, filesize, status, timestamp, type) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, [error]
:db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7);
The expected behavior would be to check if the file already exists before attempting to add again.
This can be accomplished by sending TRUE to function file_uri_to_object on line 854 of oembed.module as shown below:
$file = file_uri_to_object($uri, TRUE);
Closed: outdated
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks