product-apim icon indicating copy to clipboard operation
product-apim copied to clipboard

Oracle migration script issue with Callback URL value as NULL

Open CrowleyRajapakse opened this issue 4 years ago • 2 comments

Description:

In oracle empty strings '' are considered same as null. Therefore, when executing following query, UPDATE IDN_OAUTH_CONSUMER_APPS SET CALLBACK_URL='' WHERE CALLBACK_URL IS NULL / It doesn't change anything, the value remains null. Therefore, users can't update the keys in application keys page since callback value is "null" still in migrated apps.

ref: https://stackoverflow.com/questions/49678159/insert-empty-string-in-oracle

CrowleyRajapakse avatar Jul 17 '20 09:07 CrowleyRajapakse

@shilmyhasan Could you please close the issue if this is solved ?

HiranyaKavishani avatar Apr 03 '22 15:04 HiranyaKavishani

@HiranyaKavishani This particular query is available only when migrating from 3.1.0. I will check on this during 3.1.0 to 4.1.0 migration.

shilmyhasan avatar Apr 03 '22 16:04 shilmyhasan

Hi Team,

The issue is resolved.

Thanks

shilmyhasan avatar Mar 22 '23 04:03 shilmyhasan