I'm working on my first Umbraco website, and I have some issues with Document Types.
I suspect my workflow is to blame, but I am not versed enough in Umbraco (yet) to figure out what exactly causes my problems.
I have declared several Document Types. I have a base Document Type called Default and several other types that inherit from this Default. The Default document type has some properties like two ImageCroppers.
More than once these properties have suddenly vanished, returning the Document Type to a prior state. The inheritance between the Document types then also disappears.
I develop locally in Visual Studio, where I connect to a remote SQL Database. I have also setup a test-site on a remote server, connecting to the same database. I publish the site with FTP, but not every change or update is uploaded to the test-server.
Am I correct in thinking that changes that are made locally are overwritten by the remote site on Application_Start (when a co-worker visits the test-site for instance)?
Does Umbraco store a representation of the Document Types on disk, which it then uses to (re)generate a Document Type in the database, thus overwriting the local changes with the remote version?
And if I am correct, what can I do - besides not sharing the same database - to prevent this from happening in the future?
Is my workflow changing my Document Types
Hi all,
I'm working on my first Umbraco website, and I have some issues with Document Types.
I suspect my workflow is to blame, but I am not versed enough in Umbraco (yet) to figure out what exactly causes my problems.
I have declared several Document Types. I have a base Document Type called Default and several other types that inherit from this Default. The Default document type has some properties like two ImageCroppers.
More than once these properties have suddenly vanished, returning the Document Type to a prior state. The inheritance between the Document types then also disappears.
I develop locally in Visual Studio, where I connect to a remote SQL Database. I have also setup a test-site on a remote server, connecting to the same database. I publish the site with FTP, but not every change or update is uploaded to the test-server.
Am I correct in thinking that changes that are made locally are overwritten by the remote site on
Application_Start
(when a co-worker visits the test-site for instance)?Does Umbraco store a representation of the Document Types on disk, which it then uses to (re)generate a Document Type in the database, thus overwriting the local changes with the remote version? And if I am correct, what can I do - besides not sharing the same database - to prevent this from happening in the future?
Thanks in advance, regards,
Jasper
is working on a reply...