Accessing /webdav/nodes/ and /webdav/vocabularies/
I've got some 'table does not exists" error on SELECT statements
in files webdav\webdav_taxonomy\webdav_taxonomy.module
and webdav\webdav_node\webdav_node.module

E.g.
$cursor = db_query("SELECT name,type from node_type order by name") in function webdav_node_nodes_members()

$cursor=db_query("select r.title,r.nid from term_node t
inner join node_revisions r on r.vid=t.vid
inner join node n on r.vid=n.vid .... in function webdav_taxonomy_vocabulary_members(

.. and others

Adding {} around table names solves the problem.

CommentFileSizeAuthor
#1 webdav-n679440.patch5.44 KBdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new5.44 KB

Patch included. I also fixed a few coding standards issues with some queries (I changed the SQL reserved words to uppercase). That said, the module could really do with some syntax cleanups.

mably’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.