[SortRecordList] Issue Report

[SortRecordList] Issue Report

  
Forge Component
(20)
Published on 2017-08-08 by João Portela
20 votes
Published on 2017-08-08 by João Portela

Hi,

Our developer found a issue about SortRecordList.
The issue is that a result of a List ForEach is incorrect when a List that sorted by SortRecordList Action is accessed by chosen row index.

The procedures for reproduce:
1. Sort a List by SortRecordList Action.
2. Access to a List by choose row index. ex) GetEntityAggregate.List[3].Entity
3. Execute ForEach Action to a List.

Our developer suggest the following fix method:
To execute iteration of dummy after executed SortRecordList Action.

===================================================================

        recordList.Sort(comparer);

        //Dummy ForEach
        try
        {
            recordList.StartIteration();
            if (!recordList.Eof)
                recordList.Advance();
        }finally
        {
            recordList.EndIteration();
        }
===================================================================

Could you fix this issue, please?
We are using the OutSystems version of 9.1.402.0.

Best regards,
Hisako

Hi Hisako ,

Could you please share the espace or similar code in a test espace so that i can have a look on it.



Regards

-PJ-

Hi Pramod-San,

Thank you for your reply.
I would like to attach a sample program.

Best regards,
Hisako

Hi Hisako ,


Could you please say what is the error. It  seems is working well but i'm in platform 10. 

Best regards 

Graça

Hi Graça-San,

I should apologize you.
Since the program files I attached were customized version depends on our expectation, so I suppose you cannot reproduce the issue.
So I wish you would try to use the latest component of SortRecordList at Forge if you possible.

Best regards,
Hisako Ito (BlueMeme)

Hi,

How have things been after that?
If you need more information, please let me know.

Thanks,
Hisako

Hi,

Any update on this?
Our customer want to know any update regarding this issue.
Could you please inform us about this thread?

Best regards,
Hisako