Ticket #347 (new Bug report)
changing from uploaded file to remote url for node content generates invalid query
| Reported by: | math@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | Not yet assigned to a Milestone |
| Component: | Auth server, Content Management | Version: | |
| Keywords: | Cc: |
Description
I changed from an uploaded image to a remote url for the content of a node and this invalid query was generated and errored onto my admin node management page:
Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "WHERE" LINE 1: UPDATE content_file SET data_blob = WHERE files_id='3cb249d... in /var/www/wifidog-auth/wifidog/classes/AbstractDb.php on line 394
execSqlUpdate(): An error occured while executing the following SQL query :
UPDATE content_file SET data_blob = WHERE files_id='3cb249d6a9883df57b0fe4d5e1b8c3d8'
Error message : ERROR: syntax error at or near "WHERE" LINE 1: UPDATE content_file SET data_blob = WHERE files_id='3cb249d...
