Closed (fixed)
Project:
Node published
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2009 at 10:17 UTC
Updated:
12 Dec 2009 at 03:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
nicksanta commentedI couldnt replicate the issue, but decided to change some possibly buggy code which may be the cause of the problem.
give this patch a try, i've changed custom queries to a uc_node_checkout api function
Comment #2
vildoc commentedbad patch
on 7 line
Comment #3
nicksanta commentedsorry, that was my first attempt at creating a patch.
this one is tested.
Comment #4
nicksanta commentedSorry, i can't upload the file.. must be something to do with the upgrade. here is the file
Comment #5
vildoc commentedfanks
Comment #6
yingtho commentedI have testede it and it worked as it should.
Comment #7
yymoto2 commentedHi,
This is my first time trying to apply a patch, but I fail to do so. I'm using eclipse PDT2.0 on Windows XP, copied the patch code in comment #4 and patch it to 'uc_node_published' folder, but it returns following message:
uc_node_published.module 2009-02-16 10:38 (file does not exist)
|-- 12,8 -> 12,8
|-- 30,8 -> 30,8
|-- 48,8 -> 48,8
May I know where i did wrong? Can anybody advice? Thanks.
Comment #8
yymoto2 commentedHi,
I somehow manage to patch the file and start using it.
Everything works find until the very last page "Order Complete" page. Message displayed as intended also:
* Order 1 has been been marked as completed.
* Title marked as published
Although the message stated so, when I check back the actual 'Publish/unpublish status' for the respective node, it still remained at the 'unpublish' state. May I know where went wrong? Please advice. Thanks.
Comment #9
ck9 commentedSame problem here, I get an error about the 'type' field and the node is not published after checkout.
Comment #10
nicksanta commentedHi guys, sorry about the complete lack of support for this module for the last 6 months. I will be revisiting this module soon to get it to a stable release, but i cannot make any further guarantees beyond a 1.0.
If anyone is interested in contributing, i would be more than happy to grant CVS access.
Comment #11
ck9 commentednickurbits I for one would be really grateful as this module is central to my site's intended function.
I applied the patch in #4 and it worked - the node now publishes on checkout.
I do get the following error however: -
user warning: Duplicate entry '68' for key 1 query: INSERT INTO node_expire (nid, expire, expired) VALUES (68, 0, 0) in /home/mainsite/public_html/subsite/includes/common.inc on line 3422.
Any ideas if this error will affect the site's functionality?
I have another unrelated question too. Editing a published and paid for node, then selecting 'Delete' seems to cancel the associated order. Is this intended? Wouldn't this mean that users can enjoy the benefits of having a node published, then be able to Delete it when they're done with it? Is there a way to deny users permission from deleting their published node, or at least not associate node deletion with order cancellation? Thanks
Comment #12
nicksanta commentedI'm revisiting this module over the next few days and seriously re-thinking some of the features that were originally implemented. I'm going to provide an admin UI and open up a whole range of configurable options including:
Comment #13
ck9 commentedSounds awesome will look forward to trying it
Comment #14
vlooivlerke commentedsubscribe :)
Comment #15
fletch11 commentedThanks for this
Comment #16
avpadernoI applied the patch attached to comment #4, and committed the code in CVS.