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

Case Templates no longer displayed in Reflex-UI if Description is modified right after Case Template creation #229

Closed
ar3diu opened this issue Jul 20, 2022 Discussed in #228 · 4 comments
Assignees
Labels
component: ui The UI component source: community Submitted by the community status: qa Status Quality Assurance type: bug Something isn't working

Comments

@ar3diu
Copy link

ar3diu commented Jul 20, 2022

Discussed in #228

We tried to reproduce the issue and see what causes it and this is what we got: if a Case Template Description is modified right after Case Template creation then all Case Templates stop being displayed in the UI.
Everything works as expected if other fields of the Case Template are changed first.

Steps:

  • Create a Case Template
  • Refresh the page
  • Edit and only modify the Description
  • Refresh the page
  • Check if Case Templates are still displayed

Originally posted by anrsec July 20, 2022
Hi,

We encountered a strange issue today when Case Templates suddenly stopped being displayed in the UI. Though, they seem to be loaded from Elastic according to browser network tools:

image

We can also apply them when creating a case starting from an Event in the Queue.
image

Tried to switch browsers and to rebuild reflex-api, reflex-ui and memcached docker containers without success.
Also, searched through the docker logs but couldn't find anything related. 🤷‍♂️

Any suggestions on how I can troubleshoot further?

@n3tsurge
Copy link
Contributor

I have a suspicion of what is happening here, will take a shot at replicating and provide a fix

@n3tsurge n3tsurge self-assigned this Jul 20, 2022
@n3tsurge n3tsurge added type: bug Something isn't working status: triage Items needing triage component: api The API component component: ui The UI component labels Jul 20, 2022
@n3tsurge
Copy link
Contributor

I am unable to replicate this as an Analyst user or Admin user

@n3tsurge
Copy link
Contributor

I was able to replicate, this is an error that occurs when there are no tasks on the Template, will supply a fix

n3tsurge added a commit to reflexsoar/reflex-ui that referenced this issue Jul 28, 2022
@n3tsurge n3tsurge added status: qa Status Quality Assurance source: community Submitted by the community and removed status: triage Items needing triage component: api The API component labels Jul 28, 2022
@n3tsurge
Copy link
Contributor

n3tsurge commented Aug 5, 2022

Fixed and will release in the 2022.08.00 release

@n3tsurge n3tsurge closed this as completed Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ui The UI component source: community Submitted by the community status: qa Status Quality Assurance type: bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants