Opened 8 years ago

Last modified 8 years ago

#890 closed enhancement

Remove calls to methods deprecated in BASE 3.9 — at Version 1

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.5
Component: net.sf.basedb.reggie Keywords:
Cc:

Description (last modified by Nicklas Nordborg)

See http://base.thep.lu.se/ticket/2011

Reggie is full of calls to the deprecated 2-argument version of Application.getSessionControl(). I think we should:

  • Re-factor the code so that the call is made in via a utility function.
  • Use a separate client id for Reggie.
  • Call the 4-argument version of Application.getSessionControl() which also checks that a user is logged in. This is currently not done and may in some cases result in an exception later on and in some cases result in an empty data structure being returned. Better to throw a NotLoggedInException immediately.

Change History (1)

comment:1 by Nicklas Nordborg, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.