Modify

Ticket #197 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Too many emails sent to reviewers, when news or events content item published.

Reported by: andycat Owned by: andycat
Priority: critical Milestone: 0.2.3
Component: PlumiSkin Severity:
Keywords: Cc:
Who will test this:

Description (last modified by andycat) (diff)

With the new code in 0.2.2-final for putting news and events into 'pending' state automatically, we have 4 emails per each new content item being published. This is wrong, and confusing, since the url inside the email is pointing to temporary places for the event.

the code in question:  http://dev.plone.org/collective/changeset/74055

Attachments

Change History

comment:1 Changed 6 years ago by andycat

  • Description modified (diff)

comment:2 Changed 6 years ago by andycat

 http://dev.plone.org/collective/changeset/78465

reduces the number of state transitions to one, hence one call of the script 'inform_reviewers.py' is called, and hence only one email is sent out. BUT this is still called before the real end of the object's setup - ie the email contains the wrong URL, the url from before the item is properly renamed.

comment:3 Changed 6 years ago by andycat

comment:4 Changed 6 years ago by andycat

comment:5 Changed 6 years ago by datakid

  • Status changed from new to closed
  • Resolution set to fixed

One email to reviewers, one to the content creator, seems like a reasonable amount of emails to receive.

Done.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.