/notifications/subscribe/1/taxonomy/tid/9 issues

batje - May 21, 2009 - 18:27
Project:Notifications
Version:6.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

I created a link to

/notifications/subscribe/1/taxonomy/tid/9

Then I save the subsciption. I get rerouted to

/notifications/subscription/4

and get a 'Delete' button. (the subscription exists in the DB with sid 4), all is fine so far

When I click the delete button, the subscription is deleted and i return to the same page!

That doesnt work. That sid just got deleted. So i get a page does not exist error.

On a second node. Once I am subscribed, and i go to

/notifications/subscribe/1/taxonomy/tid/9

again. The module does not notice I am already subscribed. I would expect the module to redirect me to

/notifications/subscription/4

as adding the same subscription twice doesnt make real sense. (in fact, when I save, the subscription is not added twice.)

#1

batje - May 21, 2009 - 19:28

And the last issue:

The link to the taxonomy/term could also point to a forum. This allows for a great sort of subscription, but the link does not point to the forum, but rather to the /taxonomy/term page.

#2

hefox - May 26, 2009 - 17:52

Not the maintainer, but usually these type of forms either direct back on themselves or go to a destination if provided. For example, look at managing subscriptions via user//notifications/subscriptions and there's edit buttons for each subscription. The urls are not just notifications/subscription/4; they're notifications/subscription/4?destination=user//notifications/subscriptions for example.

To get around your current issue, (if you can) could add a destination in the original url.

#3

Jose Reyero - October 5, 2009 - 18:21
Status:active» by design

Yes, these links need a destination.

 
 

Drupal is a registered trademark of Dries Buytaert.