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

导入资产失败 #3113

Closed
lx277856602 opened this issue Aug 13, 2019 · 3 comments

Comments

@lx277856602
Copy link

commented Aug 13, 2019

[简述你的问题]
按规定模板填写并导入资产时,报错导致导入失败

使用版本

[请提供你使用的Jumpserver版本 1.x.x 注: 0.3.x不再提供支持]
1.5.2

问题复现步骤
  1. [资产管理]-->[导入资料]-->[下载模板]-->填写模板
  2. [上传]资产csv文件
具体表现[截图可能会更好些,最好能截全]

image
image

其他

[注:] 完成后请关闭 issue

@wojiushixiaobai

This comment has been minimized.

Copy link
Collaborator

commented Aug 14, 2019

@lx277856602 请使用最新的模版,随便导出一个资产,参考该样板导入即可

@jym503558564

This comment has been minimized.

Copy link
Contributor

commented Aug 14, 2019

  • 管理用户请填写管理用户的id
    image
@lx277856602

This comment has been minimized.

Copy link
Author

commented Aug 16, 2019

@wojiushixiaobai @jym503558564 根据两位建议,尝试了导出后的模板+导入时的模板
image
测试结果如下:
1.使用导出的1条记录变更资产名称后以更新形式上传执行成功
2.使用导出的1条记录,新增1条资产,【管理用户】处使用了UUID,以【上传】途径上传时,出错【Server error occur, contact administrator】
image
3.使用导出的1条记录,新增1条资产,【管理用户】处使用了UUID,以【更新】途径上传时,出错
image
目前还不知道是什么原因以及如何解决?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.