[comp.sys.mac.hypercard] Bug in HyperCard 1.2.5

chh9@quads.uchicago.edu (Conrad Halton Halling) (08/23/90)

A bug in HyperCard 1.2.5:

     o  Format a disk to be one-sided.
     o  Copy a stack to that disk.
     o  Try to open the stack.  If the path is not in the Home Card, the
        stack will not open because HyperCard is unable to open "".
        The alert window says:
                Can't open stack "".
                File system error -37.
        After clicking "OK", you're left in the Home stack.
     o  If the stack does open, or if you open the stack from the Home stack,
        then type "short name of this stack" into the msg box.  Nothing will
        be returned (literally, empty).
     o  Type "long name of this stack" into the msg box.  "Stack" and the
        path without the name of the stack will be returned.

This occurs in HyperCard 1.2.5 using System 6.0.5 on a Mac IIcx or a Mac SE.
There is no problem with a stack on a hard disk or on a two-sided (800K) disk.
--
Conrad Halling
chh9@midway.uchicago.edu

chh9@quads.uchicago.edu (Conrad Halton Halling) (08/23/90)

In a previous article, I discribed a bug in HyperCard 1.2.5 involving
a stack on a single-sided floppy disk.

I have been told that the problem is that HFS (hierarchical filing system)
is not placed on single-sided floppy disks during formatting or erasing
a disk UNLESS you hold down the option key after clicking the "one-sided"
button and keep holding it down until the dialog window reports "creating
directory...".  I have tried this and confirmed it.

[You can tell if you have HFS on your single-sided floppies with the
following simple test:
     o  Create two new folders on the disk.
     o  Drag a file icon from another drive window to the first folder.
     o  Drag the same file icon from the other drive window to the
        second folder.  If you get a dialog window that asks if you want
        to replace items of the same name, then the disk DOESN'T have
        HFS.  Without HFS, you can't have two files with the same name on
        a disk, even if they're in different folders.]

Indeed, the bug goes away as long as HFS has been installed on the 400K
floppy.

I can find nowhere in the HyperCard User's Guide or in the Macintosh 
Reference (describing HyperCard 1.2.5 and System 6.0.5, received with
our Mac IIcx) any description of this "undocumented feature" :-).

Such an undocumented feature should not be present, of course.
--
Conrad Halling
chh9@midway.uchicago.edu

jkc@Apple.COM (John Kevin Calhoun) (08/23/90)

In case you were wondering, yes, we did know about the bug that prevents
HyperCard 1.x from working with MFS disks, and yes, it's fixed in 2.0.

So, now you know that this isn't the bug that's holding us up.  :-)

Kevin Calhoun
Software Engineer
Apple Computer

nayeri@cs.umass.edu (Farshad Nayeri) (08/23/90)

In article <1990Aug22.213451.17972@midway.uchicago.edu> chh9@quads.uchicago.edu (Conrad Halton Halling) writes:
   [You can tell if you have HFS on your single-sided floppies with the
   following simple test:
	o  Create two new folders on the disk.
	o  Drag a file icon from another drive window to the first folder.
	o  Drag the same file icon from the other drive window to the
	   ...

There is even a simpler way to differenciate HFS/MFS folders.
In finder, when looking inside a folder, if there is an extra dot inside 
the double line on top (under the number of items) in the leftmost position,
it is an HFS folder, otherwise it is an MFS folder.

Compare two an open folder from HFS and MFS and you'll see the difference.

--farshad

    
--
Farshad Nayeri                Object Oriented Systems Group
nayeri@cs.umass.edu           Computer and Information Science Dept.
                              University of Massachusetts

Bill_W_Michling@cup.portal.com (08/23/90)

I do not think this is a bug. Remember when you format a disk to be 
single sided it is formatted to be MFS (Macintosh (F)lat file System. 
HyperCard as well as other software does not like MFS systems. When 
you format a disk to be double sided it is a HFS (Hiericle File System) 
sorry for the miss spelling.

Bill Michling
GM / Marianas Electronics-SPN

gaynor@hpuxa.ircc.ohio-state.edu (Jim Gaynor) (08/24/90)

In article <44198@apple.Apple.COM> jkc@Apple.COM (John Kevin Calhoun) writes:
>
>So, now you know that this isn't the bug that's holding us up.  :-)
>
>Kevin Calhoun, Software Engineer, Apple Computer

	Well then, Kevin, can you tell us which bug -is- holding you up?

	<grin>

-=-
+-----------------------------------------------------------------------------+
| Jim Gaynor - The Ohio State Univ. - IRCC - Facilities Mgmt. - OCES  <whew!> |
| Email [gaynor@hpuxa.ircc.ohio-state.edu], [gaynor@agvax2.ag.ohio-state.edu] |
|_  "Don't tell me truth hurts, little girl; because it hurts like hell..."  _|