What steps will reproduce the problem?
1. Create an appointment
2. set the appointment Id
3. clone the appointment
What is the expected output? What do you see instead?
I would expect the id is also copied
In Appointment.java the clone method should be:
public Appointment clone() {
Appointment clone = new Appointment();
close.setId(this.id);
clone.setAllDay(this.allDay);
clone.setAttendees(this.attendees);
clone.setCreatedBy(this.createdBy);
clone.setDescription(this.description);
clone.setEnd(this.end);
clone.setLocation(this.location);
clone.setStart(this.start);
// clone.setAppointmentStyle(this.appointmentStyle);
clone.setTitle(this.title);
clone.setStyle(this.style);
return clone;
}
Original issue reported on code.google.com by ctasada on 23 Sep 2010 at 3:59
Original issue reported on code.google.com by
ctasada
on 23 Sep 2010 at 3:59