Skip to content

[$70] [Metadata Management] keep entered data if error occurs during entity creating #3132

@maxceem

Description

@maxceem

This issue is valid for all sections in the metadata: Project Templates, Products Templates, Project Types and so on...

Expected behavior

Entered data should persist in the form when a server-side error happens during some entity creating.

Actual behavior

Entered data is cleared in the form when a server-side error happens during some entity creating.

Steps to reproduce the problem

  • Open any create page in the metadata section, for example new project template page http://local.topcoder-dev.com:3000/metadata/new-project-template.
  • Fill the data, but enter some key which already exists in the DB to trigger a server-side error. For example key=app exists.
  • Click Save button. You would see an error message from the server and form would be cleared, so we have to fill all the data again from the scratch.

Screenshot/screencast

Video: https://monosnap.com/file/9jF1mAcaUirwJKRqcUwDQia8xC0VIn

Screenshot:

image

--

Environment

  • OS: all
  • Browser (w/version): all
  • User role (client, copilot or manager): admin

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions