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

 
 

bug #29719: cannot save some .gorm as nib

Submitter:  matt rice <ratmice>
Submitted:  Thu 29 Apr 2010 10:17:58 PM UTC
 
Category:  Gorm Severity:  3 - Normal
Item Group:  None Status:  Postponed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

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 Administrator
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 Administrator
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

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-04 gcasa StatusNone Postponed
    2010-04-30 gcasa Assigned toNone gcasa

    Back to the top


    Powered by Savane 3.9