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
Bug - Empty block (horizontal line) dynamic field group process management #513
Comments
You can see the block is called in every group with no value checking. Znuny/Kernel/Modules/AgentTicketZoom.pm Line 1658 in 4ba26a0
Below is some code that i applied to tackle this. Perhaps you guys has a better way.
|
We can't verify your issue with our existing example processes. Would you be able to send us your process used in the issue? |
Hi, basically my ProcessWidgetDynamicGroups as below with contain multiple df group across all process: Let say i create a process ticket 'Software Support' as below (which only utilize 'Software Support' df group), we can see all the df group block has been called and display as horizontal line. Export_ProcessEntityID_Process-22cfb5eb43279532308232c678671c34.zip |
@mo-azfar Can you also add the dynamics (and screens) export? |
@rkaldung Yes..please refer attached zip file..also attached Config for ProcessWidgetDynamicFieldGroups
|
Internal issue 782 |
Hi @mo-azfar, thanks for your report and the fix suggestion. I have attached a patch here that is much simpler. 0001-782-Bug-Empty-block-horizontal-line-dynamic-field-gr.patch |
Hi @dennykorsukewitz ..thanks for the patch.. Before patch However the display result as below after patched. Notice the dynamic field display is 1 x 1 instead of 4 x 1. |
Hi @mo-azfar Ah, thanks for testing. |
Hi @mo-azfar I have adopted your idea and adapted it a little. Thank you. 0002-782-Bug-Empty-block-horizontal-line-dynamic-field-gr.patch |
Hi @dennykorsukewitz , Tested with group and no-group.. |
7.0.15 a6a3c3f |
Environment
Expected behavior
There is multiple process defined and multiple group in dynamic field widget group.
If some process didnt have the dynamic field value in defined widget group, the block should be hidden / remove.
Actual behavior
There is multiple process defined and multiple group in dynamic field widget group.
If some process didnt have the dynamic field value in defined widget group, the block actually there and quite waste the space.
We can see it from the horizontal line there.
How to reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: