bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #15556] TextField + DateFormatter + checking "Allows natural langua


From: Nikolaus Waxweiler
Subject: [bug #15556] TextField + DateFormatter + checking "Allows natural language" -> Crash
Date: Sat, 28 Jan 2006 22:30:19 +0000
User-agent: Opera/8.51 (X11; FreeBSD i386; U; en)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15556>

                 Summary: TextField + DateFormatter + checking "Allows
natural language" -> Crash
                 Project: GNUstep
            Submitted by: madleser
            Submitted on: Sat 01/28/06 at 22:30
                Category: Gorm
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

1. Document -> New Application
2. Drag 'n Drop a TextField onto the app.
3. Drag 'n Drop a DateFormatter on the TextField.
4. Inspector -> "Formatter" section.
5. Check "Allows natural language".
6. Crash (doesn't if you unfocus/minimize the application fast enough): 

#0  0x287b8178 in objc_msg_lookup () from /usr/lib/libobjc.so.2
#1  0x2857e5d8 in -[NSDateFormatter initWithDateFormat:allowNaturalLanguage:]
() from /usr/local/GNUstep/System/Library/Libraries/libgnustep-base.so.1.11
#2  0x298ec6d8 in -[GormDateFormatterAttributesInspector ok:]
(self=0x882edc8, _cmd=0x80bbf10, sender=0x8820308) at
GormDateFormatterAttributesInspector.m:106

line 106: fmtr = [[NSDateFormatter alloc] initWithDateFormat:dateFmt

'dateFmt' is nil here, since the if-else thingy above it doesn't initialize
it. From what I understand from it, the whole "ok:" method only ever looks at
'sender', which is a checkbox in this case, and doesn't check whether there's
already a working 'fmtr'.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15556>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]