Skip to content

[Feature] Issue that application nested export and then import to other environments is unavailable #3332

@huskiesir

Description

@huskiesir

Contact Information

1832025651@qq.com

MaxKB Version

1.10.8 lts

Problem Description

应用导出再导入,是不会携带应用ID的。这样就会导致一个问题,如果存在应用嵌套的场景,那么这个应用导出再导入就会有问题,会因为找不到嵌入应用的关联关系而导致这个应用不可用。

Image

常见场景是客户有2套环境,生产和测试,从测试环境导入到生产环境,就会有这个问题。

Steps to Reproduce

有2套环境,生产和测试,从测试环境导出应用,再导入到生产环境。

The expected correct result

No response

Related log output

Additional Information

No response

Activity

changed the title [-][Bug] 应用嵌套导出再导入到其他环境不可用的问题[/-] [+][Bug] Issue that application nested export and then import to other environments is unavailable[/+] on Jun 20, 2025
changed the title [-][Bug] Issue that application nested export and then import to other environments is unavailable[/-] [+][Feature] Issue that application nested export and then import to other environments is unavailable[/+] on Jun 23, 2025
assigned and unassigned on Jun 23, 2025
zyyfit

zyyfit commented on Jun 23, 2025

@zyyfit

用户想要这样的效果:
在第一个环境中,应用A引用了应用B
将第一个环境中的应用A(和应用B)导出
在第二个环境中导入应用A(在导入应用A之前先导入了应用B),应用A可以自动关联应用B

shaohuzhang1

shaohuzhang1 commented on Jun 23, 2025

@shaohuzhang1
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Users want this effect:
In the first environment, Application A refers to Application B
Export Application A (and Application B) from the first environment
Import application A in the second environment (app B was imported before importing application A), and application A can automatically associate application B

baixin513

baixin513 commented on Jun 24, 2025

@baixin513
Contributor

感谢反馈,跨环境导入应用 ID确实会变,应用节点无法对应上,需要您重新设置一下。

shaohuzhang1

shaohuzhang1 commented on Jun 24, 2025

@shaohuzhang1
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Thanks for the feedback, the application ID imported across environments will indeed change, and the application node cannot correspond to it, so you need to reset it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @huskiesir@baixin513@zyyfit@shaohuzhang1

      Issue actions

        [Feature] Issue that application nested export and then import to other environments is unavailable · Issue #3332 · 1Panel-dev/MaxKB