DOpus crash using FSUtil.ReadDir() with path in lib:// format

Beginning in version 12.10, it appears that using a path in the lib:// format with FSUtil.ReadDir() will cause DOpus to crash. I think it actually crashes on the resulting FolderEnum's Next() command.

Paste the following code into the CLI Script Editor, select JScript as the language and make sure the path specified in the 'base' variable is valid. Run the code and DOpus should crash.

var base = "lib://Foo/";
var fsutil = DOpus.FSUtil;
var items = fsutil.ReadDir( base, false );
var item;

while ( !items.complete ) {
   item = items.next();
   DOpus.Output( item.name );
}

The workaround I have found is to use the FSutil.Resolve() command on the path.

var items = fsutil.ReadDir( fsutil.resolve(base), false );

This code is a simplified case of some code from my scripts, which worked through 12.9, but crashes 12.10 (including beta 3).

Confirmed, sorry about that! We'll get it fixed in the next update.

Good news, thanks for looking at this.

The fix for this is in the new 12.10.4 Beta.