Closed (won't fix)
Project:
Recipe
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2007 at 12:02 UTC
Updated:
25 Mar 2010 at 03:30 UTC
Even though the ingredients are saved in the DB, they do not show on the recipe page. Everything else does show. I tried reinstalling, switching between the entering options and even deleted the tables manually (reinstalled by the module obviously) but it still does not work.
Please take a look. The simple version is...simpler :) and needed.
Thanks for a great module.
Comments
Comment #1
2222a commentedcan someone else PLEASE try this.
When switching to simple method of entering ingredients, the ingredients do not show up at all on the page; everything else does.
Looking at the msql table recipe_node_ingredient, the unit_id and quantity are 0 in table .
I changed them manually to a number and they showed but then disappeared again after manual editing /publishing them in drupal.
The full version can be confusing...Can you please test this and see if I screwing something up
Thanks again,
Comment #2
2222a commentedat this point I'm willing to pay for this. Installed on a brand new install; brand new database; brand new folder; brand new download and it still does not work.
Any takers? it has to do with with the IDs; they are blank for simple mode. Can someoen pls take a look and let me know how much $ it would be to fix? Thanks
Comment #3
2222a commentedFixed: If anyone can place this in the main module it would be great. Here's a textpad compare result.
708,709c708,713
<
< foreach ($changes->add as $ingredient) {
---
>
> foreach ($changes->add as $ingredient) {
> //added if condition
> if (empty($ingredient->unit_id)) {
> $ingredient->unit_id = 2;
> }
716a720,723
> // added if condition
> if (empty($ingredient->unit_id)) {
> $ingredient->unit_id = 2;
> }
Comment #4
scottprive commentedHi,
Sorry this issue was not looked at for so long. Recipe now has 2 new maintainers and we've cleared out a lot of old bugs and added new features.
For the latest -dev release (nightlies), Simple mode has been removed so this defect becomes a moot point and I have to close this as unfixable.
FYI - The latest nightly has new "text import", as well as a recipe-entry form (so removing Simple Mode did not necessarily make it all more "complex").
Scott