Closed (fixed)
Project:
filedepot
Version:
6.x-1.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2010 at 13:41 UTC
Updated:
26 Nov 2010 at 18:30 UTC
When i build a file type view, i am getting an error generated.
user warning: Unknown column 'type' in 'field list' query: SELECT files.fid AS fid, type, nid, vid FROM files files LIMIT 0, 10 in /var/www/docs/sites/all/modules/views/includes/view.inc on line 771.
It's a simple view that just uses the first option in Fields which is, Content: Folder File (field_filedepot_file).
I'm looking to be able to create a list of all currently published documents. Do not want to include old versions.
| Comment | File | Size | Author |
|---|---|---|---|
| sample_view.txt | 1.5 KB | rockitdev |
Comments
Comment #1
blainelang commentedWhere are you getting the 'type' field from - as the error indicates, that field does not exist.
Comment #2
rockitdev commentedThe views UI seems to be generating it.
the view i attempted to create was quite simple. I started with a new view which had a type of "file", and tried adding a single field which was the Content: Folder File (field_filedepot_file) field and that's the error that is getting thrown.
This is occuring with Views 6.x-2.10
Comment #3
rockitdev commentedhas filedepot been tested to work with views, or is it at the current time only been tested to work within the filedepot UI?
Comment #4
blainelang commentedI have used it to generate a view and was going to write it up as a blog post on our site. I did not have any issues other then needing to create a custom php template to show the attachments in my view.
Comment #5
rockitdev commentedhhhmmm... wonder was is going so odd in my view... basically, i just need to be able to create lists of documents to output on various pages.
we're start our project of migrating www.cdha.nshealth.ca over to drupal soon and one of the last remaining pieces of functionality we were missing was a document management system. luckily, filedepot has come out recently.
Comment #6
tdombos commentedsubscribe
Comment #7
blainelang commentedMoving this to fixed - it was reported on one of the early releases.