id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
6631,The setting `always_notify_author` is not respected initially for blogs,rjollos,rjollos,Steps to reproduce:\r\n\r\n 1. Create a new user and login to create a new blog post (see Log 1 below). User does not receive an email notification.\r\n 1. Navigate to Preferences > Announcements. The blog subscription preferences are as shown in ''!BlogSubscriptionInitialPreferences.png''_ below.\r\n 1. Don't make any changes to the settings_ just press '''Save changes'''.\r\n 1. Create another blog post and you'll receive a notification this time.\r\n\r\nI've reproduced these steps twice using two new usernames.\r\n\r\nLog 1:\r\n{{{\r\n09:54:32 PM Trac[model] DEBUG: Saving new version 1 of blog post u'Post8' from author u'admin'\r\n09:54:32 PM Trac[api] DEBUG: AnnouncementSystem found the following subscribers capable of handling 'blog_ post created': StaticTicketSubscriber_ BlogSubscriber\r\n09:54:32 PM Trac[ticket_compat] DEBUG: StaticTicketSubscriber added 'ryano@physiosonics.com' because of rule: smtp_always_cc\r\n09:54:32 PM Trac[subscriber] DEBUG: BlogSubscriber added 'admin (None)' for 'My Post Subscription'\r\n09:54:32 PM Trac[api] DEBUG: AnnouncementSystem has found the following subscriptions: [admin(not authenticated) via email]_ [ryano@physiosonics.com(not authenticated) via email]\r\n09:54:32 PM Trac[email_distributor] DEBUG: EmailDistributor has found the following formats capable of handling 'email' of 'blog': text/plain\r\n09:54:32 PM Trac[email_distributor] DEBUG: EmailDistributer format text/html not availablefor email blog_ looking for an alternative\r\n09:54:32 PM Trac[email_distributor] DEBUG: EmailDistributor found the address 'admin@physiosonics.com' for 'admin (not authenticated)' via: DefaultDomainEmailResolver\r\n09:54:32 PM Trac[email_distributor] DEBUG: EmailDistributer format text/html not availablefor email blog_ looking for an alternative\r\n09:54:32 PM Trac[email_distributor] DEBUG: EmailDistributor found the address 'ryano@physiosonics.com' for 'None (not authenticated)' via: NoneType\r\n09:54:32 PM Trac[api] DEBUG: AnnouncementSystem sent event in 0.01 seconds.\r\n}}}\r\n\r\nBlogSubscriptionInitialPreferences.png:\r\n\r\n[[Image(BlogSubscriptionInitialPreferences.png)]]\r\n\r\nLog 2:\r\n{{{\r\n10:05:04 PM Trac[main] DEBUG: Dispatching <Request "POST u'/blog/create'">\r\n10:05:04 PM Trac[web_ui] DEBUG: Blog debug: command=u'create'_ pagename=u'Post10'_ path_items=[u'create']\r\n10:05:04 PM Trac[model] DEBUG: Saving new version 1 of blog post u'Post10' from author u'admin'\r\n10:05:04 PM Trac[api] DEBUG: AnnouncementSystem found the following subscribers capable of handling 'blog_ post created': StaticTicketSubscriber_ BlogSubscriber\r\n10:05:04 PM Trac[ticket_compat] DEBUG: StaticTicketSubscriber added 'ryano@physiosonics.com' because of rule: smtp_always_cc\r\n10:05:04 PM Trac[subscriber] DEBUG: BlogSubscriber added 'admin (True)' for 'My Post Subscription'\r\n10:05:04 PM Trac[api] DEBUG: AnnouncementSystem has found the following subscriptions: [ryano@physiosonics.com(not authenticated) via email]_ [admin(authenticated) via email]\r\n10:05:04 PM Trac[email_distributor] DEBUG: EmailDistributor has found the following formats capable of handling 'email' of 'blog': text/plain\r\n10:05:04 PM Trac[email_distributor] DEBUG: EmailDistributor determined the preferred format for 'admin (authenticated)' is: text/plain\r\n10:05:04 PM Trac[email_distributor] DEBUG: EmailDistributor found the address 'admin@physiosonics.com' for 'admin (authenticated)' via: DefaultDomainEmailResolver\r\n10:05:04 PM Trac[email_distributor] DEBUG: EmailDistributer format text/html not availablefor email blog_ looking for an alternative\r\n10:05:04 PM Trac[email_distributor] DEBUG: EmailDistributor found the address 'ryano@physiosonics.com' for 'None (not authenticated)' via: NoneType\r\n10:05:04 PM Trac[email_distributor] DEBUG: EmailDistributor is sending event as '<generator object get_format_alternative at 0x225bfa0>' to: admin@physiosonics.com\r\n10:05:06 PM Trac[email_distributor] DEBUG: EmailDistributor took 2.13 seconds to send.\r\n10:05:06 PM Trac[api] DEBUG: AnnouncementSystem sent event in 2.19 seconds.\r\n10:05:06 PM Trac[session] DEBUG: Retrieving session for ID u'admin'\r\n}}}\r\n\r\nAdditional details: I'm running the t:TracStandalone development environment configued with authentication as described on t:TracStandalone#UsingAuthentication.  The development environment is configured as described in t:TracDev/DevelopmentEnvironmentSetup.\r\n\r\nAll of the settings below were copied from the ''About'' page:\r\n\r\n{{{\r\nTrac:  	0.11.7stable-r9170\r\nPython: 	2.6.4 (r264:75706_ Dec 7 2009_ 18:43:55) [GCC 4.4.1]\r\nsetuptools: 	0.6c11\r\nSQLite: 	3.6.16\r\npysqlite: 	2.5.5\r\nGenshi: 	0.6dev-r1092\r\nPygments: 	1.0\r\nSubversion: 	1.6.5 (r38866)\r\nFullBlog: 	0.1.1-r7225\r\njQuery:	1.2.6\r\n}}}\r\n\r\n`[Announcer]`\r\n{{{\r\nadmit_domains  	\r\nalways_notify_component_owner 	true\r\nalways_notify_owner 	true\r\nalways_notify_reporter 	true\r\nalways_notify_updater 	true\r\nctxtnav_names 	Watch ThisUnwatch This\r\ncustom_cc_fields 	\r\ndefault_email_format 	text/html\r\nemail_address_resolvers 	SpecifiedEmailResolver_ SessionEmailResolver_ DefaultDomainEmailResolver\r\nemail_sender 	SmtpEmailSender\r\nignore_cc_changes 	false\r\nignore_domains 	\r\njoinable_groups 	\r\nmime_encoding 	base64\r\nsendmail_path 	sendmail\r\nsmtp_always_bcc 	\r\nsmtp_always_cc 	ryano@physiosonics.com\r\nsmtp_debuglevel 	\r\nsmtp_default_domain 	physiosonics.com\r\nsmtp_enabled 	true\r\nsmtp_from 	tracadmin@physiosonics.com\r\nsmtp_from_name 	Trac Admin\r\nsmtp_password 	XXXXXXX\r\nsmtp_port 	587\r\nsmtp_replyto 	tracadmin@physiosonics.com\r\nsmtp_server 	smtpx17.msoutlookonline.net\r\nsmtp_subject_prefix 	__default__\r\nsmtp_timeout 	10\r\nsmtp_to 	\r\nsmtp_user 	ryano@physiosonics.com\r\nticket_email_header_fields 	owner_ reporter_ milestone_ priority_ severity\r\nticket_email_subject 	Ticket #${ticket.id}: ${ticket['summary']} {% if action %}[${action}]{% end %}\r\nticket_subject_template 	$prefix #$ticket.id: $summary\r\nuse_public_cc 	false\r\nuse_short_addr 	false\r\nuse_threaded_delivery 	false\r\nuse_tls 	true\r\nwatchable_paths 	wiki/*_ticket/*\r\nwiki_email_diff 	true\r\nwiki_email_subject 	Page: ${page.name} ${action}\r\n}}}\r\n\r\n`[fullblog-announcement]`\r\n{{{\r\nalways_notify_author  	enabled\r\nblog_email_subject 	Blog: ${blog.name} ${action}\r\n}}}\r\n\r\nIt also appears that I'm not receiving a notification through the address added in the `smtp_always_cc` parameter.,defect,new,high,AnnouncerPlugin,major,,blog_ FullBlogPlugin,,0.11
