CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #39004

tx_auxnewsmailer_usercat saved with iduser 0

Added by Jean-Sébastien Gervais 11 months ago. Updated 11 months ago.

Status:Closed Start date:2012-07-16
Priority:Should have Due date:
Assignee:Jean-Sébastien Gervais % Done:

100%

Category:- Spent time: 0.25 hour
Target version:-
Votes: 0

Description

When a user saves his subscription(s), seems like there is a duplicate record with iduser 0 that is saved into the database.

auxnewsmailer.39004.diff (421 Bytes) Jean-Sébastien Gervais, 2012-07-19 17:28

History

Updated by Jean-Sébastien Gervais 11 months ago

Only happens when selecting multiple level of news category in the control record.

Root category > sub category > sub sub category.

Root category will be saved as a new auxnewsmailer_usercat for each sub sub category selected when saving subscriptions in the front page.

Updated by Jean-Sébastien Gervais 11 months ago

that was an easy one, a null variable (typo) with an intval for sanity creates a value of zero when updating parent categories of subscriptions.

See diff file.

Updated by Jean-Sébastien Gervais 11 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

commited to SVN

Also available in: Atom PDF