Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore from cache retrieval failed after closed page by accident #6989

Open
demshy opened this issue Nov 24, 2023 · 0 comments
Open

Restore from cache retrieval failed after closed page by accident #6989

demshy opened this issue Nov 24, 2023 · 0 comments
Assignees
Labels
type: bug code to address defects in shipped code

Comments

@demshy
Copy link
Member

demshy commented Nov 24, 2023

Describe the bug
This issue was caught here: #6964
When retrieving values from backup, the page gets reloaded after a while, reverting to the values previously saved.

To Reproduce

  1. Open an existing entry
  2. Change some values
  3. Reload page
  4. Choose to retrieve from backup when prompted
  5. Observe that the page reloads after a while

Expected behavior
The form should keep the values that were retrieved from backup and should not refresh.

Screenshots
https://github.com/decaporg/decap-cms/assets/19568230/84e22190-67de-48af-86ff-457fd44dfc94

Applicable Versions:

  • Decap CMS version: 3.1.0-beta.1
  • Git provider: Github or local backend
  • OS: MacOS 13.0.1 (arm)
  • Browser version Chrome 119.0.6045.159

CMS configuration

local_backend: true

backend:
  name: git-gateway
  branch: main
  squash_merges: true

publish_mode: editorial_workflow
media_folder: static/media/uploads
public_folder: /media/uploads

slug:
  encoding: ascii
  clean_accents: true

i18n:
  structure: multiple_files
  locales: [en, de, si]

collections:
  - name: posts
    label: Posts
    label_singular: post
    folder: content/posts
    create: true
    slug: "{{slug}}"
    i18n: true
    editor:
      preview: false

    fields: [
      {name: title, widget: string, i18n: true},
      {name: description, widget: text, i18n: true},
      {name: image, widget: image, i18n: duplicate, required: false},
      {name: body, widget: markdown, i18n: true},
    ]
@demshy demshy added the type: bug code to address defects in shipped code label Nov 24, 2023
@demshy demshy changed the title Please replace with a clear and descriptive title Restore from cache retrieval failed after closed page by accident Nov 24, 2023
@demshy demshy self-assigned this Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

1 participant