Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Changes on bot files won't take effect by refreshing the design page #2949

@yeze322

Description

@yeze322

Describe the bug

bug-get-cache

The behavior of 'open project' and 'get project' are different. 'open project' will always fetch the newest dialog data while 'get project' won't.

What I did here is editing a main.dialog file via a plain text editor, then tried 2 approaches to refetch the bot content (1. refresh the page 2. reopen the bot from Home page)

Found that

  • 'get project' returns old data, hits cached data
    image
  • 'open' returns new data
    image

Repro steps:

  1. Update the bot content file under YOUT_BOT_PRJECT folder, for example, removing an action
  2. go back to design page (content not updated)
  3. refresh design page (content still not updated)
  4. go to home page, open the bot by click the blue text under Recent Bots (schema updated)

Version

Browser

  • Chrome
  • Safari
  • Firefox
  • Edge

OS

  • macOS
  • Windows
  • Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions