Developer forum

Forum » Swift » Cannot find item type altough it does exist?

Cannot find item type altough it does exist?

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hi,

I was working on manually adding the new components folder when I noticed this. 

On the Swift Tools folder the system says it cannot find the Item Type:

I do note that it seems and underscore is missing there, not sure it may have been rename at some point (at least I cannot find that in the Git History)?

The Swift System Tools item type does exist both in the database as the file system:

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Could it be related to permissions or locks on the xml file - maybe you have it open in an editor or locked by TFS?

 
Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

No don't think so. The Database Schema is there, it is just the record that seems to be missing.

I see that in the dbo.Page table the ID for the Item is incorrect, no idea when or how that has happend, something seems to have removed the _ character

I have changed it to the correct name Swift_SystemTools, but the dbo.ItemType_Swift_SystemTools stays empty, and when I try and save the folder it clears the Page Title

https://screenrec.com/share/aHIwBxUlNp 

Is there a way that I can force a "Rebuild" because I see in the database there are also a lot of tables from an early Swift version R4 which have not been removed...

Could this renaming have caused this? I'm thinking this issue is probably not related to deployment since after I broke the DB I started working on fresh production copy, and my pipeline only goes up to testing so far, so the prod db and IIS site are untouched by the deployment...

 

 

 

You must be logged in to post in the forum