ValtechTechno/OneCalendar — pull request #98 by wadouk (2012-11-21 09:25:36+00:00)
Title: Fix after mep20121120

To test the change in models.Event

save an Event in mongo without url or OriginalStream

db.events.save({
"_id" : ObjectId("50a63b5eccf22bd03a943d85"),
"description" : "Is your Android code growing big and fat? \r\n\r\nIt's time for a slim down: with AndroidAnnotations, you will lose 42% LOC in a few hours, money-back guaranteed! Oh, by the way... it's Open Source!\r\nTry it now, it works!\r\n\r\nWhy are we writing the same Android code over and over again? Why are our apps harder and harder to maintain? Context and Activity god objects, juggling with threads, loads of anonymous listener classes, tons of unneeded casts... can we improve that?\r\n\r\nWith a few Java annotations, developers can express their intentions and let AndroidAnnotations generate the boring boilerplate code at compile time, using the Java 6 Annotation Processing API.\r\n\r\nThe presentation will start by explaining the key concepts, followed by a live coding diet on a fat application to demonstrate AndroidAnnotations' advantages.\r\n\r\nhttp://androidannotations.org/",
"end" : NumberLong("1352736900000"),
"location" : "Room 9",
"originalStream" : "https://cfp.devoxx.com/rest/v1/events/7/schedule",
"tags" : [
"DEVOXX",
"ANNOTATIONS",
"ANDROID"
],
"title" : "Android DDD (Diet Driven Development)!",
"uid" : "http://cfp.devoxx.com/rest/v1/events/presentations/1825"
})

before the change the request http://localhost:9000/events/DEVOXX this throw NoSuchElementException
after, the ical is generated