I've been using Simplenews 5.x-1.1 on Drupal 5.0 for about two months and it's been working fine, however I recently deleted a category and newsletter, so that I could create a new one - now Simplenews won't add a new category to the taxonomy module, which means if you create a new newsletter, you can't put it in the right category, and it won't be sent (as Simplenews needs to categorise the newsletter to get the right subscriber list).

Any ideas?

CommentFileSizeAuthor
#8 simplenews.module.156851.patch744 bytessutharsan

Comments

sutharsan’s picture

Category: bug » support

Manually create a Vocabulary 'Newsletter' and assign it to the newsletter node type. Simplenews is designed to create this Vocab only upon installation. Once you have this the rest should go file.

lewisholden’s picture

I've done that, however the newsletter I created doesn't appear in the "Newsletter" category when you create a newsletter. Add a term of the same name doesn't work either. A newsletter nodes sits under "Drafts" in the Newsletter admin screens, but the newsletter cell reads "N/A".

Cheers

Lewis

sutharsan’s picture

Assigned: Unassigned » sutharsan
Category: support » bug

I can reproduce your problem. There seem to be a problem in synchronizing taxonomy and Newsletters. I will look into it.

lewisholden’s picture

Thanks for that.

Lewis

lustratus’s picture

I am having the same problem. I am also using the Category module. I had thought I'd have to wade into the code to make Simplenews and Category play together, but it sounds like that may not be the problem. Looking forward to news about this.

lewisholden’s picture

Has there been any progress on this?

lewisholden’s picture

Hi all,

It's possible to fix this problem by directly editing your MySQL database - specifically, the vocab terms.

sutharsan’s picture

Status: Active » Needs review
StatusFileSize
new744 bytes

lewisholden, sorry for the delay. The attached patch should solve it. The patch clears a cached Vocabulary variable. The cache is now cleared every time you access the Simplenews admin page.
It looks like you solved the problem, but if you can reproduce the problem and test the patch I would be much appreciated.

jeeberpow, it is a known issue for Category that this module is not compatible with Simplenews. It reminds me that I need to write some info on this subject to prevent other people from struggling too long with it. Sorry this patch won't help you.

ptitb’s picture

I'm struggling with the same problem as jeeberpow. I am using the Category module and Simplenews but when I create a new newsletter it doesn't save the selected newsletter taxonomy term.
I now understand that these two modules won't work together, but I really need the category module and simplenews. Is there anyone who nows how to fix this?

Peter

scor’s picture

ptitb, can you try the patch #8 above and report?

ptitb’s picture

After using the patch it still doesn't work.

sutharsan’s picture

ptitb and lewisholden: sorry no support for Category module and Simplenews. It is a known and unresolved Category module bug. This patch will not help you, it solves a different problem.

lewisholden: does the patch solve your problem? If so, I will commit it.

lewisholden’s picture

Yes it did thanks.

sutharsan’s picture

Status: Needs review » Fixed

Thanks for reply and testing but in the mean time (on Feb 23) I committed a change to the vocabulary system to the 5.x-1-x-dev version which changes the vocabulary system and makes this patch redundant. The commit was a backport of recent development for 6.x-1.x-dev vocabulary system.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.