Package: gosa-plugin-dhcp
Severity: important
Version: 2.7.4+reloaded2-2
User: [email protected]
Usertags: debian-edu
X-Debbugs-Cc: [email protected]

A while ago I had noticed that there is a regression in GOsa 2.7's DHCP service 
plugin compared to GOsa 2.6.

In gosa-plugin-service 2.7 in combination with php in jessie and stretch (the 
issue also existed in wheezy IIIRC) it is not possible to insert DHCP 
subsections anymore. This makes the DHCP plugin hardly usable (as you cannot 
populate the DHCP server configuration with config sections and subsections.

Today I finally looked at this issue and found out that the reason lies in the 
image() function in gosa-core/include/functions.inc.

The icon for inserting new sections simply does not get rendered as the 
rendering fails due to a failing preg_match() call when stripping off href 
labels from image filename (e.g., "images/element.png[new]"). If that label in 
the square brackets does not get used in class_servDhcpd.inc, then it is 
possible to properly configure the DHCPd service again via the gosa-plugin-dhcp.

I will come up with a patch for this tomorrow.

Greets,
Mike




-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976148

GnuPG Key ID 0x25771B13
mail: [email protected], http://das-netzwerkteam.de


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/1438278163.2137.8.camel@Nokia-N900

Reply via email to