Skip to main content

Change Template and Version

Every application component, library, container and agent is created from a template, shown on its dashboard as Component Template, Agent Template, Library Template or Container Template. The template supplies the technology stack and, unless they live in your repository (see Dockerfile and Helm chart), the Dockerfile and Helm chart used by builds. After the resource exists, you can switch it to another template or to another version of a template, for example to move to the newest platform version.

There is one action for every case: Change template. Moving to a newer version means changing to the same template with that version.

The change is available in the Self-Service Portal, through the public API and, for application components, libraries and containers, through the MCP server.

What a Change Does​

When you confirm a change, two things happen right away:

  1. The resource switches to the new template. This takes effect immediately; it does not wait for anything in the repository.
  2. CodeNOW creates a new branch in the resource's repository, from the default branch, with one commit that holds the file changes: .codenow.yaml always, plus the template files you selected in the review. The review shows the branch's name before you confirm. It currently looks like codenow/change-template-<resource>-<template>-<version>, for example codenow/change-template-orders-java-gradle-2.0.0; the resource is always part of the name, so resources that share a repository get separate branches. Take the exact name from the review or the result screen rather than building it yourself.

If you keep the template and version the resource already uses, the template doesn't change, and nothing changes at all unless you put files on a branch; see Same template and version.

Nothing is written to the default branch. You review the new branch and merge it yourself; CodeNOW does not open a merge request. Before you confirm, the review step shows file by file what goes into the branch and what is left out; see Review Changes Before You Confirm.

Until you merge the branch

The resource uses the new template from the moment you confirm, but the default branch still holds the old template's files. Until the branch is merged, builds of the default branch use the new template together with the old .codenow.yaml and, where they live in the repository, the old Dockerfile and Helm chart. Merge the branch soon after the change.

What the Platform Does​

  • Switches the template the resource refers to, at once. Deleting the branch does not undo this; to go back, change the template back to the previous one.

  • Creates the branch with one commit, starting from the default branch's current commit:

    • .codenow.yaml, updated by the platform for the new template. The update never overwrites the file; it edits it in place, so comments and formatting are kept:

      • a setting of the new template is added only if the current template does not declare it;
      • a value that still equals the old template's default, for example a pipeline id, moves to the new template's default;
      • values you changed are kept;
      • settings the new template no longer declares are dropped;
      • environment variables, triggers and the advanced mode setting are not touched.

      If the repository has no .codenow.yaml, it is not part of the commit. If its .codenow.yaml can't be parsed, CodeNOW leaves it as it is; the review marks it Not committed and asks you to update it by hand.

    • The files you selected: the Dockerfile and Helm chart where they live in the repository, and any application scaffold files of the new template. A selected file is replaced by the whole file rendered from the new template, not by the changed lines only. Selected files that already match the repository are skipped.

    If nothing is left to commit, no branch is created. An existing branch of the same name is never overwritten: the change is refused until you merge or delete it.

  • Dockerfile and Helm chart: rendered by the platform at every build or taken from your repository; see Dockerfile and Helm Chart.

  • Default pipeline: where .codenow.yaml sets no build.pipelines, builds use the new template's default pipeline. The CI properties and their defaults also come from the new template.

  • Required CI results, and which artifact registry is cleaned up when the resource is deleted (in both modes): both follow the build system and resource type, which are recalculated for the new template.

  • The template properties. The resource keeps the property values it already has, including values that came from the old template's defaults. CodeNOW cannot tell a former default from a value you chose. Properties that are new to the target template get its defaults. Properties the target template doesn't know are dropped. Required properties of the new template are validated as on creation. The resource's existing values always count as valid, so a plain version change needs no property changes.

Dockerfile and Helm Chart​

The platform handles the Dockerfile and Helm chart, except where they live in your repository:

  • advanced mode is on (advanced mode; application components and agents);
  • the new template is a runnable template, such as docker-generic or helm-generic: for every kind of resource, whatever the advanced mode;
  • a container's Dockerfile: always.

In those cases builds use the files from your repository: you can put them on the branch, or apply the change yourself. In all other cases the files are not in your repository: every build renders them from the template the resource currently refers to, with the resource's configuration, so the next build uses the new template, and they are not part of the branch.

What You Do in the Repository​

  • Review and merge the branch. Open the new branch in the repository, check the commit and adjust it if you need to, for example to restore lines of your own in a file that was replaced as a whole. Then merge it into the default branch.
  • Files you left out of the branch stay as they are on the default branch:
    • Dockerfile and Helm chart that live in your repository (see Dockerfile and Helm Chart): builds use the files in your repository. If you leave one out, apply the change shown in the review yourself. Until you do, builds keep using the old template's version of the file.
    • Application scaffold files of the new template: files it provides outside .codenow.yaml, the Dockerfile and the Helm chart. CodeNOW neither manages nor requires them. Include the ones your resource needs, or copy or download them from the review and apply them by hand.

Libraries have neither a Dockerfile nor a Helm chart.

Not Affected​

  • the default branch: CodeNOW never commits to it;
  • repository files you did not select;
  • existing builds and packages;
  • connections to services.

The change is not recorded in the Activity Log; the branch and its commit in the repository are the record of the file changes.

Which Templates and Versions You Can Choose​

Application component, library, agentContainer
TemplateAny template offered when creating a resource of the same kind, including the current oneContainers have a single template; only the version can change
VersionAny published version, for platform templates (provided by CodeNOW) and custom templates (published in your account) alikeAny published version

Versions are listed newest first. An older version's properties can differ from the latest version's.

Outdated Templates and Newer Versions​

A resource is outdated when it uses a platform template in a version older than the latest one. Custom templates are never reported as outdated. When a custom template is on a version other than its latest one, the Portal shows a neutral hint instead; see Markers on Tiles and Lists.

Both markers are hints. Older versions remain valid choices, and to move to a newer version you use Change template like for any other change.

Before You Start​

  • You need update permission on the resource. See Permissions.
  • The resource must be ready. You can't change the template of a resource whose creation is still in progress or has failed. A failed resource can't be repaired this way: delete it and create it again.
  • No build of the resource may be running. Wait for the build to finish or cancel it, then try again.
  • No branch of the same name may exist in the repository when something would be committed, for example from an earlier change. Merge or delete it first; the review tells you when it exists. When nothing would be committed, no branch is created and an existing one doesn't matter.

Change the Template in the Portal​

You need update permission on the resource. Without it, the pencil icon for changing the template is not shown. It is also not shown for a resource that has no template reference.

  1. Open the resource's detail page: Component Detail, Agent Detail, Library Detail or Container Detail.
  2. On the Component Template, Agent Template, Library Template or Container Template tile, click the pencil icon (on component and agent tiles, its tooltip reads Change template). For a custom template, the template's name on the tile is a link to the custom template's detail page.
  3. The Change template dialog opens. Its title shows the resource's kind icon and name, and below it a stepper with two steps: Choose template and Review changes.
  4. In step 1, choose the template and version and check the template configuration, then click Review changes. Nothing is written yet.
  5. In step 2, review the changes file by file and select which files go into the branch.
  6. Click Change Template to confirm exactly what you reviewed. Back returns to step 1; Cancel closes the dialog without changes.
  7. The dialog shows the result: the branch that was created. Open it with Open Branch in Repository, review and merge it there, then click Close.

After the change, the detail page and the lists refresh. If the change is rejected, the error is shown inside the dialog, which stays open so you can correct it and try again. See Troubleshooting.

Step 1: Choose the Template and Version​

At the top of the step, a Current template → New template strip stays visible the whole time:

  • Current template shows the template the resource uses now: its logos, name, version and origin (Platform template or Custom template). If a newer version is available, the slot marks it and names that version.
  • New template shows the template you pick. Until you pick one, it reads Pick a template below.

Below the strip is the template picker: a search box (Search templates), a technology filter and the template cards, paged six to a page. The current template's card carries a Current chip, and you can select it like any other card, which is how you change only the version. Any template offered for this kind of resource can be chosen. For a container, the template is always the same: there is no picker, no Clear and no Template configuration; you only choose the version.

If the resource's template is not on its latest version (an outdated platform template, or a custom template behind its latest version), the dialog opens with the current template already picked and its latest version already selected. A note says that it was preselected because a newer version is available; except for containers, it offers Choose a different template in case that's not what you came for.

If you pick the template and version the resource already uses, a note says that this is the current template and version, so only files you put on a branch would change.

Once you pick a template, the picker collapses and the New slot shows your choice:

  • Version — a select right after the template name, with the latest version preselected and marked by a Latest chip. If you select an older version, the chip reads Latest <version> so you can still see which version is the newest. Every published version can be selected, for platform and custom templates alike.
  • Clear — in the upper right of the slot. It reopens the picker with your search, filter and page as you left them.

Under the strip, Template configuration (not for containers) lists the properties of the template version you picked. Existing properties are kept as they are, new ones take the template default, and properties the new template does not define are dropped; the review lists them. For a template without properties, the section says that it has no configuration options.

  • A property the resource already has, and which the new template also knows, is pre-filled with the resource's current value, locked and marked as carried over from the resource. To change such a value, edit it in the CI configuration after the change.
  • A property that is new to the template is editable and starts with the template's default.
  • Properties the new template doesn't define are not shown here. They are dropped, and the review lists them.

Review changes becomes available once a template and version are picked and the new properties are valid.

If the current template is disabled or no longer exists, the picker opens with nothing selected in the New slot.

Step 2: Review Changes Before You Confirm​

The review renders the new template for this resource with its properties and shows the result file by file. Here you also decide which files go into the new branch. Nothing is written until you confirm. If the target is rejected (for example a version that doesn't exist), the error is shown already at this step. A running build does not block the review; it only blocks the change itself.

Below, <base> is the repository's default branch and <kind> is component, agent, library or container.

What Happens When You Confirm​

At the top, the block What happens when you confirm sums up the change and, when a branch would be created, shows its name under New branch. It lists up to three steps, each marked with who acts and when:

  1. Platform · right away — the switch to the new template (only when the template changes). It takes effect immediately, does not wait for the merge, and deleting the branch does not undo it.

  2. Platform · right away — the new branch with <n> of <m> files: created from <base> at its current commit, with one commit holding .codenow.yaml and the Continuous Delivery and Application Scaffold files you included. Included files that already match <base> are named as not part of the commit. <base> itself is not changed.

    How files are counted: here and everywhere else in the review (the tree header, Include in the branch, the panel and the footer), <m> counts .codenow.yaml plus the files you can select; files that can't be selected, that is Dockerfile and Helm files rendered at build time and symbolic links (a path that is a symbolic link or lies below a linked directory), are not counted. <n> is how many of them are in the branch.

  3. You · in the repository — review the branch and merge it. Until then <base> still holds the old template's files. Files you leave out are not committed; you can still copy or download them in the review.

The review opens with the default selection. When you tick or untick a file, the outcome is computed again shortly after you stop clicking, and Change Template stays disabled until it is up to date.

Nothing to commit. When no branch would be created, step 2 reads Creates no branch and step 3 is dropped. The block says why:

  • the files that differ from <base> are all left out of the branch, so nothing is committed;
  • nothing selected for the branch differs from <base>, so there is nothing to commit.

Included files that already match <base> are simply not committed; if nothing else is, the second case applies. For a change to another template or version you can still confirm: only the template is switched.

Same template and version. Step 1 is dropped and the template stays as it is. A branch is created only for files you include that differ from <base>. If nothing would be committed, the block says that nothing would change and Change Template is disabled; it becomes available once you include at least one file that differs from <base>.

Branch already exists. If a branch of that name already exists and something would be committed, a warning names the branch and asks you to merge or delete it in the repository, then review again, with a Review again button. Change Template stays disabled until you merge or delete the branch and review again. When nothing would be committed, an existing branch doesn't matter: no branch is created, so there is no warning and the change can't fail because of it.

The meta row below reads Repository <branch>@<commit>, the resource's default branch and the commit the review was computed against. For components and agents, a line under it says where builds take the Dockerfile and Helm chart from: from the repository, or rendered by the platform at every build (see Dockerfile and Helm chart). Libraries and containers have no such line.

Repository changes and Template changes. The review has two views, which answer different questions. The Show toggle switches between them:

ViewWhat it showsTooltip
Repository changes (default)What lands in the repository: .codenow.yaml and the files you can put on the branch, compared with what you have on the default branch. Dockerfile and Helm files that the platform renders at every build are not listed here. When the new template changes them, a note says that builds will use the changed files from the template and points to Template changes.<base> → new branch
Template changesWhat the template change itself changes, whatever your repository contains, including the Dockerfile and Helm files the platform renders.<previous template> <version> → <new template> <version>

Only Repository changes shows what the commit on the branch changes. Use it to check .codenow.yaml and every file you include.

The toggle appears only when the previous version can still be rendered and at least one file has both comparisons; otherwise only the repository comparison is shown. If the version the resource uses now is no longer available, an info message above the file tree explains it.

Below, the file tree and the panel of the selected file sit side by side in two boxes of the same height; each scrolls on its own.

File Tree and File Selection​

Each file has a colour and a category. The colour says who handles the file; the category says what kind of file it is:

ColourMeaningFiles
BlueHandled by the platform — can't be selected.codenow.yaml, which the platform commits to the branch, and the Dockerfile and Helm files the platform renders at every build (shown only under Template changes)
OrangeNeeded by the new template — your choiceDockerfile and Helm files that live in your repository: in advanced mode, for a runnable target template such as docker-generic or helm-generic, and a container's Dockerfile; see Dockerfile and Helm chart
GreyOptional — your choicethe application scaffold: all other files the new template provides
CategoryFilesChip in the file panel
Platform Configuration.codenow.yamlPlatform Configuration · always included
Continuous DeliveryDockerfile and the helm/ directoryContinuous Delivery · needed by the template
Application Scaffoldall other filesApplication Scaffold · optional

So where the platform renders them, the Dockerfile and Helm files are Continuous Delivery files coloured blue, not orange. Wherever the review uses a colour (the dots, the row tints and the panel head), it has the meaning given above.

The tree's header reads Files · <n> of <m> in the branch. Under it, the block Include in the branch has up to three rows, one per colour:

  • Handled by the platform — <n> file(s), with a lock icon. Its count follows the view; under Repository changes it is usually 1 file, .codenow.yaml. Tooltip: The platform updates .codenow.yaml and commits it to the branch., or, when rendered files are listed, The platform takes care of these files. It commits .codenow.yaml to the branch and renders the others from the template at every build.
  • Needed by the new template — Continuous Delivery · <i> of <t> files. Tooltip: Builds and deployments run from these files. A file left out has to be brought in line with the new template by hand.
  • Optional — Application Scaffold · <i> of <t> files. Tooltip: Starter code from the template — the platform does not need it.

The orange and grey rows have the actions All and None to include or leave out every file of the row at once; their counts are the same in both views. A row with no files you can select is not shown: where the platform renders the Dockerfile and Helm chart, for example, there is no orange row.

Then follow a search box (Search files) and the tree itself, in the style of a Git commit's file browser: folders first and then files, and a chain of folders with a single child shown as one node. Each row is tinted in its colour and shows the file's added and removed lines (+N / −N), or no change or binary. An application scaffold file shows new when it is new to the repository. One that already exists in the repository shows in repo · ? until you open it (tooltip Compared when you open the file.): it is compared with the repository when you open it. To make room for the diff, hide the tree (Hide file tree) and bring it back with Show files.

Selecting files. Every file you can include has a checkbox on its row:

  • .codenow.yaml is ticked and can't be unticked.
  • Dockerfile and Helm files the platform renders are not listed under Repository changes; Template changes shows them without a checkbox. They are rendered at the next build.
  • A path that is a symbolic link, or lies below a linked directory, in the repository carries the badge symlink and has no checkbox, neither in the tree nor in the panel. CodeNOW never reads or replaces it: it is never in the branch (not even through All), and it is counted neither in <n> of <m> nor among the files left out; see the panel texts below.
  • Continuous Delivery files you can include start ticked; Application Scaffold files start unticked.
  • Files you leave out are dimmed.

Folders have no checkbox; clicking a folder only expands or collapses it. To include or leave out all orange or all grey files at once, use All or None in Include in the branch.

.codenow.yaml is selected for viewing when the review opens. Clicking a file shows it in the panel; the selected row has a stronger tint and a bar in its colour on the left.

File Panel​

On the right, a panel shows the file you selected. It is built the same way for every file:

  • a coloured head with an icon, a verdict, one explanatory line and, on the right, a chip <Category> · <qualifier>, for example Continuous Delivery · needed by the template;
  • a file row with the path, a status chip, the added and removed lines, the Include in the branch checkbox (the same as in the tree) and the file's actions;
  • a short list of notes, taken from what the platform computed for this change;
  • the read-only diff, with a head line and a one-line hint;
  • a line <i> of <t> <Category> file(s) in the branch · next: <path>, with a Next file button that moves to the next file of the same category in tree order. It is hidden when the category has no further file.

The diff follows the view: under Repository changes the left pane is the default branch's file, under Template changes the previous template's or version's file; the right pane is the new template's file. A file that only the left side has reads Not in <target>; shown as it is in <left side>. A file that has only one of the two comparisons reads Only the repository changes can be shown for this file. or Only the template changes can be shown for this file.

What the panel says depends on the file and on whether it is in the branch. The status chip shows the same:

FileStatus chip
.codenow.yamlWill be committed, or No change when it already matches the new template
A file in the branchIn the branch
A Continuous Delivery file left outYou apply
An Application Scaffold file left outNew file (not in the repository yet) or In repository (a file of that name exists)
Dockerfile and Helm chart the platform rendersRendered at build
A symbolic link in the repository, or a path below a linked directoryNot selectable

.codenow.yaml

  • Verdict: The platform commits this file to the branch, with the line Always part of the branch — nothing for you to select. In the file row, the checkbox is locked: Always in the branch.
  • If the file already matches the new template, the line reads Already matches the new template on <base> — nothing is committed for this file.
  • Notes: what the merge changes, for example a release pipeline that changes, or a CI property that is added or dropped, followed by any pipeline you chose yourself that is kept.
  • Compared with the repository, the right pane is exactly what will be committed.
  • Hint: Read-only. This file is always committed; every other file follows your selection in the tree.
  • .codenow.yaml can't be parsed: a warning at the top of the panel reads The platform could not merge .codenow.yaml because it cannot be parsed. It is left as it is — update it by hand after the change. The line reads Nothing is committed for this file — see the warning. and the chip reads Not committed.

A file in the branch

  • Verdict: This file goes into the branch, with the line The platform commits the template's version to the new branch; you review it there and merge it. Untick it to leave it out and apply the change by hand.
  • Notes:
    • for a Continuous Delivery file (unless you keep the same template and version): Builds from <base> keep using the current file until you merge the branch, although the <kind> is already on the new template.
    • The commit replaces the whole file — edit lines of your own on the branch before you merge it. For a file that is new to the repository: The commit adds the template's file as it is.
  • Diff head: <template> <version> · committed to the branch.
  • Hint: Compared with <base> — this is exactly what the commit on the branch changes in this file.

A file left out of the branch

  • Verdict: Left out of the branch — tick it to include this file.
  • Continuous Delivery files: Apply the change by hand in the repository; builds keep using the old file until then. and Including it replaces the whole file in the repository. (for a file new to the repository: Including it adds the template's file as it is.). Hint: Compared with <base>. Copy the template file if you have no changes of your own in it; otherwise apply the highlighted lines.
  • Application Scaffold files: The platform neither manages nor requires it. You can still copy it or download it. and Rendered for <resource> from <template> <version> with your properties.
  • Diff head: <template> <version> · template file, not in the branch.

Dockerfile and Helm chart the platform renders

These files can't be included; they are shown under Template changes. The panel reads The platform handles this file, with the line Rendered from the new template at the next build — nothing for you to do., the chip Rendered at build and the hint Read-only. The platform renders exactly this file at the next build; nothing is committed.

A symbolic link in the repository

Verdict: This file is not part of the branch, with the line This path is, or lies behind, a symbolic link in the repository. The platform does not read or replace it — change it in the repository yourself. The chip reads Not selectable, and there is no checkbox.

A file with nothing to compare reads No comparison available for this file.

Actions and content

  • Copy file copies the new template's version of the file (confirmed by Copied <path>).
  • Download all (.zip), for application scaffold files, downloads every application scaffold file of the new template, rendered for this resource, as one archive, whatever you selected. The files keep the paths shown in the tree. The archive contains no .codenow.yaml, Dockerfile or Helm chart.
  • Application scaffold files are loaded when you select them (Loading the file…); a file you have opened once is not loaded again during the same review. Only the files the review lists can be opened, and only with update permission on the resource. A file that is already in the repository is shown as a diff against it; a new file is shown in a single read-only pane. A binary file, such as a Gradle wrapper JAR, is not displayed and reads Binary file — included in the download.; it can still be included in the branch.

Confirm​

Left of the buttons, the footer sums up what confirming does: whether it switches the template now, how many of the files go into a new branch, or that nothing is committed and no branch is created. <base> is never changed. For the same template and version with nothing to commit, the footer reads Nothing would change. and Change Template is disabled.

The buttons are Back, Cancel and Change Template. Change Template sends exactly the selection you reviewed.

If the change takes longer than 60 seconds, the dialog says Changing the template is taking longer than expected. It may still finish — check the template and the branch in the repository before you try again. It then offers Review again and Close, and the resource's detail page is refreshed in the background, so you can see whether the template was switched.

After You Confirm​

When the change succeeds, the dialog shows the result instead of closing.

With a branch. The head says that the template was changed and the branch is waiting for your merge (for the same template and version: that the branch was created). Under Branch, the branch name is shown with a copy button that copies the name. Then follow three steps:

  1. Platform · done — the switch, only when the template changed: it is in effect now, and deleting the branch does not undo it. To go back, change the template to the previous template and version again.
  2. Platform · done — the branch was created with <n> files in one commit, from <base> at its current commit; <base> itself was not changed.
  3. You · next, in the repository — review the branch and merge it into <base>. Until you do, <base> still has the old files. Adjust the files on the branch first if you need to.

Below, Files in the branch shows how many files were added or changed. The tree lists every committed file, marked Added or changed by the platform, and the other files the template knows that are already in the repository, marked Unchanged. Only files the template knows are listed; every other file on the branch is unchanged as well.

No branch. If nothing was committed, the result shows only a success message: Template changed, or Nothing changed for the same template and version, and that no branch was created because nothing was committed.

The footer has Open Branch in Repository, which opens the branch in your Git provider in a new tab, and Close. When the branch's address isn't known, or no branch was created, the button reads Open Repository and opens the repository instead; when the repository's web address isn't known either, there is no such button.

Markers on Tiles and Lists​

The template tile and the lists of application components, agents, libraries and containers mark resources that are not on the newest version:

  • Orange warning triangle — the resource is outdated: it uses a platform template in an older version.
  • Grey info icon — the resource uses a custom template in a version other than its latest one.

The marker's tooltip names the newer version. On the template tile and in the dialog's Current template slot, it points you to Change template; in the lists, to the resource's header.

In the lists, if you may view and update the resource, the marker is also a link: it opens the resource's detail page with the Change template dialog already open and the latest version preselected. Otherwise it is a plain icon. On the detail page, open Change template from the template tile: the latest version is preselected there too.

The markers are not shown for a resource whose template no longer exists.

Many Resources at Once​

To move many resources to a newer version, use the public API or the MCP server. List the resources, keep those marked as outdated and change each one to its template's latest version. Each resource switches as soon as its change succeeds, and each change creates its own branch in the resource's repository, so you end up with one branch per resource to review and merge. See Change the Template via API.

Troubleshooting​

Errors are shown inside the open dialog. Correct the input and try again. In the messages, <kind> is component, agent, library or container.

  • "<template name> can't be used for a <kind>. Pick another template." — the template is not offered for this kind of resource. Pick one that is offered when creating a resource of the same kind.
  • "Version <version> of <template name> no longer exists. Pick another version." — the version list is refreshed; pick another version.
  • A build is running — the message (for example "The template can't be changed while a build of this <kind> is running.") comes with a Build history button that takes you to the resource's Build History. Wait for the build to finish or cancel it, then try again.
  • "The branch <branch> already exists — merge or delete it in the repository, then review again." — a branch of that name is left from an earlier change, or was created in the meantime. CodeNOW never overwrites it. Merge or delete it in the repository, then click Review again. The same message appears if the branch is created between your review and your confirmation; nothing was changed.
  • "The branch could not be created, so nothing was changed. Try again later." — CodeNOW could not create the branch in the repository. The resource is still on its old template.
  • "The template was not changed, but the branch <branch> was created and could not be removed. Delete it in the repository before you try again." — the resource is still on its old template. Until you delete the branch, a new attempt fails because the branch already exists.
  • A property value is rejected — the message from the platform is shown at the affected field of Template configuration where possible. The new template validates properties the same way as on creation. Correct the value.
  • The resource is not ready — its creation is still in progress or has failed. A failed resource can't be fixed by changing its template; delete it and create it again.
  • "This review is out of date. Review the changes again." — a file you selected to view or to include is no longer offered by the review, for example because the template changed in the meantime. Click Review again.
  • "Changing the template is taking longer than expected. It may still finish — check the template and the branch in the repository before you try again." — the change did not answer within 60 seconds and may still complete. Click Review again or Close; the detail page is refreshed in the background. Check the resource's template and the repository's branches before you try again. If the change did go through, a new attempt reports that the branch already exists; that doesn't mean nothing changed.
  • "Loading the file failed." or "Downloading the files failed." — an application scaffold file or the archive could not be loaded. Try again later.
  • "Reading the template is taking longer than expected. Try again." — the review, a file or the download did not answer in time. Nothing was changed; try again.
  • "The template files are too large to show here." — the review can't display the new template's files because they are too large.
  • "The files are too large to download as one archive. Copy the files one by one." — Download all (.zip) is not available for this template; use Copy file on each file you need.
  • "You don't have permission to change the template of this <kind>." — you need update permission on the resource. See Permissions.
  • "This <kind> no longer exists." — the resource was deleted in the meantime.
  • "The repository can't be read. Nothing was changed. If this keeps happening, check that the resource's path in the repository is not a symbolic link." — CodeNOW could not read the repository's default branch, or refused the resource because its path in the repository runs through a symbolic link. Try again later; if the message keeps coming, check the resource's path, because for a symbolic link a retry doesn't help. Replace the link with a real directory.
  • The target template can't be rendered — the message names the template, the file and the line where rendering failed. The change is refused and nothing is changed. Trying again or changing property values doesn't help; the template itself has to be fixed.
  • "Changing the template failed." — an unexpected error. Try again later.
  • Builds use the new template, but my repository still has the old files — this is expected until you merge the branch. The resource switched to the new template when you confirmed; the default branch changes only when you merge the branch.