Also, The code for writing it is here: http://code.google.com/p/livinglife/source/browse/trunk/Livinglife/src/com/google/gwt/livinglife/server/LivingLifeServiceImpl.java
Specifically the code for writing Challenge (which is what changed) is here:
public Long addChallenge(ChallengeData challengeData) throws
NotLoggedInException {
checkLoggedIn(challengeData.getAuthor().getId());
Challenge challenge = new Challenge(challengeData);
PersistenceManager pm = getPersistenceManager();
try {
pm.makePersistent(challenge);
} finally {
pm.close();
}
return challenge.getId();
}
On Wed, Jan 13, 2010 at 2:06 PM, Amit Prakash <[email protected]>wrote:
> Hi Wesley,
> Not sure what you are asking but here are all the persistable classes in
> my datastore.
>
>
> http://code.google.com/p/livinglife/source/browse/#svn/trunk/Livinglife/src/com/google/gwt/livinglife/server/data
>
> Now that you ask this question, I am thinking what might have happened is
> that I persisted some data and then changed the difinition of one of the
> classes and uploaded the app with the same major version. Is there an easy
> way to get out of this situation? I am in early stages of prototyping so I
> can blow away the datastore. But I don't have a way of doing that right now
> either.
> -amit
>
>
>
>
> On Wed, Jan 13, 2010 at 2:21 AM, Wesley Chun (Google)
> <[email protected]<wesc%[email protected]>
> > wrote:
>
>> hi amit,
>>
>> thanks for writing. i checked out your application, and yes, i have
>> confirmed that when you click on Datastore Viewer, you get this error:
>> "BadValueError: link must not be empty."
>>
>> can you show us your model(s) and tell us how you got the data into
>> the datastore? the error you received is for a LinkProperty, e.g.,
>> http://code.google.com, but the error is happening because one of the
>> links is empty when it needs to be a fully-qualified, well-formed URL.
>> it is not allowed to be empty, but (at least) one of them is in the
>> datastore.
>>
>> thanks,
>> -- wesley
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> "Core Python Programming", Prentice Hall, (c)2007,2001
>> "Python Fundamentals", Prentice Hall, (c)2009
>> http://corepython.com
>>
>> wesley.j.chun :: [email protected] <wesc%[email protected]>
>> developer relations :: google app engine
>>
>>
>>
>> On Jan 10, 4:16 pm, Amit <[email protected]> wrote:
>> > Hi,
>> > When I go to the admin console and click on Datastore Viewer I get an
>> > error page. This used to work a couple of days ago but now it
>> > consistently fails with the following message:
>> >
>> > Server Error
>> > A server error has occurred.
>> >
>> > Return to Applications screen ยป
>> >
>> > Anyone else experiencing this?
>> >
>> > My appid is living-life
>> > -thanks,
>> > Amit
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>>
>>
>
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
