bugGNUstep - Bugs: bug #29719, cannot save some .gorm as nib

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #29719: cannot save some .gorm as nib

Submitted by:  matt rice <ratmice>
Submitted on:  Thu 29 Apr 2010 10:17:58 PM UTC  
 
Category: GormSeverity: 3 - Normal
Item Group: NoneStatus: Postponed
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Open

Sun 03 Apr 2011 11:39:18 PM UTC, comment #3:

I am currently looking into the problem in Gorm. I have yet to confirm your analysis, but I don't have any reason to doubt that it's correct.

GC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Sun 03 Apr 2011 09:29:26 AM UTC, comment #2:

If bug #31311 is really a duplicate of this one, then the analysis here is completely wrong and should be replaced with what I posted for #31311:

The problem here seems to be that Gorm only adds OIDs for the objects referenced in connections. Your active window doesn't seem to be involved in any connection, so it is missing from that list and the addObject: call will fail due to the nil parameter.

The method [NSIBObjectData initWithDocument:] in the file GormNibWrapperBuilder.m should at least add the window and the menu from the GormDocument to the OIDs when they aren't present there already.

Fred Kiefer <FredKiefer>
Project Member
Tue 04 May 2010 11:49:41 PM UTC, comment #1:

This issue is due to a problem in encoding in the GUI lib for some classes. I'm deferring it to the next release since fixing this bug will alter code in GUI which is currently in feature freeze.

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Thu 29 Apr 2010 10:17:58 PM UTC, original submission:

loading up DBModeler/Inspectors/RelationshipInspector.gorm
or loading up DBModeler/Inspectors/AttributeInspector.gorm
and saving as a cocoa .nib file produces this output: (for alot of objects)

and the .nib file is never written

2010-04-29 22:13:38.909 Gorm[16188] ==> WARNING: value for object <NSMenuItem: 0x2834df0> is (nil) in objects map.
2010-04-29 22:13:38.909 Gorm[16188] ==> WARNING: value for object <NSMenuItem: 0x2834df0> is (nil) in names map.
2010-04-29 22:13:38.909 Gorm[16188] ==> WARNING: value for object <NSMenuItem: 0x2834df0> is (nil) in oids map.

matt rice <ratmice>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by gcasa (Updated the item)
  • -unavailable- added by ratmice (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 04 May 2010 11:49:41 PM UTCgcasaStatusNone=>Postponed
    Fri 30 Apr 2010 12:54:21 AM UTCgcasaAssigned toNone=>gcasa

    Back to the top


    Powered by Savane 3.1-cleanup