This repository was archived by the owner on Sep 19, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
44## [ Unreleased]
55#### Fixed
66- Fixed the bug from [ bc3ec33] which caused that the updating UES didn't work.
7+ - Use the same prefix for all messages in updateUes.php
78
89[ bc3ec33 ] :https://github.com/CESNET/perun-simplesamlphp-module/commit/bc3ec33c8f5088f7be712b8e5a0e70f229731648
910
Original file line number Diff line number Diff line change 2828 );
2929 if ($ userExtSource === null ) {
3030 throw new Exception (
31- 'sspmod_perun_Auth_Process_UpdateUserExtSource : there is no UserExtSource with ExtSource ' .
31+ 'perun/www/updateUes.php : there is no UserExtSource with ExtSource ' .
3232 $ attributesFromIdP ['sourceIdPEntityID ' ][0 ] . " and Login " .
3333 $ attributesFromIdP ['sourceIdPEppn ' ][0 ]
3434 );
4242
4343 if ($ attributesFromPerun === null ) {
4444 throw new Exception (
45- 'sspmod_perun_Auth_Process_UpdateUserExtSource : getting attributes was not successful. '
45+ 'perun/www/updateUes.php : getting attributes was not successful. '
4646 );
4747 }
4848
7474 $ valueFromIdP = $ attr ;
7575 } else {
7676 throw new Exception (
77- 'sspmod_perun_updateUes : unsupported type of attribute. '
77+ 'perun/www/updateUes.php : unsupported type of attribute. '
7878 );
7979 }
8080 if ($ valueFromIdP !== $ attribute ['value ' ]) {
9090
9191 $ adapter ->updateUserExtSourceLastAccess ($ userExtSource ['id ' ]);
9292
93- Logger::debug ('sspmod_perun_updateUes - Updating UES for user with userId: ' . $ perunUserId . ' was successful. ' );
93+ Logger::debug ('perun/www/updateUes.php: Updating UES for user with userId: ' . $ perunUserId . ' was successful. ' );
9494} catch (\Exception $ ex ) {
9595 Logger::warning (
96- 'sspmod_perun_updateUes : Updating UES for user with userId: ' . $ perunUserId . ' was not successful: ' .
96+ 'perun/www/updateUes.php : Updating UES for user with userId: ' . $ perunUserId . ' was not successful: ' .
9797 $ ex ->getMessage ()
9898 );
9999}
You can’t perform that action at this time.
0 commit comments