Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

document submitted bugs

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

0 notes on commit 1037012

Please sign in to comment.
Something went wrong with that request. Please try again.