🔄 Sync Application Data with Site Records: Inconsistent Information Display #10686

Closed
opened 2026-02-21 18:49:54 -05:00 by yindo · 0 comments
Owner

Originally created by @xuzijie1995 on GitHub (Mar 12, 2025).

Originally assigned to: @crazywoola on GitHub.

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Issue Description

When creating or copying an application, the application information is initially synchronized to the sites table. However, subsequent edits to the application name are not being synchronized, causing inconsistency in the preview experience URL.

Current Behavior

  • Initial app creation/copy: Information is properly synced to sites
  • Subsequent app name updates: Changes are not reflected in sites table
  • Result: Preview URL shows outdated application name

Expected Behavior

  • Any updates to application information should be automatically synchronized with the corresponding site record
  • Preview URL should always display the current application name

Impact

This inconsistency creates confusion when sharing preview URLs with stakeholders, as the displayed name doesn't match the current application name.

Additional Note

The preview URL feature itself is excellent and has been incredibly valuable for quick demonstrations to management. It's a great tool for showcasing applications, which makes this synchronization issue particularly important to address.

Technical Details

  • Affected operations: app_service.update_app_name
  • Related tables: applications, sites

2. Additional context or comments

Steps to Reproduce

  1. Update Application Name

    • Navigate to application settings
    • Change the application name to "new name"
    • Save changes
      Update App Name
  2. Run the site
    Name Changed

  3. Check Preview URL

    • Open the application preview URL
    • Notice that the old name is still displayed instead of "new name"
      Preview URL Inconsistency

Actual Result

The application name update is not synchronized with the site record, causing inconsistency in the preview URL display.

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @xuzijie1995 on GitHub (Mar 12, 2025). Originally assigned to: @crazywoola on GitHub. ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. ## Issue Description When creating or copying an application, the application information is initially synchronized to the sites table. However, subsequent edits to the application name are not being synchronized, causing inconsistency in the preview experience URL. ### Current Behavior - Initial app creation/copy: Information is properly synced to sites - Subsequent app name updates: Changes are not reflected in sites table - Result: Preview URL shows outdated application name ### Expected Behavior - Any updates to application information should be automatically synchronized with the corresponding site record - Preview URL should always display the current application name ### Impact This inconsistency creates confusion when sharing preview URLs with stakeholders, as the displayed name doesn't match the current application name. ### Additional Note The preview URL feature itself is excellent and has been incredibly valuable for quick demonstrations to management. It's a great tool for showcasing applications, which makes this synchronization issue particularly important to address. ### Technical Details - Affected operations: app_service.update_app_name - Related tables: applications, sites ### 2. Additional context or comments ### Steps to Reproduce 1. Update Application Name - Navigate to application settings - Change the application name to "new name" - Save changes ![Update App Name](https://github.com/user-attachments/assets/eb1a9765-bc48-49b0-b4ee-b3afe7bb0dc2) 2. Run the site ![Name Changed](https://github.com/user-attachments/assets/55e7b0ed-63e5-4468-90f5-81e03b84e57d) 3. Check Preview URL - Open the application preview URL - Notice that the old name is still displayed instead of "new name" ![Preview URL Inconsistency](https://github.com/user-attachments/assets/14e45dbc-2b0f-44e9-9204-7add54fbcd39) ### Actual Result The application name update is not synchronized with the site record, causing inconsistency in the preview URL display. ### 3. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo closed this issue 2026-02-21 18:49:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#10686