#82 ✓resolved
Tomas Franzén

isLocal parameter of objj_import is not respected

Reported by Tomas Franzén | October 2nd, 2008 @ 12:34 PM | in 0.5.2

The isLocal parameter of objj_import is not respected, and is always treated as YES.

The reason for this seems to be a parameter mismatch between where objj_import calls fragment_create_file and what fragment_create_file expects.

objj_import does this:

fragment_create_file(aPath, isLocal, YES)

but look at fragment_create_file's params:

fragment_create_file(aPath, aBundle, isLocal, isImport, aFile)

This shows that isLocal should in fact be the third parameter, and not the second as called by objj_import. There are also two unused params, but I'm not sure what implications this has.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins


Referenced by