With Meta Tags: Context enabled,

Edit an existing tag in the module config (Configuration > Meta Tags > By Path)

If you click cancel, the tag will be deleted and no longer show in the list of tags.

Files: 
CommentFileSizeAuthor
#6 metatag-n1955898-6.patch3.77 KBDamienMcKenna
PASSED: [[SimpleTest]]: [MySQL] 21 pass(es).
[ View ]
#5 metatag-n1955898-5.patch3.36 KBDamienMcKenna
PASSED: [[SimpleTest]]: [MySQL] 21 pass(es).
[ View ]

Comments

Priority:Normal» Major
Issue tags:+D7 stable release blocker

Yikes.

Component:User interface» Context

Checked the code.
If you comment out the L:151 from the metatag_context.admin.inc it will work.

function metatag_context_config_edit_form_cancel_submit($form, &$form_state) {
  //context_delete($form_state['metatag_context']['context']);
  $form_state['redirect'] = 'admin/config/search/metatags/context';
}

I do not really understand why would someone think the "Cancel" is equal with the "Delete".

Status:Active» Needs review

StatusFileSize
new3.36 KB
PASSED: [[SimpleTest]]: [MySQL] 21 pass(es).
[ View ]

Thank you for noticing that, here is the fix as a patch.

StatusFileSize
new3.77 KB
PASSED: [[SimpleTest]]: [MySQL] 21 pass(es).
[ View ]

A better way of handling this - replace the Cancel button with the same Cancel link used on other forms.

Status:Needs review» Fixed

Committed.

Status:Fixed» Closed (fixed)

Now that v7.x-1.0-beta7 is out, I'm closing this in the interest of keeping the issue queue clean.