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

mandatory of field not work #890

Open
2 tasks done
hcimadomo-procsi opened this issue Jan 4, 2025 · 9 comments
Open
2 tasks done

mandatory of field not work #890

hcimadomo-procsi opened this issue Jan 4, 2025 · 9 comments

Comments

@hcimadomo-procsi
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

10.0.16

Plugin version

1.21.17

Bug description

Hello,
the mandatory caracteristic of a field not work (field name is facturation in picture)
Process: creation of a ticket with a field mandatory with value empty -> creation of ticket is possible. With version 1.21.16, i have a message to inform that the field is mandatory.
image
Best regards

Relevant log output

No response

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

@brusilva84
Copy link

brusilva84 commented Jan 13, 2025

I've tested with a new mandatory field on a Ticket and can confirm I can close the ticket without setting a value on the field with version 1.21.17

@verdanatech-marcio
Copy link

I'm having the same problem with this version

@stonebuzz
Copy link
Contributor

Hi @brusilva84 @verdanatech-marcio

can you try this- > #893

Best regards

@verdanatech-marcio
Copy link

verdanatech-marcio commented Jan 13, 2025

Hi @stonebuzz
I tried this commit revert, but it still doesn't work as expected regarding the mandatory issue.

@stonebuzz
Copy link
Contributor

So it's another problem =)

we'll be looking at

@stonebuzz
Copy link
Contributor

Hi @verdanatech-marcio @brusilva84

I can't reproduce with the latest version of the plugin

image

This is how my field is configured

image

image

@brusilva84
Copy link

If you close the ticket without filling up that field it will save as "----" and not one of the avaiable choices on the combobox

@stonebuzz
Copy link
Contributor

I thought the problem occurred when the ticket was created (and not when it was closed).

@brusilva84
Copy link

brusilva84 commented Jan 14, 2025

It's only on close ticket at least for me. Dunno about OP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants