Project:Twitter
Version:6.x-3.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Hello.

Thank you for great work, I enjoy using twitter module for automated tweets at node creation.

Anyway I have a little problem with status field of twitter form. When I create new node, twitter status for this node has default value. I can change this value to something more appropriate for this specific node, but if I click 'Preview' button after that, my status will be replaced by default one. I find this behaviour very annoying :) This small patch will fix it.

AttachmentSize
twitter.node_preview.graker.patch741 bytes

Comments

#1

Status:active» needs review

#2

Oops, sorry, I confused source and destination files. Here's correct patch file.

AttachmentSize
twitter.module.node_preview.graker.patch 741 bytes

#3

The patch does fix the problem on my system

#4

Version:6.x-2.6» 6.x-3.x-dev

Still an issue, though the code have moved and changed quite a lot. I have almost no knowledge of the Drupal form API, but I hacked a small patch. Not sure what is best practice to keep those form values during preview, so this might be not where to fix it :)

AttachmentSize
twitter_633450.patch 1.2 KB

#5

There is an duplicate of this issue at #524370: "Announce This Post On Twitter" check box does not respect Preview that I closed, but contain some patches and ideas on best practice.