Download & Extend

User-enabled target does not retain selection after editing

Project:Link
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:mdeltito
Status:needs review

Issue Summary

When a user sets the checkbox for "Open URL in a New Window" this selection does not appear on subsequent edits. Instead, the checkbox always defaults to "checked" creating a scenario where every edit reverts the selection (assuming the editor did NOT intend for the link to open in a new window - otherwise, the issue is not evident)

The issue is that the $attributes of the element are not properly unserialized when displaying the form.

Patch forthcoming

Comments

#1

Status:active» needs review
AttachmentSize
link-fix-target-default-value-1780488-1.patch 976 bytes

#2

[double post]

AttachmentSize
link-fix-target-default-value-1780488-1.patch 976 bytes
nobody click here