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

conditions in "Detail Group" is broken #13621

Closed
ludi81 opened this issue May 30, 2022 · 4 comments
Closed

conditions in "Detail Group" is broken #13621

ludi81 opened this issue May 30, 2022 · 4 comments

Comments

@ludi81
Copy link

ludi81 commented May 30, 2022

Describe the Bug

I created a collection called Test with a dropdown element (Type with two entries: Type 1 und Type 2).
Additionally I added a condition for the "Detail Group" element to be shown only if type is not Type 1.

I set the condition as follows:
2022-05-30_16-58-21

During the saving process I receive the following error and the above dialog is still shown:
2022-05-30_16-59-07

To Reproduce

To reproduce the above error just use the database dump in the bug report: #13620

Errors Shown

No response

What version of Directus are you using?

9.11.1

What version of Node.js are you using?

16.13.2

What database are you using?

mysql

What browser are you using?

chrome and safari

How are you deploying Directus?

running locally

@azrikahar
Copy link
Contributor

Additionally I added a condition for the "Detail Group" element to be shown only if type is not Type 1.

I'm not sure if this is a typo, but this statement seems to contradict with your config in the screenshot, since you are hiding it instead of showing it when type is not Type 1.

With that said, I was not able to reproduce this error:

chrome_UH0RcIbFzP.mp4

Can you share what were the exact steps (and which fields) you were configuring which led to the reported error? We'll re-open this when more info is available 👍

P/S: It seems like you forgot to share the credentials (particularly password) of the db dump. I've regenerated the argon2 hash to circumvent it, but just want to point it out as a future reminder, no worries 😄

@azrikahar azrikahar closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2022
@ludi81
Copy link
Author

ludi81 commented May 31, 2022

Hi,

If I execute the same steps I receive an error:

Video.mov

I tried it with safari and chrome (with incognito window)

Are you testing with directus 9.11.1 (release) and node version 16.13.2?

@azrikahar
Copy link
Contributor

Ah that makes more sense now. I was testing on the latest main branch. This conditions options bug was fixed in #13563 recently and not released yet 👍

@ludi81
Copy link
Author

ludi81 commented May 31, 2022

That's great, in this case I will wait until the next release will be published.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants