You might find that a hotfix in your production model is needed while you work on improvements to a development model. To hotfix your production model, an object needs to be added, deleted, reordered, and renamed. This procedure enables you to apply the hotfix without impacting on your development improvements.

Both models must be structurally compatible.

Note: This method can remove data from a structure that is added to the production (PROD) model after the bug fix. The structure is added to the PROD model between the bug fix and the next revision. Examples of the structural changes include adding modules, lists, list items, versions, or imports. 

Hotfixing your production model is a two-step process:

  • Roll back the development model.
  • Restore the changes to development and apply the hotfix.

Roll the development model back to a version that doesn’t contain any changes (is the same as production) and apply the hotfix to that version.

To roll back the development model:

  1. Save a new version of the development model. Write down the History ID of the last structural change. This ID is shown right before you enter the new revision.
  2. On the development model, use History to restore to a point where development and production were identical (before any changes were made in development).
  3. Apply the hotfix.
  4. Save a new revision of the development model.
  5. Synchronize the development model with the production model.

Production now has its hotfix.

To restore the changes to development and apply the hotfix:

  1. Find the correct History ID that contains all the development work (minus the hotfix) on the development model, and restore to that version.
  2. Apply the hotfix to this version of development, if required.
    In some cases, ‌development work may already incorporate the hotfix changes, and no further action is required.
  3. Create a new revision of the development model.

Development is now restored to the latest version, with the hotfix changes applied.

When your development work is complete, you can synchronize the changes to production.