delete message when user leaves Identifier blank

emmajane - August 28, 2007 - 04:43
Project:Flickr
Version:5.x-1.x-dev
Component:flickr (main module)
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

When a user account is edited the message for $op=update is returned as:
%username's Flickr page has been deleted."

This is not correct. I have updated the message so that it is:
%username's Flickr page has been $op ed."

Patch is attached.

AttachmentSize
flickr_0.patch729 bytes

#1

drewish - August 28, 2007 - 14:57
Version:5.x-1.1» 5.x-1.x-dev
Status:active» patch (code needs work)

i think you're correct that the message is in correct but i'm reluctant to just include variable directly... it won't be localized correctly.

#2

emmajane - August 28, 2007 - 16:30

Whatever works best for all users is what should be done. The feedback for that entire section might need to be re-thought. It doesn't seem consistent in when/how it delivers messages...

#3

andrewlevine - September 2, 2007 - 00:04
Status:patch (code needs work)» patch (code needs review)

The original intent of the message was to make sure the user knew when their Flickr page was removed. I didn't think any other message was needed because Drupal already sets the message "The changes have been saved."

The proposed patch doesn't really make much sense because the message is only set when the flickr identifier field is blank. However, this did make me realize a bug. If the user didn't have a flickr page and they left the field blank, the "page deleted" message will still come up. My attached patch fixes that.

I haven't tested this.

AttachmentSize
171077.patch1 KB

#4

andrewlevine - February 5, 2008 - 19:18
Title:Poorly worded "update" message» delete message when user leaves Identifier blank
Status:patch (code needs review)» patch (reviewed & tested by the community)

tested and ready, drewish can you committ?

#5

drewish - February 26, 2008 - 00:10
Status:patch (reviewed & tested by the community)» fixed

committed to DRUPAL-5

#6

Anonymous (not verified) - March 11, 2008 - 00:13
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.