bugGNUstep - Bugs: bug #34644, [bindings] can't bind to properties

 
 

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

bug #34644: [bindings] can't bind to properties

Submitted by:  julian <julian_>
Submitted on:  Tue 25 Oct 2011 12:59:05 PM UTC  
Votes:  25  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

Mon 31 Oct 2011 11:46:59 PM UTC, comment #2:

>Could you please that having "hidden" as a real property isn't causing any additional issues.


thanks very much, i can confirm the sample works fine now including the synthesized accessors.

>You had removed the actual clue from your error message


sorry i just paraphrased it since the gnustep installation is on another machine, i'll be more careful next time.

julian <julian_>
Mon 31 Oct 2011 06:06:58 PM UTC, comment #1:

I fixed the underlying bug in the loading of KVB from a XIB file. I only could test this with the property values implemented as proper methods. Could you please that having "hidden" as a real property isn't causing any additional issues.

You had removed the actual clue from your error message, the object was given as GSKVONSCustomObject. This means the code was trying to KVO the NSCustomObject not the underlying GameSheetController.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Tue 25 Oct 2011 12:59:05 PM UTC, original submission:

gnustep seems to be unable to bind properties of user interface elements to properties of my custom objects (which are instantiated from the XIB file) instead of binding to the user defaults controller which works fine.

the attached sample shows the issue. the main window contains a label, and "hidden" of the label is bound to the property "hidden" of the object "GameSheetController".

the sample of course works fine under mac os x (label toggled from hidden to visible every half second) but gnustep can't load the xib with this error:

Exception occured [sic] while loading model: Unable to find value for key "hidden" of object ....

julian <julian_>

 

Attached Files
file #24195:  gnustepbug.zip added by julian_ (10KiB - application/zip)

 

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 julian_ (Voted in favor of this item)
  • -unavailable- added by julian_ (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 25 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 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 01 Nov 2011 07:13:18 PM UTCFredKieferStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Mon 31 Oct 2011 06:06:58 PM UTCFredKieferCategoryNone=>Gui/AppKit
      Item GroupNone=>Bug
      StatusNone=>Ready For Test
      Assigned toNone=>FredKiefer
      Open/ClosedOpen=>In Test
    Tue 25 Oct 2011 12:59:17 PM UTCjulian_Carbon-Copy-=>Added julian_
    Tue 25 Oct 2011 12:59:05 PM UTCjulian_Attached File-=>Added gnustepbug.zip, #24195

    Back to the top


    Powered by Savane 3.1-cleanup1