Plone send e-mail twice when deleting an item (Content rules) [duplicate] - email

This question already has answers here:
Plone: reacting to object removal
(4 answers)
Closed 9 years ago.
I defined a Content Rule that send an e-mail when deleting an item in my Plone site.
The problem I had is when I choose "Actions/Delete" and Plone shows the floating window asking for a confirmation, the e-mail is already beign sent, even before I confirm, so I receive two e-mails: One when I select "delete" and another one when I confirm it. If I decide not to delete, the e-mail is sent.
Why is Plone sending an e-mail before I confirm the item remove?
Plone 4.2.4 (4210)
CMF 2.2.7
Zope 2.13.19
Thanks

The reason may be that the delete action actually deletes things twice. The first time happens when you select the action and is used to trigger a check for related and linked items that refer to the item you are about to delete. This first 'delete' is then rolled back. The second delete happens after you actually click confirm.

Related

How to compare two non-sequential pull request updates in VSTS?

In VSTS (now Azure DevOps), multiple updates can be pushed to a pull request (PR). You can compare any update with its previous update, and you can compare a rolled-up view of all updates with the original code before any changes were made. But how do I compare two arbitrary, non-sequential updates?
My scenario is that a PR has had quite a bit of back-and-forth with a total of 8 updates pushed. I last reviewed update 5, but now 3 more updates exist. I don't want to review 6-5, 7-6, 8-7 or all updates, I just want to review 8-5. How do I do that?
A workaround (in the absence of any user interface to configure two non-sequential updates to be compared) is to edit the iteration=xxxand base=xxx query string parameters in the url, e.g.:
https://xxx.visualstudio.com/xxx/_git/xxx/pullrequest/123?iteration=8&base=5&_a=files
This updates the UI as shown below:
I discovered this because I received an automated email from VSTS notifying me about the latest pushed updates. The email included a "View pull request" button. I clicked the button which took me to the PR in VSTS (I think to the Overview section). There was a notification banner towards the top of the page with a link about comparing update 5 with update 8 which I had never seen before. This sounded promising, so I clicked the link and it took me to the Files section and showed the differences between update 5 and 8 which is exactly what I wanted!
However, subsequent visits to the page (or clicking the "View pull request" button in the email again) don't show that link again, and I can't find anywhere in the UI that lets me define the two updates to compare. So this seems like a one-time opportunity. Miss it, and it's gone forever. I'd still like to know if there's a way to define two non-sequential updates to be compared in the UI, however, the poor man's url hack is a viable workaround for now.

editing a google form response and data lost

I have created a standard google form and added a record. i have set options to edit the response . one of the questions i have added allows me to jump straight to submit or continue editing .
However When i am editing a response and i choose the my option to jump to submit and then press submit , i find the information is lost when i go back to edit the response.
However if i scroll through all my answers and submit at the end, then the data is saved.
Is there an issue with google forms ? i am not using any scripts - it is standard editing and form options.
This appears to be an issue with Google Forms when editing responses and changing the "go to" path from the initial submission. I've opened a question with a Google "Community Specialist" in the Google Help forums but so far she has not identified how to avoid this problem nor reported escalating it to get it fixed.
For those curious what to avoid, here is the scenario that causes a form to lose data:
Create a form with multiple Go To paths
Fill out a response using one Go To path of questions
Submit response
Click Edit Response
Choose an option that takes you down a different Go To path of questions
Submit the edited response
Click Edit Response
Going back to the original option Go To path, the earlier submitted data will now be gone.
Here is a form I've created that demonstrates the issue.
Here is the thread that as of this writing the Google Community Specialist has not yet solved. Perhaps if more people were to comment that it really is an issue she will pay more attention to it and bring it to the attention of who might be able to fix it.

How to enable email alerts for Firebase crash reports [duplicate]

This question already has answers here:
Firebase Crash report email
(3 answers)
Closed 5 years ago.
In the Firebase crash reporting guide, there is a list of key capabilities where it lists one capability as:
Enable email alerts to receive frequent updates when new crashes are uncovered or regressions are detected.
I would like to activate that feature, but I can't seem to find the way of doing so. I found two things related in the console:
If I navigate to Settings -> Service Accounts -> Crash Reporting, I can see some links to the docs.
If i click on the three dot next to my picture in the upper right corner of the console, there are the users settings, in which I can select Alert subscriptions. I select my app and I can see all email check-boxes checked
I still don't receive anything when a new bug or regression is created.
Well, I just received an email for a test I did yesterday. Basically, the reports appear in the console in a matter of minutes, but it took almost 20 hours to get the email. I guess the emails are sent on a daily basis containing the reports of the day before. Note that I did not change anything in the settings in that project, meaning the emails were enabled by default.

Thunderbird inbox: How to auto-scroll to latest email in incoming list?

my emails in Thunderbird (V 17.0.2 on Win 8) are sorted by date, the newest mails are on the bottom of the inbox-list.
I want this behavior: As soon as new emails show up in my inbox, the inbox-list shall directly scroll to the newest emails on the bottom of the inbox list. Currently new incoming emails are added to the inbox-list in the correct date-order BUT the list does not auto-scroll to the last (newest) element in this list. I always have to manually scroll down to see the new incoming emails as they are just below my second-newest emails from my previous mail-fetch.
Alternative way to solve my problem and to clarify: After the email-fetch-task has finished, I would need a plugin that automatically presses the END-key on the keyboard (above the cursor keys).
Is it possible to enable this behavior maybe by a special config-flag in "about:config" (edit configuration)?
Thank you a lot!!!
Thomas
At this moment the behavior reported is a know bug xref bugzilla #539468 and there is not much to do

Can ABNewPersonViewController be used to edit existing records? [duplicate]

This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
Can ABNewPersonViewController be used to edit existing records?
I'm trying to using ABNewPersonViewController to edit an existing record. I set the displayedPerson property and it shows up fine with all the info. If I hit 'Save', everything works as expected. However, if I hit 'Cancel', the record is deleted from the Address Book.
I can't use ABPersonViewController since I have a customized contact info page and need to open the editing page through my page. If you confirm that it is nonpossible to do like this, can you give me some other solutions.
The only solution I can think if is deep copying the record and then re-adding it to the Address Book if the user cancels out of the editing dialog. Is there really no better way?
Go through QuickContact Sample Project