RE: [flexcoders] Re: Managed Collections with null objects

2008-06-27 Thread Seth Hodgson
This sounds like an issue that's been fixed in the 2.5.1 hotfixes and in 2.6.

If either of you have support contracts, please request the latest 2.5.1 
hotfix. You may also want to give 2.6 Beta a try.

Seth

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
richcianci
Sent: Tuesday, June 24, 2008 1:29 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Managed Collections with null objects


LCDS 2.51. Collection managed by an application scoped custom
assembler with auto-sync-enabled and cache-items both set to true.
Paging enabled with a page size of 500.

--- In flexcoders@yahoogroups.com, richcianci [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com, Seth Hodgson shodgson@ wrote:
 
  Hi guys,
  
  What version of things are you running, and would you mind sharing
 your destination configuration?
  
  Thanks,
  Seth
  
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On Behalf Of richcianci
  Sent: Tuesday, June 17, 2008 3:45 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Managed Collections with null objects
  
  --- In flexcoders@yahoogroups.com, João Fernandes 
  joaopedromartinsfernandes@ wrote:
  
   I'm having this weird issue that never happened before.
   Sometimes, totally randomly, after deleting a managed item in a 
   arraycollection, instead of getting the arrayCollection resized by -
  1, 
   my arraycollection keeps the same size and I get a null object 
  where the 
   managed item was previously.
   
   This happens using ds.deleteItem() or using 
   arrayCollection.removeItemAt( itemIndex )
   -- 
   
   João Fernandes
   
   http://www.onflexwithcf.org
   http://www.riapt.org
  
  
  I am having the same issue. Did you ever figure it out?
 
  


RE: [flexcoders] Re: Managed Collections with null objects

2008-06-18 Thread Seth Hodgson
Hi guys,

What version of things are you running, and would you mind sharing your 
destination configuration?

Thanks,
Seth

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
richcianci
Sent: Tuesday, June 17, 2008 3:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Managed Collections with null objects

--- In flexcoders@yahoogroups.com, João Fernandes 
[EMAIL PROTECTED] wrote:

 I'm having this weird issue that never happened before.
 Sometimes, totally randomly, after deleting a managed item in a 
 arraycollection, instead of getting the arrayCollection resized by -
1, 
 my arraycollection keeps the same size and I get a null object 
where the 
 managed item was previously.
 
 This happens using ds.deleteItem() or using 
 arrayCollection.removeItemAt( itemIndex )
 -- 
 
 João Fernandes
 
 http://www.onflexwithcf.org
 http://www.riapt.org


I am having the same issue. Did you ever figure it out?
 


Re: [flexcoders] Re: Managed Collections with null objects

2008-06-17 Thread Josh McDonald
Could it be that you're deleting something in a source collection, and
looking at another collection that's referencing that collection, but there
hasn't been a frame tick and so the relevant events haven't been processed
yet? It's the only thing I can think of without doing some brute-force stuff
and checking for results and throwing an exception on finding the problem as
a point to get into some serious single-stepping inside ArrayList /
CollectionView

-Josh

On Wed, Jun 18, 2008 at 8:45 AM, richcianci [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com, João Fernandes
 [EMAIL PROTECTED] wrote:
 
  I'm having this weird issue that never happened before.
  Sometimes, totally randomly, after deleting a managed item in a
  arraycollection, instead of getting the arrayCollection resized by -
 1,
  my arraycollection keeps the same size and I get a null object
 where the
  managed item was previously.
 
  This happens using ds.deleteItem() or using
  arrayCollection.removeItemAt( itemIndex )
  --
 
  João Fernandes
 
  http://www.onflexwithcf.org
  http://www.riapt.org
 

 I am having the same issue. Did you ever figure it out?



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]