My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 52: Error showing invalid field type when the field type is correct but has an override value of 0
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Sep 2010


 
Reported by msando...@drjays.com, Aug 31, 2010
Doing a query on the product system:

 my $live_products = $dbrh->product->where(
                                            status => 'live',
                                            type => 'virtual',
                                          );


This query is causing an error that says:

20100831163722	ERROR	DBR::Query::Part::Value::new	invalid value 'virtual' for field type (translator)
20100831163722	ERROR	DBR::Interface::Object::_buildwhere	failed to build value object for type
20100831163722	ERROR	DBR::Interface::Object::where	Failed to generate where for product
20100831163722	ERROR	ESRPExtractors::PartnerFeed::GoogleBase::run	no product found in select


Using DBRAdmin I find that the 'type' field in the Product table seems correct. I attached a screen shot (Type Enum.png).

I also checked out the enum for Virtual which is also included as a screen shot (Virtual Enum.png).


Type Enum.png
103 KB   View   Download
Virtual Enum.png
101 KB   View   Download
Sep 7, 2010
#1 dan...@drjays.com
This issue was closed by revision r385.
Status: Fixed
Sep 7, 2010
#2 dan...@drjays.com
Fixed in 1.1 AND 1.0.7-final
Labels: fixed_in_1.1

Powered by Google Project Hosting