Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006914 [Squeak Packages] Seaside minor always 02-12-08 18:28 02-29-08 20:40
Reporter renggli View Status public  
Assigned To renggli
Priority normal Resolution fixed  
Status resolved  
Summary 0006914: WAMiniCalendar has a big problem that makes it ANSI-incompatible.
Description WAMiniCalendar has a big problem that makes it ANSI-incompatible.
#month is expected to return a Month, but in ANSI it returns the month
index. Would it be too big for 2.9 to fix WAMiniCalendar to not use the
nonportable Month and Week (via #weeksDo:) classes anymore?
Additional Information
Attached Files

- Relationships

- Notes
(0011841 - 295 - 374 - 374 - 374 - 374 - 374)
renggli
02-19-08 17:12

I found some issues with WAMiniCalendar (initialize)!
 
Date today month -> ... returns the month index in GemStone
Date today month -> ... returns an instances of Month in Squeak
Not sure about other implementations!
 
So I think Seaside should use:
 
"Date today asMonth" in that case.
 
(0011842 - 225 - 388 - 388 - 388 - 388 - 388)
obi068
02-19-08 18:05

2 more fixes for asMonth instead of month
WAMiniCalendar:
renderCellForDate: aDate on: html
    html tableData: [
        aDate asMonth = self month ifTrue: [

date: aDate
    date contents: aDate.
    month contents: aDate asMonth
 
(0011878 - 107 - 107 - 107 - 107 - 107 - 107)
bonzini
02-27-08 14:11

I posted a rewritten WAMiniCalendar that does not use Squeak-specific Date classes on the seaside-dev list.
 
(0011888 - 28 - 28 - 28 - 28 - 28 - 28)
pmm
02-29-08 20:40

fixed in Seaside-Core-dkh.65
 

- Issue History
Date Modified Username Field Change
02-12-08 18:28 renggli New Issue
02-12-08 18:28 renggli Status new => assigned
02-12-08 18:28 renggli Assigned To  => renggli
02-19-08 17:12 renggli Note Added: 0011841
02-19-08 18:05 obi068 Note Added: 0011842
02-27-08 14:11 bonzini Note Added: 0011878
02-29-08 20:40 pmm Status assigned => resolved
02-29-08 20:40 pmm Resolution open => fixed
02-29-08 20:40 pmm Note Added: 0011888


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
50 total queries executed.
38 unique queries executed.
Powered by Mantis Bugtracker