Closed (fixed)
Project:
Ubercart Product Power Tools
Version:
6.x-1.12
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
1 Jul 2010 at 22:04 UTC
Updated:
19 Mar 2018 at 22:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedComment #2
willvincent commentedThanks for the report I'll take a look at it right now.
Comment #3
willvincent commentedApply this patch and see if it fixes the issue for you. I can't imagine why it would still occur after applying this patch.
Place patch into module directory and apply thusly:
patch -p0 < 843094.patch
Let me know if you run into problems, or if this fixes the issue.
Comment #4
Anonymous (not verified) commentedThe patch didn't work, I'm afraid. I've attached the patched module file.
Comment #5
willvincent commentedHmmm.. alright I'll look into it further today. Thanks
Comment #6
tboornaz commentedI am having the same problem. Product Price resets to zero every time. For me the problem starting occurring with the most recent update.
Comment #7
willvincent commentedInteresting.. none of the changes in the latest update *should* have caused this to become an issue if it wasn't previously. But that's good to know.
Comment #8
Anonymous (not verified) commentedThank you for your prompt replies tcindie, just wanted to let you know I really appreciate the time you're putting into solving this.
Comment #9
artis commentedI'm also experiencing this issue after installing 6.x-1.11.
I fixed it temporarily by removing lines 122-125 from uc_product_power_tools.module so the problem must be there. Don't have time to dig into it now (Big Deadline) but this works for now.
Artis
Comment #10
bisuteria commentedI'm also experiencing this issue after installing 6.x-1.11.
Comment #11
willvincent commentedOk, sorry about this mess gang..
This patch should fix the issue. Forgot I'd changed some of the price settings, and when I did that the default settings got hosed. By default there should be no change to the product form.
This will most likely not apply over the previous patch I posted, so best to replace your existing install with a fresh install of the 1.11 branch and patch with this, if you previously applied the patch from #3.
I apologize for the inconvenience this must have caused with your stores!
Apply the same way described in comment #3.
Comment #12
artis commentedThanks for your prompt handling of this issue! It's greatly appreciated.
Comment #13
artis commentedThe patch in #11 worked for me. Reviewed and tested.
Comment #14
Anonymous (not verified) commentedI confirm this fixed the issue - thanks again, you helped me meet a tight deadline!!
Comment #15
willvincent commentedThanks for testing. Glad this fixed the issue. I'll get it commit to the code and issue a new (final) 1.x release with this patch later in the week.
Comment #16
willvincent commentedComment #17
vladimiraus843094-2.patch fixed that for me too.
Thanks for quick response.
Comment #18
miniwebs2 commentedHad the same issue - but sorry - newbie on patches - where do I put this code??
Comment #19
tboornaz commentedYou place the patch in uc_product_power_tools. Then run the patch -p0 < 843094-2.patch from there. Please visit http://drupal.org/patch/apply. This article also contains a video on how to apply patches.
Comment #20
neilnz commentedAny chance on committing this? #11 worked for me too.
Comment #21
willvincent commentedyes it will be commit as soon as I have got time to do so.
Comment #22
carlitus commentedFixed with #11 and uc_product_power_tools 6.x-1.11
Comment #23
wqmeng commentedHi, this is waste time bug for me, why uc_product_power_tools modify the core behavier of ubercart even you don't touch the link of this module?
Comment #24
Terebinth commentedAhh Thanks! The patch worked!
Comment #25
rootworkWorks perfect for me - would be great to see this committed!
Comment #26
isaac.el.cec@gmail.com commentedHi...
I confirm 843094-2.patch works perfect for me too...
Thanks for your great work.
Comment #27
rootworkI see this was committed to the latest full version, so I think it can be closed.
Comment #28
rootworkComment #29
echoz commentedClarification, patch from #11 is not added to release version 6.x-1.11. It might be addressed in another way in the dev version, but if using 6.x-1.11, it needs to be patched with #11 plus the patch in #851234: List Position Visible Hides Price Fields
The note on this release says it's the final release of the 1.x branch, but seems this release should be cleaned up with these patches to avoid confusion and continued bug reports.
Comment #30
babbage commentedFor other users wondering the version needed to fix this, echoz is right that this is not in 6.-1.11. Although it is not listed on the module page, there is a 6.x-1.x-dev released on 11 July 2010 that fixes this. If you run drush, just use:
drush dl uc_product_power_tools-6.x-1.x-dev
Otherwise, you can download it from:
http://ftp.drupal.org/files/projects/uc_product_power_tools-6.x-1.x-dev....
You can always find releases like this by clicking the "show all releases" link on the main page of a module.
Comment #31
babbage commentedPlease maintainer, can you release a 6.x-1.12 based on the current -dev, so that this fix is included in an official release?
Comment #32
joestewart commentedNot trying to muddy things too much, but the attached patch ( 843094-3.patch) worked a little better for us. I wasn't able to override the price values on the node edit form using 843094-2.patch
This sets the prices as defaults and allows overriding on the node edit form.
Since a fix has been committed I didn't change ticket status.
Comment #33
splash112 commentedFollowing
Comment #34
yannickoosubscribe
Comment #35
no2e commentedWhen will this get commited to the stable 6.x-1.x?
Comment #36
willvincent commentedI'm trying to sort everything out now. Branching the project in CVS has apparently caused a number of significant issues.
Comment #37
scotwith1tsubscribe
Comment #38
willvincent commented3rd version of patch from issue #32 included in version 6.x-1.12
Comment #39
willvincent commentedComment #40
torgospizzaI just found this bug today, and was troubleshooting it, and then found out it's been fixed in a recent update. Many thanks to everyone who took time to help patch it :)
Comment #41
scotwith1tyes, thanks. the 1.12 version seems to have cleared all of this up!
Comment #42
calebm12 commentedI am using the 1.12 version and it still does this.
Sell price always shows zero.
Comment #43
calebm12 commentedI ended up solving this issue and others found in the different releases (at least so good so far) by downloading and using 1.12 but replacing uc_product_power_tools.module file with the module file from 1.11 patched. I have attached the code used.
Comment #44
Pentacor commentedCan't get any of these to work, when I try and patch I get:
Hunk #1 FAILED at 94.
Hunk #2 FAILED at 107.
Hunk #3 FAILED at 120.
When I try the #43 this also doesn't work, any product I make whether they are enabled or not on PPT won't save a sell price, it's rendered my entire site useless!
Please does anyone have any help?
Many thanks
Comment #45
tr commented@Pentacor: Please open a new issue if you have a problem with the 6.x-1.12 or -dev release. The original issue has been fixed in the latest release.