core- messages Widget

Hi ,

It seems that the core-messages widget changed , we had made customizations based on msg Ids , Now the message Ids seems to be Guid , 

Is there any documentation regarding old and new message Ids mappings

  • We don't have a compiled list of this, but here is the old enum and the sql that converted the enum value to a GUID.  You can generate a list by combining those two data sets.

        public enum CSExceptionType {
            DataProvider = 0,
            AdministrationAccessDenied = 1,
            PostDuplicate = 4,
            FileNotFound = 5,
            SectionNotFound = 6,
            PostPendingModeration = 8,
            PostNotFound = 9,
            PostProblem = 11,
            CreateUser = 125,
            UserAccountCreated = 7,
            UserAccountPending = 23,
            UserAccountCreatedAuto = 24,
            UserAccountDisapproved = 25,
    		UserAccountBanned = 26,
            UserProfileUpdated = 13,
    		UserIsSystemAccount = 106,
    		UserNotFound = 14,
            UserPasswordChangeFailed = 16,
            UserInvalidCredentials = 17,
            UserSearchNotFound = 20,
            UserUnknownLoginError = 27,
            EmailUnableToSend = 28,
            UserAccountRegistrationDisabled = 29,
            UserLoginDisabled = 30,
            AccessDenied = 31,
            GroupNotFound = 33,
            EmailTemplateNotFound = 34,
            SearchUnknownError = 35,
            PostDeleteAccessDenied = 41,
            SkinNotFound = 43,
    		GeneralAccessDenied = 47,
            RoleNotFound = 53,
            RoleOperationUnavailable = 56,
            ResourceNotFound = 57,
            UnRegisteredSite = 63,
            SiteUrlDataProvider = 64,
    		SiteSettingsInvalidXML = 66,
    		UnKnownProvider = 70,
    		LicenseAccessError = 76,
    		UserAccountRequiresValidInvitation = 77,
    
    
    		BlogFileQuotaExceeded = 81,
    		FileTypeNotValid=82,
    		BlogFileStorageNotAllowed=83,
            SiteFileQuotaExceeded = 84,
            SiteFileStorageNotAllowed=85,
            UserFileQuotaExceeded = 86,
            UserFileStorageNotAllowed = 87,
            WikiPageKeyDuplicate = 88,
    
    
    		WeblogsDisabled = 93,
    		WikiDefaultPageLocked = 95,
    		MaximumFileSizeExceeded = 96,
    		UnknownHttpError = 97,
    		FieldGroupDuplicate = 98,
            MembershipPending = 101,
            SearchIndexingError = 102,
    		ForumThreadUnsubscribe = 103,
    		WikiPageNotFound = 104,
    		ValidationError = 105,
    		FileNameTooLong = 107,
    		FileStoragePathTooLong = 108,
    		BackgroundJobError = 109,
            UserAccountLocked = 110,
    		OAuthWebRequestFailure = 111,
    		OAuthClientNotFound = 112,
    		TemplateParseError = 113,
            ContentFragmentRenderingError = 114,
            PostCommentTooLong = 115,
            PluginInitializationError = 116,
    		OverAllowableUsersLicenseLimit = 117,
            ContentFragmentConfigurationError = 118,
    		OAuthLoginFailed = 119,
            CommentsNotSupportedByContentType = 120,
            PluginUninitializationError = 122,
    		LicensingRestriction = 123,
    		OAuthClientRequestNotAllowed = 126,
    		AdminLoginDisabledFromIP = 129,
            PageNotFound = 130,
    		TenantNotFound = 131,
    		TenantNotActive = 132,
    		MailingListEmailAlreadyExists = 133,
    		EmailUnableToBeProcessed = 134,
    		CssFileRenderingError = 135,
    		SystemUserNotFound = 136,
    		ApiLoadException = 137,
            EmbeddableContentException = 138,
            LdapPackageNotInstalled = 139,
            ContentUnderReview = 140,
            GroupMessagesDisabled = 141,
            WebhookDeliveryFailed = 142,
            RuleExecutionError = 143,
    		NotificationDistributionError = 144,
    		SystemNotificationResolved = 145,
            ServiceBindingError = 146,
    		SiteUrlMisconfiguration = 147,
    		FeatureNotEnabled = 148,
    		UnknownError = 999
    	}

    	EXEC sp_executesql N'
    	UPDATE dbo.cs_Exceptions
    	SET CategoryId = CASE  
    		WHEN LoggableExceptionType = ''AccessDenied'' THEN ''1be421bc-24f6-4b6c-9dbc-5057411f8ffc''
    		WHEN LoggableExceptionType = ''AdministrationAccessDenied'' THEN ''1be421bc-24f6-4b6c-9dbc-5057411f8ffc''
    		WHEN LoggableExceptionType = ''PostDeleteAccessDenied'' THEN ''1be421bc-24f6-4b6c-9dbc-5057411f8ffc''
    		WHEN LoggableExceptionType = ''GeneralAccessDenied'' THEN ''1be421bc-24f6-4b6c-9dbc-5057411f8ffc''
    		WHEN LoggableExceptionType = ''ValidationError'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''FileTypeNotValid'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''FileNameTooLong'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''FileStoragePathTooLong'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''PostCommentTooLong'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''WikiDefaultPageLocked'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''OAuthClientRequestNotAllowed'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''BlogFileQuotaExceeded'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''BlogFileStorageNotAllowed'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''SiteFileQuotaExceeded'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''SiteFileStorageNotAllowed'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''UserFileQuotaExceeded'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''UserFileStorageNotAllowed'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''MaximumFileSizeExceeded'' THEN ''eb31425f-2057-4980-9370-15de17a1ffac''
    		WHEN LoggableExceptionType = ''DuplicatePost'' THEN ''a42e3b3d-cff6-440b-bffa-135c9b4e2832''
    		WHEN LoggableExceptionType = ''FieldGroupDuplicate'' THEN ''a42e3b3d-cff6-440b-bffa-135c9b4e2832''
    		WHEN LoggableExceptionType = ''WikiPageKeyDuplicate'' THEN ''a42e3b3d-cff6-440b-bffa-135c9b4e2832''
    		WHEN LoggableExceptionType = ''MailingListEmailAlreadyExists'' THEN ''a42e3b3d-cff6-440b-bffa-135c9b4e2832''
    		WHEN LoggableExceptionType = ''FileNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''SectionNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''PostNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''UserSearchNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''GroupNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''ResourceNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''RoleNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''WikiPageNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''PageNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''UserNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''EmailTemplateNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''SkinNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''OAuthClientNotFound'' THEN ''07aa49b5-9657-4d30-9bff-12de6982540a''
    		WHEN LoggableExceptionType = ''EmailUnableToSend'' THEN ''b55b38dd-6688-4ddf-8d1d-271dcf9fc720''
    		WHEN LoggableExceptionType = ''WeblogsDisabled'' THEN ''54dca069-b021-4ed5-84cb-d16b6c9f24d9''
    		WHEN LoggableExceptionType = ''FeatureNotEnabled'' THEN ''54dca069-b021-4ed5-84cb-d16b6c9f24d9''
    		WHEN LoggableExceptionType = ''LicensingRestriction'' THEN ''f2565aff-cafd-4f90-adbe-afd6cd45706c''
    		WHEN LoggableExceptionType = ''OverAllowableUsersLicenseLimit'' THEN ''f2565aff-cafd-4f90-adbe-afd6cd45706c''
    		WHEN LoggableExceptionType = ''UserAccountDisapproved'' THEN ''6843ab74-193b-4fb3-b927-73b2c8eb8871''
    		WHEN LoggableExceptionType = ''UserAccountBanned'' THEN ''c7cc5a18-c223-40bf-b27f-ea5199145fbe''
    		WHEN LoggableExceptionType = ''UserAccountLocked'' THEN ''f6bdbd58-2b31-42ae-bd43-e114af0db563''
    		WHEN LoggableExceptionType = ''UserUnknownLoginError'' THEN ''200bf585-ec43-446b-8aa6-046b965a2998''
    		WHEN LoggableExceptionType = ''UserInvalidCredentials'' THEN ''31cf2d8a-3bf9-4c93-9b6a-bfde68d00f80''
    		WHEN LoggableExceptionType = ''UserAccountRegistrationDisabled'' THEN ''2d83d7a6-6a11-45e2-8060-ec3d93899a24''
    		WHEN LoggableExceptionType = ''ContentUnderReview'' THEN ''620f4849-780d-4fbc-a47e-e8a262f966de''
    		WHEN LoggableExceptionType = ''SearchIndexingError'' THEN ''17d731aa-570d-46a4-81d3-74f92364e875''
    		WHEN LoggableExceptionType = ''UnknownHttpError'' THEN ''f625b2e0-9700-449c-86ff-db026aaf629d''
    		WHEN LoggableExceptionType = ''UnKnownProvider'' THEN ''ab80501f-26e6-4a2e-a756-ba6d0c2d854d''
    		WHEN LoggableExceptionType = ''DataProvider'' THEN ''ab80501f-26e6-4a2e-a756-ba6d0c2d854d''
    		WHEN LoggableExceptionType = ''SiteUrlDataProvider'' THEN ''ab80501f-26e6-4a2e-a756-ba6d0c2d854d''
    		WHEN LoggableExceptionType = ''PluginInitializationError'' THEN ''85da993a-6938-41a8-a622-7a33183a06d1''
    		WHEN LoggableExceptionType = ''PluginUninitializationError'' THEN ''85da993a-6938-41a8-a622-7a33183a06d1''
    		WHEN LoggableExceptionType = ''BackgroundJobError'' THEN ''7d987dbd-22c8-4e9b-b051-58bc17f46d47''
            WHEN LoggableExceptionType = ''CreateUser'' THEN ''c9d48e66-3d4b-4817-99f5-e71ce4d91c8e''
    		WHEN LoggableExceptionType = ''UnknownError'' THEN ''22f676f0-ddf5-4f2b-9d23-ffd2be965d97''
    		WHEN LoggableExceptionType = ''UnRegisteredSite'' THEN ''63e2e9dc-38f7-46f6-b47e-977b77ac72e1''
    		WHEN LoggableExceptionType = ''SiteSettingsInvalidXML'' THEN ''4781dead-51bf-46d5-b3f6-58f2da501997''
    		WHEN LoggableExceptionType = ''ApiLoadException'' THEN ''4781dead-51bf-46d5-b3f6-58f2da501997''
    		WHEN LoggableExceptionType = ''EmbeddableContentException'' THEN ''4781dead-51bf-46d5-b3f6-58f2da501997''
    		WHEN LoggableExceptionType = ''SystemUserNotFound'' THEN ''4781dead-51bf-46d5-b3f6-58f2da501997''
    		WHEN LoggableExceptionType = ''ConfigurationErrorWithoutLogging'' THEN ''570943c0-fdfe-49f9-907f-da9f09b16257''
    		WHEN LoggableExceptionType = ''UserAccountRequiresValidInvitation'' THEN ''34aa04c4-8a9b-45f2-a172-f31588258123''
    		WHEN LoggableExceptionType = ''OAuthWebRequestFailure'' THEN ''36a5694e-bba6-49cc-9802-e31c449a54b7''
    		WHEN LoggableExceptionType = ''CommentsNotSupportedByContentType'' THEN ''36a5694e-bba6-49cc-9802-e31c449a54b7''
    		WHEN LoggableExceptionType = ''OAuthLoginFailed'' THEN ''237372d0-973d-4638-9f6f-ceef35e6881e''
    		WHEN LoggableExceptionType = ''ContentFragmentRenderingError'' THEN ''4b737e5c-ec13-45de-9a0e-9ed95c25369a''
    		WHEN LoggableExceptionType = ''ContentFragmentConfigurationError'' THEN ''326c8ba7-0fc0-4250-86db-f35a708edfa1''
    		WHEN LoggableExceptionType = ''WebhookDeliveryFailed'' THEN ''e1d664aa-0e9b-4ac0-85e6-8aa88a67737e''
    		WHEN LoggableExceptionType = ''LicenseAccessError'' THEN ''5a96a8d0-1145-4664-a2d7-b26d9d93cd5f''
    		WHEN LoggableExceptionType = ''EmailTemplateParseError'' THEN ''1ceb1b2f-ddfb-493f-92ad-7783dedcfc98''
    		WHEN LoggableExceptionType = ''EmailUnableToBeProcessed'' THEN ''1ceb1b2f-ddfb-493f-92ad-7783dedcfc98''
    		WHEN LoggableExceptionType = ''NotificationDistributionError'' THEN ''fa5efe45-e4a7-4a5f-bc5f-d6275fcb9fa7''
    		WHEN LoggableExceptionType = ''UserAccountPending'' THEN ''23e33f2b-8a71-479a-955c-23e805a3461f''
    		WHEN LoggableExceptionType = ''UserAccountCreatedAuto'' THEN ''2f0712ad-e2eb-4e69-8ca7-4fb4e445b9ec''
    		WHEN LoggableExceptionType = ''UserAccountCreated'' THEN ''b4615efe-620b-483b-bf13-0746ad9068b7''
    		WHEN LoggableExceptionType = ''PostPendingModeration'' THEN ''4dccd9b8-61a4-489f-8aa3-ce33ee452943''
    		WHEN LoggableExceptionType = ''UserIsSystemAccount'' THEN ''b95c97a2-9e45-4103-b174-53c9e52b11f5''
    		WHEN LoggableExceptionType = ''UserLoginDisabled'' THEN ''4e5e5243-969a-49e6-90fd-9370248064fb''
    		WHEN LoggableExceptionType = ''ForumThreadUnsubscribe'' THEN ''7dc2b67b-b2cd-452d-b225-6b0b32b48aa5''
    		WHEN LoggableExceptionType = ''MembershipPending'' THEN ''3731acd4-6c23-468f-9be9-ad82d2e66e07''
    		WHEN LoggableExceptionType = ''SystemNotificationResolved'' THEN ''63bc9e32-e559-40d8-b880-4ff5e8d1dd24''
    		WHEN LoggableExceptionType = ''AdminLoginDisabledFromIP'' THEN ''df9ebc39-f043-4df1-971a-72c20f169884''
    		WHEN LoggableExceptionType = ''ServiceBindingError'' THEN ''65c00dcf-d2f1-489b-96b2-66e123ede9ac''
    		WHEN LoggableExceptionType = ''SiteUrlMisconfiguration'' THEN ''982936ef-484a-4a19-adc7-0e3198688564''
    		ELSE ''22f676f0-ddf5-4f2b-9d23-ffd2be965d97''
    	END 
    	'