Closed GoogleCodeExporter closed 8 years ago
Looks like a very easy fix. Could I interest you in submitting a patch?
Original comment by max.r...@gmail.com
on 6 Jun 2011 at 6:09
Certainly, I can submit a patch.
There is also the alternative fix of changing line
http://code.google.com/p/datanucleus-appengine/source/browse/trunk/src/org/datan
ucleus/store/appengine/Utils.java#62 to:
to.add(fromElement==null ? null : func.apply(fromElement));
The orginal suggested fix would have to have the same solution replicated
across multiple Functions, this new one wouldn't.
Any opinions? Thanks.
Original comment by manish.a...@gmail.com
on 6 Jun 2011 at 6:41
I like the original proposal better, since it should really be up to the
function to decide how to handle a null argument.
Original comment by max.r...@gmail.com
on 6 Jun 2011 at 7:51
Hi,
I couldn't figure out:
1. How to attach a patch file to the issue
2. How to run tests on datanucleus-appengine
I've attached the patch file. Hopefully its ok.
Original comment by manish.a...@gmail.com
on 7 Jun 2011 at 12:45
Patch attached. Couldn't manage to run tests, so please check.
Original comment by manish.a...@gmail.com
on 7 Jun 2011 at 12:46
Attachments:
Sorry! I hadn't scrolled my browser window far enough to see the attach file
link. [?]
On Mon, Jun 6, 2011 at 5:45 PM, Manish Ahluwalia <manish.ahluwalia@gmail.com
Original comment by manish.a...@gmail.com
on 7 Jun 2011 at 12:49
Thanks for the patch! It turns out in order to accept this I need you to sign
a Contributor License Agreement:
http://code.google.com/legal/individual-cla-v1.0.html
It can all be done electronically. Hopefully that's not a problem.
Max
Original comment by max.r...@gmail.com
on 7 Jun 2011 at 3:24
Done
Original comment by manish.a...@gmail.com
on 7 Jun 2011 at 5:47
Thanks Manish!
Original comment by max.r...@gmail.com
on 8 Jun 2011 at 4:01
Original issue reported on code.google.com by
manish.a...@gmail.com
on 6 Jun 2011 at 5:46