GetTemporaryFolderItem weird filename

I’m doing this in a 2016r4.1 web app (currently running on Mac):

dim fTemp as FolderItem = GetTemporaryFolderItem

The file that I get back always looks like this:

Macintosh HD:private:var:folders:hj:jsrfxhkj38911d9qwj1wkpx00000gn:T:TemporaryItems:b-temp1[/b]

Note the “(null)” in the filename. That’s a string, it’s not an ascii 0x00.

Why would I get such an odd filename? I don’t think it’s causing problems, but I’m a bit concerned.


probably no bundle identifier set

No, the bundle identifier is there. You have two more chances to win our prize (Carl Kasell’s voice on your home answering machine).

UNLESS: in debug mode, does the bundle identifier get set? I’m running it in the debugger.

Nope, that’s not it. Same problem with a compiled app.

Web apps are basically console apps and, when compiled, do not have a bundle id
It would live in the plist if they had one - which they dont

I’m 100% sure thats the issue

shouldn’t cause any problems for debugging BUT do file a bug report as it looks like its this way in the framework

Thanks Norman.