Closed (works as designed)
Project:
File Entity (fieldable files)
Version:
7.x-2.0-unstable3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2012 at 10:46 UTC
Updated:
2 Sep 2012 at 06:10 UTC
Comments
Comment #1
sdk commentedWhere did you add the code snippet in the file? I seem not to be able to get it to work...
Comment #2
camdarley commentedI add it to file_entity.file_api.inc in the file entity module. At the beginning of the code.
Comment #3
patty.fresonke commentedI'm getting this error too except in media_page_edit
Use of undefined constant FILE_TYPE_NONE - assumed 'FILE_TYPE_NONE' in media_page_edit()
So could this maybe be made into a patch to get added back in? Or was there a found reason for removing it in the first place?
Comment #4
dave reidThere are absolutely no references to FILE_TYPE_NONE at all in the current versions of Media or File entity 7.x-2.x. So I'm not sure how this could be happening. Do we have the correct version assigned to this issue?
Comment #5
patty.fresonke commentedI'm using Media 7.x-1.2 and File entity 7.x-2.0-unstable6 and getting the error.
Comment #6
dave reidYou cannot mix branches of Media and File entity. If you are using Media 1.x, then you need to use the version of File entity that is included with the module, and not this separate project. If you are using Media 2.x, then you need to use is separate File entity project 2.x version.
Repeat: you cannot mix versions.
Comment #8
dave reidComment #9
patty.fresonke commentedOoops sorry, I was in the process of updating everything to 2.x and must have seen the error before finishing, my bad :)
Comment #10
dunechild commentedworked like a charm for me.