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

Fixes in required fields and default testid for frontend #680

Merged
merged 10 commits into from
Jan 4, 2024

Conversation

Ark2307
Copy link
Contributor

@Ark2307 Ark2307 commented Oct 20, 2023

No description provided.

@notshivansh notshivansh changed the base branch from master to develop October 26, 2023 08:28
@ankush-jain-akto ankush-jain-akto added the bug-fix This pull request fixes an existing bug label Dec 9, 2023
if (convertedInfo.getName() == null || convertedInfo.getDescription() == null
|| convertedInfo.getDetails() == null || convertedInfo.getCategory() == null
|| convertedInfo.getSeverity() == null || convertedInfo.getSubCategory() == null) {
addActionError("info information is not complete.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this error message more descriptive, this is unclear

@@ -102,7 +106,23 @@ public String saveTestEditorFile() {
Map<String, Object> config = mapper.readValue(content, Map.class);
Object info = config.get("info");
if (info == null) {
addActionError("Error in template: info key absent");
addActionError("info is null");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert this to original

@ayushaga14 ayushaga14 merged commit 4d5d6be into develop Jan 4, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This pull request fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants