Administrators.UpgradingFrom05to052 History
Hide minor edits - Show changes to markup
December 01, 2008, at 09:35 PM
by Tassos Koutsovassilis -
Changed lines 3-4 from:
Upgrading to version 0.5.2. Is pretty straightforward. Just apply the following changes:
to:
Upgrading to version 0.5.2 is pretty straightforward. Just apply the following changes:
November 30, 2008, at 10:53 PM
by Tassos Koutsovassilis -
Changed line 7 from:
- Add the
@db.transactional()
decorator for all of your transactional web methods. This decorator must always be declared right after the main web method decorator (i.e. webmethods.remotemethod).
to:
- Add the
@db.transactional()
decorator for all of your transactional web methods. This decorator must always be declared right after the main web method decorator (i.e. webmethods.remotemethod
).
November 30, 2008, at 10:53 PM
by Tassos Koutsovassilis -
Changed line 7 from:
- Add the
@db.transactional()
decorator for all of your transactional web methods. This decorator must always be declared right after the web method decorator.
to:
- Add the
@db.transactional()
decorator for all of your transactional web methods. This decorator must always be declared right after the main web method decorator (i.e. webmethods.remotemethod).
November 30, 2008, at 10:52 PM
by Tassos Koutsovassilis -
Added lines 1-7:
(:title How to migrate your applications from version 0.5 to 0.5.2:)
Upgrading to version 0.5.2. Is pretty straightforward. Just apply the following changes:
- The current session's user object is no longer accessed using
HttpContext.current().session.user
. Use HttpContext.current().user
instead.
- The
porcupine.core.eventHandlers
is renamed to porcupine.events
. If your application uses event handlers update your imports accordingly. The methods of the event handlers' classes are now static methods instead of class methods (update the decorators accordingly and remove the first class argument).
- Add the
@db.transactional()
decorator for all of your transactional web methods. This decorator must always be declared right after the web method decorator.