I have run into a weird issue here. I am populating Dynamic Fields from a perl program. These fields have been added to my dashboard. The fields started turning up blank in my dashboard. I tried rebuilding configuration multiple times, tried clearing the cache on my browser, etc. to no avail. I looked up the fields in the database and in debugging statements and the value was in the right place, just not showing up in my dashboard. I then added a random Dynamic Field and the original fields all appeared.
Can someone clue me in as to what is going on and what to do about it? Thanks in advance...Dan.
Dashboard Dynamic Fields blank then appear [SOLVED]
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Dashboard Dynamic Fields blank then appear [SOLVED]
Last edited by dstover on 17 Nov 2014, 18:47, edited 1 time in total.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Dashboard Dynamic Fields blank then appear
If you filled the DynamicFields with your own Perl script you probably forgot to delete the OTRS caches...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Re: Dashboard Dynamic Fields blank then appear
I executed the bin/otrs.DeleteCache.pl script in advance of this issue. Is there something I need to do in the perl script?
Thanks in advance...Dan.
Thanks in advance...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Re: Dashboard Dynamic Fields blank then appear
Apparently I have to issue the otrs.DeleteCache.pl command after setting the Dynamic Field to make it appear in the dashboard. I was issuing the command before setting the value previously. I have included that into my .pm file using the do command and it works so far.
Thanks for your assistance. I appreciate it...Dan.
Thanks for your assistance. I appreciate it...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Dashboard Dynamic Fields blank then appear
It would be better to have the API update the field as it would handle the visibility at the same time.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Re: Dashboard Dynamic Fields blank then appear
I was having some trouble with using DynamicFieldValueObject->ValueSet to set the Dynamic Field, as in random "MySQL server has gone away" errors, so I converted all of the ValueSet calls to regular database calls via perl. Then I had the value disappearance issues, which I think the deletion of the caches has resolved.
Is there something I'm missing here? is there something besides ValueSet I should be using?
Thanks in advance for any info...Dan.
Is there something I'm missing here? is there something besides ValueSet I should be using?
Thanks in advance for any info...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB