AnsweredAssumed Answered

The method getHomeDirectory(Course) is undefined for the type DocumentManagerEx

Question asked by jcurrie on Aug 30, 2017
Latest reply on Sep 18, 2017 by jcurrie

Hi,
I have had a few members of staff getting an error when using the document unpackager building block from OSCELOT. 
I am not sure if it is anything to do with a change of java classes impacting on the building block but it seems to have only happened after moving to continuous deployment on Friday. I would look for changes in the documentation but I am not sure where to look now that we are on SaaS.
Are you able to advise me at all on what I can do to pinpoint the problem? The full error message is below.

Any help you could give me would be greatly appreciated.

 

Thanks,

Joe


Unable to compile class for JSP: 

An error occurred at line: 157 in the jsp file: /modules/create_proc.jsp
The method getHomeDirectory(Course) is undefined for the type DocumentManagerEx
154: //BbFile bbfile = new BbFile(fullPath);
155: 
156: //ContentFile cf = new ContentFile(bbfile);
157: String csLocation = ContentSystemServiceExFactory.getInstance().getDocumentManagerEx().getHomeDirectory( ctx.getCourse() );
158: 
159: File tempFile = new File(FileUtils.getTempDirectory(), UuidFactory.createUuid());
160: 
stacktrace:
For reference, the Error ID is b70c4962-ac55-4cc4-9309-89b205925add.  

Outcomes