omeka-s-modules / Collecting

GNU General Public License v3.0
2 stars 6 forks source link

Testing: Notification email #70

Closed jimsafley closed 3 years ago

jimsafley commented 3 years ago

Test on master branch. I've introduced a feature that lets administrators send a notification email after users submit items. In site settings, under the "Collecting" section, enter your email into "Notification email address". Then go to a public form and submit something. You should receive an email containing submission data and a link to the review page. Note that your installation must have email configured and working for this to work.

sharonmleon commented 3 years ago

The email worked fine, but the link to the item in the site was not a properly formed URL: http:///workspace/omeka-s/admin/site/s/mall/collecting/1/item

Should be: http://6floors.org/workspace/omeka-s/admin/item/6587

zerocrates commented 3 years ago

probably just an issue of not using an absolute URL in the email.

sharonmleon commented 3 years ago

Sorry, I was wrong about this, the URL should be http://6floors.org/workspace/omeka-s/admin/site/s/mall/collecting/1/item

That suggests that John is right and that I didn't actually pay attention to where the email was sending me: to the review panel, and not to the items browse.

zerocrates commented 3 years ago

But the "it didn't have your domain name in the link" part is still the same, yes?

sharonmleon commented 3 years ago

Yes. I was just wrong about what the link should have been. It was the correct relative destination, but it definitely needed the absolute link.

sharonmleon commented 3 years ago

Fixed, and functional.