How to easily fix an application after CAS upgrade

29 views
Skip to first unread message

Radek Ch.

unread,
Jul 21, 2023, 11:13:02 AM7/21/23
to CAS Community, ch...@seznam.cz
Hi

We're planning to upgrade CAS from 6.1 to 6.6.9 but apparently there are lots of changes which break our current code.
What would be the best / easiest / recommended way to upgrade our application to use the new CAS given that our current team doesn't have much experience with CAS and it's therefore difficult to find out what exact parameters we need to pass to the new CAS methods / contructors (which don't exist in our 6.1 version of CAS). 
How would you proceed?
I may check source files of the new CAS version to find out how and where any given parameter is used but since I have no idea, what the given piece of functionality is supposed to do, there's not much reason doing so...
What do you think?

Thanks.

Radek

Ray Bon

unread,
Jul 21, 2023, 2:35:20 PM7/21/23
to cas-...@apereo.org, ch...@seznam.cz
Radek,

If you have custom code, there really are only two options; drop it or upgrade it.
With the large jump you are going to, it may make more sense to move to version 7 (to be official in a few months) and re-implement your features.
You will have to search the code base to see how the new way is done.

If your modifications are generally useful, you can try to get them added into the project, thus avoiding this problem in the future.

Ray

On Fri, 2023-07-21 at 08:04 -0700, Radek Ch. wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.

Radek Ch.

unread,
Jul 24, 2023, 12:40:34 PM7/24/23
to CAS Community, Ray Bon
Thanks a lot, Ray,  for these tips - I'm gonna discuss these with our team and we'll see... :-)

Radek

Dne pátek 21. července 2023 v 20:35:20 UTC+2 uživatel Ray Bon napsal:
Reply all
Reply to author
Forward
0 new messages