#255 ✓resolved
Piotr Solnica (solnic)

[patch attached] merb_datamapper - unhandled DataMapper::ObjectNotFoundError in DataMapperSession#persist

Reported by Piotr Solnica (solnic) | May 8th, 2008 @ 05:34 PM

Comments and changes to this ticket

  • Sam Smoot

    Sam Smoot May 8th, 2008 @ 05:36 PM

    • Assigned user set to “Adam French”

    Adam, PDI the patch and see what you think. Apply/Resolve at your discretion.

    It looks good to me, except it should use #get vs #first.

  • Adam French

    Adam French May 8th, 2008 @ 05:50 PM

    I think we want to avoid raising an ObjectNotFound error and let merb_datamapper generate them a new session if we can't find their old session.

    applied

    ecab0d300e9c9543c619661059d67c52e9d24869 -> 9e8910cc7c6abe103add3616340a72b7d75e312a

    @solnic - good catch

  • Adam French

    Adam French May 8th, 2008 @ 05:51 PM

    • State changed from “new” to “resolved”
  • Piotr Solnica (solnic)

    Piotr Solnica (solnic) May 9th, 2008 @ 11:14 AM

    Thanks Adam for applying my tiny patch.

    BTW, this ticket was set as spam when I reported it yesterday, was it because of an empty description?

  • Sam Smoot

    Sam Smoot May 9th, 2008 @ 11:15 AM

    LH just does that. Not sure why. Sometimes it even marks my comments as spam, and I'm on the paid account! Silly LH...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Attachments

Pages