* returns the comments that belong to the article (via entityrelation)
* where db-flag is_published is true
*/
- public Entity getMediaType(EntityUploadedMedia ent) {
+ public Entity getMediaType(Entity ent) {
Entity type=null;
try {
+ theLog.printError("about to run relationMediaType");
type = relationMediaType.getOne(ent);
}
catch (StorageObjectException e) {