Multidmedia Limited (MDM)
Search
advanced search »    
Quick Links
advanced search »
   Friday September 10th 2010

 




Untitled Document
+
Products & Solutions
 
Products
- Zinc 3.0 Builder
- Zinc 3.0 Plug-In Windows
- Zinc 3.0 Plug-In Mac OSX
- Zinc 3.0 Plug-In Linux
- Zinc 3.0 Development Suite
- Inferno 1.0 Windows
- Inferno 1.0 Mac OSX
Solutions
- Developers
- Designers
- Education
   
+
Support & Resources
 
Support
- Support Home
- Technotes & Known Issues
- FAQs
- Contact Us
Resources
- Software Updates
- Software Release Notes
- Software Bug Management
- Developer Articles
- File Exchange
- LiveDocs
- Support Forums
   
+
Purchase Online
 
- Online Shop
- Find a Reseller
- Volume Licensing
   
+
Company
 
- About Multidmedia (MDM)
- Client Showcase
- Legal Information
- Job Opportunities
- Press Room
- Blog
   
 

breadcrumbs

Home > Support > Bugs

 

Software Bug Management & Tracking

The MDM Software Bug Management and Tracking System is used to track and monitor the progress of user reported software bugs. You can search for a reported issue below to track it's progress and/or to get more information on an outstanding technical issue.


Bug Report #ZNC-7151GT
Verified on 03 May 2010
mdm.FileSystem.fileExists and mdm.FileSystem.folderExists cannot be used to check if path is folder or file  
Reported By Staff Member
This issue is Pending and is marked as a Low priority.
 
Zinc 3.0 > Mac OSX > Wrapper/Projector > 3.0.19 > Incorrectly Functioning  
Description
on Mac OS X mdm.FileSystem.fileExists and mdm.FileSystem.folderExists due to underlying implementation are effectively working in the same way and can be used with both files and folders.
For example mdm.FileSystem.fileExists(...) method can be used to check folders and files. The same is supported by mdm.FileSystem.folderExists.
That is different from Windows implementation that will always return "false" for checks for folders with mdm.FileSystem.fileExists and for checks of file path with mdm.FileSystem.folderExists.

The provided example checks if application path and application filename path exists using mdm.FileSystem.fileExists and mdm.FileSystem.folderExists respectively.
Both checks returns true (positive) on Mac OS X while expected results are false (as on Windows).

This leaves developers without way of checking if given path is folder or file (not yet introduced feature in api). This could be work around on Mac OS X with use of AppleScript similar to below one:

set DOES_NOT_EXITS to "does not exists"
set results to "$HFS_OR_POSIX_PATH"
try
tell application "System Events" to get class of item (results as text)
on error
set results to DOES_NOT_EXITS
end try


To repeat issue compile provided sample from "output" folder and then run on your machine.
Expected results are "false" while current implementation returns true
Attached File(s)
Click Here to download the Attached File
Resolution
Pending

View all Pending Bug Reports » Report a new Software Bug/Issue »

 

 
Multidmedia Limited (MDM)

AddThis Social Bookmark Button
Copyright © 2002-2010 Multidmedia Limited (MDM) All rights reserved. Use of this website signifies your agreement to the Terms of Use.
Flash, Flex and associated Logos are the Registered Trademarks of Adobe Systems, Inc.
There are currently 25 Users Online.