My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Earlier this year

  • Aug 11, 2009
    r26 (got contacts & groups working nicely.. (well fetching inform...) committed by martin.legris   -   got contacts & groups working nicely.. (well fetching information for now...)
    got contacts & groups working nicely.. (well fetching information for now...)
  • Aug 11, 2009
    r25 ([No log message]) committed by martin.legris   -   [No log message]
    [No log message]
  • Aug 11, 2009
    r24 ([No log message]) committed by martin.legris   -   [No log message]
    [No log message]
  • Aug 11, 2009
    r23 ([No log message]) committed by martin.legris   -   [No log message]
    [No log message]
  • Aug 06, 2009
    issue 2 (Null object error if a video has no ratings) commented on by apostle88   -   In RatingData.as I check that _data is not null, if it is null then I return -1 which stands for no-value. I guess it's not an optimal solution but for me it works. I've attached the file.
    In RatingData.as I check that _data is not null, if it is null then I return -1 which stands for no-value. I guess it's not an optimal solution but for me it works. I've attached the file.
  • Jun 16, 2009
    issue 2 (Null object error if a video has no ratings) reported by thomas.garrood   -   If the video has no rating data the VideoData get rating () method returns a RatingData object that causes an error if you call a method on it. For example if you do this: var rating:RatingData = videoData.rating; if (rating!=null) trace (rating.average); // still causes an error even tho rating!=null as _data.gd$rating == null (or json equivalent) Maybe get rating () should check the rating json data and return null if it doesn't exist: public function get rating():RatingData { if (_data.gd$rating==null) return null; else return new RatingData(_data.gd$rating); }
    If the video has no rating data the VideoData get rating () method returns a RatingData object that causes an error if you call a method on it. For example if you do this: var rating:RatingData = videoData.rating; if (rating!=null) trace (rating.average); // still causes an error even tho rating!=null as _data.gd$rating == null (or json equivalent) Maybe get rating () should check the rating json data and return null if it doesn't exist: public function get rating():RatingData { if (_data.gd$rating==null) return null; else return new RatingData(_data.gd$rating); }
  • Mar 04, 2009
    r22 (added some comments...) committed by martin.legris   -   added some comments...
    added some comments...
 
Hosted by Google Code