ConfigItem does not get saved

English! place to talk about development, programming and coding
Post Reply
pc-coholic
Znuny newbie
Posts: 18
Joined: 04 Jan 2011, 20:55
Znuny Version: 3.2.12

ConfigItem does not get saved

Post by pc-coholic »

Hi everyone!

I am currently trying to pack up my OTRS-module into an opm-file, but I still have a small problem...

I have multiple ConfigItems in my Kernel/Config/Files/RTT-JiraWebhook.pm and all of them get set - with exception of those Items that try to add something to ConfigHashes that control the display of DynamicFields.

Code: Select all

<ConfigItem Name="Ticket::Frontend::AgentTicketZoom###DynamicField" Required="0" Valid="1">
	<Description Translatable="1">Showing the Jira-DynamicFields in the sidebar of the ticket zoom screen.</Description>
	<Group>Ticket</Group>
	<SubGroup>Frontend::Agent::Ticket::ViewZoom</SubGroup>
	<Setting>
		<Hash>
			<Item Key="JiraKey">1</Item>
			<Item Key="JiraSummary">1</Item>
			<Item Key="JiraStatus">1</Item>
			<Item Key="JiraIssueType">1</Item>
			<Item Key="JiraPriority">1</Item>
			<Item Key="JiraAssignee">1</Item>
			<Item Key="JiraLastChanged">1</Item>
		</Hash>
	</Setting>
</ConfigItem>
Also, I tried to change <Group>Ticket</Group> to my own namespace (RTT-JiraWebhook) - but no change: The ConfigItems don't get created.

When changing Ticket::Frontend::AgentTicketZoom###DynamicField to Ticket::Frontend::AgentTicketZoom::DynamicField stuff gets created, but as far as I can tell, I need the ### and not ::.

Anyone seeing, why my code won't work?

Thanks,

Martin
OTRS 3.2.8
Post Reply