Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 389472

Summary: Scout Calendar field not working with RAP and batik 1.6
Product: z_Archived Reporter: Judith Gull <judith.gull>
Component: ScoutAssignee: Judith Gull <judith.gull>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: zimmermann
Version: 3.8.0Flags: zimmermann: juno+
Target Milestone: 3.8.1   
Hardware: PC   
OS: Windows 7   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=388722
Whiteboard:

Description Judith Gull CLA 2012-09-13 02:43:00 EDT
Error copied from Bug 388722 to track this issue separately. When using batik 1.6 the RWTScoutCalendarField is not working. With batik 1.7 the error does not occur.

This is because SVGOMTextElement.setTextContent is not defined in batik 1.6, but used in AbstractCalendarDocumentBuilder.

To avoid such problems in the future dropping batik 1.6 support may be considered.

java.lang.AbstractMethodError: org.apache.batik.dom.svg.SVGOMTextElement.setTextContent(Ljava/lang/String;)V
	at org.eclipse.scout.rt.ui.svg.calendar.builder.AbstractCalendarDocumentBuilder.initWeekdayHeadingNames(AbstractCalendarDocumentBuilder.java:379)
	at org.eclipse.scout.rt.ui.svg.calendar.builder.AbstractCalendarDocumentBuilder.<init>(AbstractCalendarDocumentBuilder.java:197)
	at org.eclipse.scout.rt.ui.svg.calendar.builder.CalendarWeekBuilder.<init>(CalendarWeekBuilder.java:12)
	at org.eclipse.scout.rt.ui.svg.calendar.builder.AbstractCalendarDocumentBuilder.createInstance(AbstractCalendarDocumentBuilder.java:296)
	at org.eclipse.scout.svg.ui.rap.calendarfield.RwtScoutCalendarField.getDocBuilder(RwtScoutCalendarField.java:144)
	at org.eclipse.scout.svg.ui.rap.calendarfield.RwtScoutCalendarField.updateSvgDocument(RwtScoutCalendarField.java:52)
	at org.eclipse.scout.svg.ui.rap.calendarfield.RwtScoutCalendarField.attachScout(RwtScoutCalendarField.java:103)
	at org.eclipse.scout.rt.ui.rap.basic.RwtScoutComposite.createUiField(RwtScoutComposite.java:154)
Comment 1 Judith Gull CLA 2012-09-17 05:24:25 EDT
Fixed: Changed incompatible methods setTextContent and setUserData.
Comment 2 Matthias Zimmermann CLA 2012-11-13 02:35:10 EST
shipped with scout juno sr1