Closed (fixed)
Project:
Ubercart Restrict Qty
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
28 Mar 2013 at 00:58 UTC
Updated:
19 Mar 2018 at 22:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
slobo commentedproblem is in
uc_restrict_qty.modulehook_node_deleteprovides$node, not$nidCorrect version:
Comment #2
raulmuroc commentedAttached a patch with solution.
Please, test & review it.
Thank you.
Comment #3
Risha commentedThank you very much guys, the patch works correctly and nodes can be deleted normaly now as they should be, without any errors. Best regards and thanks again.
Comment #4
raulmuroc commentedComment #5
raulmuroc commentedComment #6
raulmuroc commentedCommited and included to the Ubertcart Restrict Qty's first stable version.
Comment #7
muhammad.tanweer commentedThis fixed the issue. Its a silly mistake by the people of uc_restrict_qty module though.
Thanks anyways,
Muhammad
www.app-desk.com
Comment #8
raulmuroc commentedAnd last comment is nonsense comment by muhammad.tanweer.
Thanks anyway :-)
Comment #9
neochief commentedThe patch is incomplete. Take a look at the function parameter. It should be $node instead of $nid.
Comment #10
neochief commentedComment #11
RaSpirit commentedComment fix missed, attached patch should be fine
Comment #12
webservant316 commentedis this patch committed to dev?
Comment #13
webservant316 commentedsee this issue for all the patches I needed to get this module working...
https://www.drupal.org/node/2144385#comment-9393401
Comment #14
raulmuroc commentedSolved in https://www.drupal.org/node/2144385