Cannot load content types or schedules jobs after upgrade to CSM 12?

Vote:
 

Hi!

So I have upgraded the site and site and episerver/cms works. But when clicking Content Type I get this:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'replace')
    at admin.bundle.js:599:38743
    at Array.map (<anonymous>)
    at t.contentTypesSlice.l.createSlice.extraReducers.r.<computed> (admin.bundle.js:599:38694)
    at admin.bundle.js:456:49159
    at e.t.produce (admin.bundle.js:456:41101)
    at admin.bundle.js:456:49134
    at Array.reduce (<anonymous>)
    at admin.bundle.js:456:49047
    at admin.bundle.js:479:102905
    at g (admin.bundle.js:479:100939)

and when clicking Scheduled Jobs I get this:

https://localhost:44319/EPiServer/EPiServer.Cms.UI.Admin/ScheduledJobs/List net::ERR_HTTP2_PROTOCOL_ERROR 200

Failed to load response data: No data found for resource with given identifier

Any ideas?

Thanks!

/Kristoffer

#270326
Jan 21, 2022 10:10
Vote:
 

I had the same problem, both with listing content types and scheduled jobs.

For me there was a block registered in the database that didn't exist in code. That block didn't have any value in the Saved column.
I added a new block with the GUID from the database, that created a value in the saved column, after that i could list content types.
Maybe you could write a migration step that deletes the block from the database instead.

The listing of scheduled job I haven't solved yet though.

#270702
Jan 27, 2022 21:14
Vote:
 

Hi Kristoffer Lindén

So what happens when you upgrade to a newer version it's reloaded or re-create all the content types again so you have found out is there any content which is not available or basically needs to check for null data that's it's giving you errors. Try putting new guides instead of old onces.

Thanks

#270739
Jan 28, 2022 6:34
Vote:
 

My collegue Daniel that fixed the content types above also fixed the scheduled task issue by removing an old scheduled task:

delete
 FROM [tblScheduledItemLog]
 where fkScheduledItemId in ( select pkid from [tblScheduledItem]
 where AssemblyName in ('EPiServer.Cms.AspNet' , 'EPiServer.Forms.UI'))

delete from [tblScheduledItem]
  where AssemblyName in ('EPiServer.Cms.AspNet' , 'EPiServer.Forms.UI')

Delete
 FROM [tblPlugIn]
 where pkid = 10

Id could of course differ from your database.

Thanks Daniel!

/Kristoffer

#271284
Feb 07, 2022 8:43
Vote:
 

I've reported this issue to support a while ago. Issue has been confirmed and a fix is coming.

#271285
Feb 07, 2022 9:18
Kristoffer Lindén - Feb 07, 2022 9:24
Thanks Mari!
Vote:
 
#271351
Feb 08, 2022 9:51
Vote:
 

Hi, 

Just wanted to let you guys know that the issue (https://world.optimizely.com/support/Bug-list/bug/CMS-21651) with Content Type list has been fixed and will ship in the 12.3.1 version.

#271465
Feb 10, 2022 8:23
- Feb 10, 2022 8:37
Thanks!
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.