Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

How to migrate your applications from version 0.5 to 0.5.2

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:
  1. 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:
  1. 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:
  1. 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:
  1. 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:

  1. The current session's user object is no longer accessed using HttpContext.current().session.user. Use HttpContext.current().user instead.
  2. 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).
  3. Add the @db.transactional() decorator for all of your transactional web methods. This decorator must always be declared right after the web method decorator.
Page last modified on December 01, 2008, at 09:35 PM