Does not save node access information for non-product nodes (those that aren't of type product)

sammys - December 4, 2008 - 01:59
Project:Ecommerce Node Access Product
Version:5.x-1.1
Component:Code
Category:bug report
Priority:critical
Assigned:sammys
Status:closed
Description

Please find attached a patch for fixing it.

I also found that a query, to populate $previous in ec_nodeaccess_save(), was executed even though there was no latest entry with the same categories and nodes. This caused an issue on PostgreSQL with an empty string being an illegal datetime value. MySQL will be happier with less queries as well.

AttachmentSize
ec_nodeaccess.non-product.node_.saving.200812031245.patch2.1 KB

#1

danielb - December 6, 2008 - 13:21
Status:needs review» fixed

added to the new version

#2

System Message - December 20, 2008 - 13:31
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.