Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
If the issue exists it needs to be properly identified and fixed in the core. You said you personally reproduced the issue yet you're not providing any steps on how to do so or identifying problematic code. I can't even figure out what you think the problem is. You say it preserves options but I don't know what that means since the default method already preserves option_id and option_value_id on an edit.straightlight wrote:I'm not sure why criticism keeps going on here but I did explicitly mentioned above that other users also reported issues regarding the options.
-Ryan
While I appreciate the opinion there, if this were true, no reports regarding the other way around by others would be posted above nor 'then' for me the need to post a fix for it.You say it preserves options but I don't know what that means since the default method already preserves option_id and option_value_id on an edit.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
rph, I believe I PM'd you about this a while back. I'm the guy from Lincoln!
My bad. I've got a custom vQmod that I'm using to fix this issue. I'll continue to use that until 1.5.2 comes out.rph wrote:1.5.2 isn't published yet ktriggs. You would need to push the appropriate files off the SVN.ktriggs wrote:This issue was not resolved in 1.5.2 as stated
Thanks!
I believe this completes on how this problem really occurs. Thank you. I'm glad to have published that fix so that this procedure is no longer required to find out if the options were properly saved and even when saved properly to see the results after a certain time. My changes are instant and no need to refresh the page whatsoever.Then, if you don't notice it and hit save...the options are gone. You have to go through each option group and verify all the options are there, and then make your changes and hit save. If the options do not load, then you have to refresh the page until they do.
The only time delay would be needed to see the results is only when cache is involved. From that point, not much that can be done to reduce the delay for showing the next results. :/
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
That's a different, known issue that's fixed in the 1.5.2 svn (I have seen it multiple times myself too). It can also be alleviated by turning on useCache in VQMod. There's just some confusion on what's causing it. It's not the edit options function at Admin->Catalog->Options (very simple testing or looking at the database will show that). It's the AJAX callback. That's why hitting refresh will often re-populate the product option values correctly (as long as you don't save when the product option value is missing it will still be there).ktriggs wrote:I can reproduce the problem by clicking edit on any one of my products that has a bunch of options.
Just when you think we're almost out of winter, right? I'm so spoiled after such a great January.rph, I believe I PM'd you about this a while back. I'm the guy from Lincoln!
I was hoping to get conditional options out today but it's going to be a couple more days. The Admin product form validation stuff is rapidly getting very complex.
-Ryan
Good to know this will be fixed in 1.5.2. I found some users that have given up on OpenCart because of all the bugs, but from what I can tell there is quite the community here to support the major issues.
Hopefully that was our only big snow storm for the year!
Haven't tested it so back up the original files then replace them with:Brook wrote:I have read that there is a possible fix in the latest 1.5.2 Google SVN for disappearing options. What files do I need to get from the Google SVN to implement the fix on my OprenCart 1.5.1.3 install?
admin/controller/catalog/product.php
admin/model/catalog/product.php
admin/view/template/catalog/product_form.tpl
Of course this is a 1.5.1.3/pre-1.5.2 fix only.
-Ryan
Is there any confirmation that this has been fixed in versions 1.5.2 and greater. It looks like this problem occurs when lots of options are loaded in via AJAX, it takes a long time to load these options which means some options may not be populated at the point of saving, saving when the options are not populated results in some options not being saved with the product.
Anyone still having this issue with versions 1.5.2+? Are options and option values still loaded via AJAX?
the discussion from this topic should give you some insights regarding the flexibility of this fix with v1.5.2.1 release: http://www.opencart.com/index.php?route ... on_id=4980
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Your assessment is absolutely correct. And yes, this issue is fixed in 1.5.2.x.faceup wrote:Hi,
Is there any confirmation that this has been fixed in versions 1.5.2 and greater. It looks like this problem occurs when lots of options are loaded in via AJAX, it takes a long time to load these options which means some options may not be populated at the point of saving, saving when the options are not populated results in some options not being saved with the product.
Anyone still having this issue with versions 1.5.2+? Are options and option values still loaded via AJAX?
-Ryan
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Well, I would have thought you have the wrong title and imagined it should have been "Catalog > Products > Options"!straightlight wrote:There's no where to be said that this fix was about the product options but rather on the admin catalog options as per the subject states. It is clearly that you have misread the description.
Why?
Because I have no tabs at all under your title, but the exact tabs I can find under my "imagined" title. Or is your post not relevant to version 1.5.3.1?
Again, in my version, 1.5.3.1 I have "NO TABS" in "Category > Options" !!!
See attached screen-shot for confirmation!
Attachments
cat-opt.png (30.29 KiB) Viewed 6072 times
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
http://forum.opencart.com/viewtopic.php?f=20&t=47290
I also increased post size and max input vars!
Users browsing this forum: No registered users and 5 guests