Permalink
Browse files

document submitted bugs

  • Loading branch information...
1 parent 75b688f commit 1037012e6eaf705672c125fcb6cec134fd5cfc07 @davidsulc davidsulc committed Apr 10, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/sugarcrm/base.rb
  2. +1 −1 lib/sugarcrm/finders/finder_methods.rb
View
@@ -53,7 +53,7 @@ def connection
end
# return the number of records satifsying the options
- # note: the REST API has a bug where passing custom attributes in the options will result in the
+ # note: the REST API has a bug (documented with Sugar as bug 43339) where passing custom attributes in the options will result in the
# options being ignored and '0' being returned, regardless of the existence of records satisfying the options
def count(options={})
raise InvalidAttribute, 'Conditions on custom attributes are not supported due to REST API bug' if contains_custom_attribute(options[:conditions])
@@ -72,7 +72,7 @@ def find_every(options, &block)
SLICE_SIZE.freeze
# results accumulator stores the results we have fetched so far, recursively
def find_by_sql(options, results_accumulator=nil, &block)
- # SugarCRM REST API has a bug where, when :limit and :offset options are passed simultaneously,
+ # SugarCRM REST API has a bug (documented with Sugar as bug 43338) where, when :limit and :offset options are passed simultaneously,
# :limit is considered to be the smallest of the two, and :offset is the larger
# In addition to allowing querying of large datasets while avoiding timeouts (by fetching results in small slices),
# this implementation fixes the :limit - :offset bug so that it behaves correctly

0 comments on commit 1037012

Please sign in to comment.