Owner on CMDB not working [SOLVED]

Moderator: crythias

Locked
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Owner on CMDB not working [SOLVED]

Post by dstover »

I am trying to use CMDB (Configuration Management DataBase) and am trying to enter a computer into it. When I start typing in the Owner field, it looks like there is some kind of Ajax call that generates the following error:

Error during AJAX communication. Status: parsererror, Error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Can anyone shed any light on this? Thanks in advance...Dan.
Last edited by dstover on 17 Nov 2014, 18:37, edited 1 time in total.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
reneeb
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: Owner on CMDB not working

Post by reneeb »

Does the customer search in ticket creation masks work? Have a look at the JavaScript console to get more info (in firefox you'll get the javascript console with Strg+Shift+i)...
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
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

Re: Owner on CMDB not working

Post by dstover »

Thanks for the clue. I looked in the log and found that AgentCustomerSearch was not enabled in SysConfig. Once I enabled it, the error went away. The only issue is that the Owner field must be a Customer, not an Agent. So all of my Agents that we are supporting have to be entered in as Customers to allow CMDB to recognize them.

Thanks again...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
reneeb
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: Owner on CMDB not working

Post by reneeb »

You could have used http://opar.perl-services.de/dist/ITSM- ... tion-2.4.0 With that extension, you can use the agent backend for fields (though AFAIK you can't use Agent and Customer backends for a single field).
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
Locked