You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Serkan Taş <se...@likyateknoloji.com> on 2019/04/10 12:41:11 UTC

Re: Work on Emulation

Alex, thank you for PR-406.

Regarding our last conversation about the Basic Authentication, do you 
have an idea why the evaluation is null ?



Here is the piece in ActionScript :

service.headers = {Authorization:"Basic " + encoder.toString()} as Array;

Thanks in advance,
Serkan


Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Reminder.

10.04.2019 15:41 tarihinde Serkan Taş yazdı:
> Alex, thank you for PR-406.
>
> Regarding our last conversation about the Basic Authentication, do you 
> have an idea why the evaluation is null ?
>
>
>
> Here is the piece in ActionScript :
>
> service.headers = {Authorization:"Basic " + encoder.toString()} as Array;
>
> Thanks in advance,
> Serkan
>


Re: Work on Emulation

Posted by se...@likyateknoloji.com.
Hi Alex,

I prepared a simple test case and created a bug with the url attached  
containing the related files.

https://github.com/apache/royale-asjs/issues/419

Thanks,
Serkan


Alıntı Alex Harui <ah...@adobe.com>:

> File a bug an attach _Super_UserOps.js and _Super_UserOps.as and  
> UserOps.js and UserOps.as
>
> Thanks,
> -Alex
>
> From: Serkan Taş <se...@likyateknoloji.com>
> Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
> Date: Wednesday, April 24, 2019 at 8:52 PM
> To: "users@royale.apache.org" <us...@royale.apache.org>
> Subject: Re: Work on Emulation
>
> Hi Alex,
>
> I am still working on the issue which is related with third party  
> library that we have discussed months ago.
>
> I am not sure how to get rid of the error below, may be anyone on  
> the list have an idea.
>
> I am getting error below on chrome console:
>
> [cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com]
>
> Here is the _Super_UserOps.as source piece which couses the error :
>
> model_internal::initialize();
>
> converted to _Super_UserOps.js :
>
> com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, this,  
> 'http://www.adobe.com/2008/flex/model/internal::initialize')();
>
>
> content of the file model_internal.as :
>
> package com.adobe.fiber.core
> {
>    public namespace model_internal =  
> "http://www.adobe.com/2008/flex/model/internal"<http://www.adobe.com/2008/flex/model/internal>;
> }
>
>
> Ant the class piece which initialize the fault and and result  
> functions that is the parent class of _Super_UserOps.as :
>
>       model_internal function initialize() : void
>       {
>           
> this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>           
> this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>       }
>
> Any help kindly appreciated,
> Thanks
> Serkan
> 13.04.2019 00:34 tarihinde Alex Harui yazdı:
>
> Hi Serkan,
>
>
>
> Does it call the faultHandler instead?  If so, there should be an  
> error message in the fault event.
>
>
>
> What kind of service is UserOps?  I would set breakpoints and debug  
> to make sure it actually sent something (and maybe use a network  
> monitor to see what was sent and to where).  And then verify that  
> the code that finally sends (maybe via XmlHTTPRequest) also set up  
> listeners for events and set breakpoints on those low-level event  
> handlers.
>
>
>
> You can also use the network monitor against the Flex app and  
> compare what is being sent to what Royale is sending.
>
>
>
> HTH,
>
> -Alex
>
>
>
> On 4/12/19, 2:25 PM, "Serkan Taş"  
> <se...@likyateknoloji.com>  
> wrote:
>
>
>
>     Hi Alex,
>
>
>
>     I have service call in my project.
>
>
>
>     <userops:UserOps id="userOpsService"
>
>     result="userOpsService_resultHandler(event)"
>
>     fault="userOpsService_faultHandler(event)" />
>
>
>
>     Normally, I expect to call the result method
>
>     userOpsService_resultHandler for successfull operations, but it does not.
>
>
>
>     Which way I should go through to find out what is going on after calling
>
>     the service ?
>
>
>
>     Thanks,
>
>     Serkan


-- 
Serkan Taş
Mobil : +90 532 250 07 71
Likya Bilgi Teknolojileri
ve İletişim Hiz. Ltd. Şti.
www.likyateknoloji.com

--------------------------------------
Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece  
yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını  
taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın  
içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız  
kesinlikle yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden  
siliniz. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu  
mesajın içeriği ile ilgili olarak hiç bir hukuksal sorumluluğu kabul  
etmez.

This electronic mail and any files transmitted with it are intended  
for the private use of  the persons named above. If you received this  
message in error, forwarding, copying or use of any of the information  
is strictly prohibited. Please immediately notify the sender and  
delete it from your system. Likya Bilgi Teknolojileri ve İletişim Hiz.  
Ltd. Şti. does not accept legal responsibility for the contents of  
this message.
--------------------------------------


Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Unfortunately, no. May be I have missed... :(

Thank you for the update, I am going to work on.

Serkan

26.06.2019 04:23 tarihinde Alex Harui yazdı:
>
> I made some changes almost 2 weeks ago. Did you not get a notification 
> from the bug tracker?
>
> https://github.com/apache/royale-asjs/issues/419
>
> -Alex
>
> *From: *Serkan Taş <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, June 25, 2019 at 1:41 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Work on Emulation
>
> Hi Alex, any progress ?
>
> 6.06.2019 11:09 tarihinde Alex Harui yazdı:
>
>     I’m backlogged on some other stuff.  Hope to get to it this week.
>
>     *From: *Serkan Taş <se...@likyateknoloji.com>
>     <ma...@likyateknoloji.com>
>     *Reply-To: *"users@royale.apache.org"
>     <ma...@royale.apache.org> <us...@royale.apache.org>
>     <ma...@royale.apache.org>
>     *Date: *Tuesday, May 28, 2019 at 7:03 AM
>     *To: *"users@royale.apache.org" <ma...@royale.apache.org>
>     <us...@royale.apache.org> <ma...@royale.apache.org>
>     *Subject: *Re: Work on Emulation
>
>     Kindly remind :)
>
>     14.05.2019 16:12 tarihinde Serkan Taş yazdı:
>
>         Hi Alex,
>
>         I prepared sample project. Please find :
>         https://drive.google.com/open?id=1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL
>         <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL&data=02%7C01%7Caharui%40adobe.com%7Ca9abec2bfccf4e025b5608d6f948e13a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636970488757952217&sdata=t0ceXLYe8Pl0nhCfp5l9ChQcYdABNGEVv9T%2BUVafp2Y%3D&reserved=0>
>
>         You have to set to env vars for local to build the project :
>
>         CLOSURE_HOME
>         ROYALE_DIST_HOME
>
>         Thanks,
>         Serkan.
>
>         10.05.2019 00:53 tarihinde Serkan Taş yazdı:
>
>             Thanks :)
>
>             9.05.2019 19:35 tarihinde Piotr Zarzycki yazdı:
>
>                 Well I explained to you how to check whether they are
>                 the latest, so you have your guarantee. :)
>
>                 czw., 9 maj 2019 o 18:34 Serkan Taş
>                 <serkan.tas@likyateknoloji.com
>                 <ma...@likyateknoloji.com>> napisał(a):
>
>
>                     I checked my git repo and it was good but to
>                     guarantee i downloaded the latest binaries from
>                     the url Piotr sent and tested with the latest
>                     binaries rather than the one I build locally and
>                     getting the error below.
>
>                     cid:part3.34BD1132.7ABE3721@likyateknoloji.com
>
>                     And the js file :
>
>
>                     32:
>                     main.mtest.Wrapper.prototype.http_$$www_adobe_com$2008$flex$model$internal__initialize
>                     = function() {
>                     33:
>                     main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>                     this,
>                     'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>                     34:
>                     main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>                     this,
>                     'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>                     35: };
>
>                     May be I am missing something,
>
>                     Thanks,
>                     Serkan
>
>                     8.05.2019 06:19 tarihinde Alex Harui yazdı:
>
>                         Look at the commits and see if the change I
>                         made is in the source.
>
>                         Make sure you delete all of your bin/js-debug
>                         folders.
>
>                         HTH,
>
>                         -Alex
>
>                         *From: *Serkan Taş
>                         <se...@likyateknoloji.com>
>                         <ma...@likyateknoloji.com>
>                         *Reply-To: *"users@royale.apache.org"
>                         <ma...@royale.apache.org>
>                         <us...@royale.apache.org>
>                         <ma...@royale.apache.org>
>                         *Date: *Tuesday, May 7, 2019 at 7:48 AM
>                         *To: *"users@royale.apache.org"
>                         <ma...@royale.apache.org>
>                         <us...@royale.apache.org>
>                         <ma...@royale.apache.org>
>                         *Subject: *Re: Work on Emulation
>
>                         Hi Alex,
>
>                         After getting the latest version I am still
>                         getting the same error. How can I check that I
>                         pulled the version that you have fixed ?
>
>                         Thanks,
>                         Serkan
>
>                         25.04.2019 08:46 tarihinde Alex Harui yazdı:
>
>                             File a bug an attach _Super_UserOps.js and
>                             _Super_UserOps.as and UserOps.js and
>                             UserOps.as
>
>                             Thanks,
>
>                             -Alex
>
>                             *From: *Serkan Taş
>                             <se...@likyateknoloji.com>
>                             <ma...@likyateknoloji.com>
>                             *Reply-To: *"users@royale.apache.org"
>                             <ma...@royale.apache.org>
>                             <us...@royale.apache.org>
>                             <ma...@royale.apache.org>
>                             *Date: *Wednesday, April 24, 2019 at 8:52 PM
>                             *To: *"users@royale.apache.org"
>                             <ma...@royale.apache.org>
>                             <us...@royale.apache.org>
>                             <ma...@royale.apache.org>
>                             *Subject: *Re: Work on Emulation
>
>                             Hi Alex,
>
>                             I am still working on the issue which is
>                             related with third party library that we
>                             have discussed months ago.
>
>                             I am not sure how to get rid of the error
>                             below, may be anyone on the list have an idea.
>
>                             I am getting error below on chrome console:
>
>                             cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com
>
>                             Here is the _Super_UserOps.as source piece
>                             which couses the error :
>
>                             model_internal::initialize();
>
>                             converted to _Super_UserOps.js :
>
>                             com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize,
>                             this,
>                             'http://www.adobe.com/2008/flex/model/internal::initialize')();
>
>
>                             content of the file model_internal.as
>                             <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmodel_internal.as&data=02%7C01%7Caharui%40adobe.com%7Ca9abec2bfccf4e025b5608d6f948e13a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636970488757952217&sdata=rTVhId1det86ZVFpuinnqc4k48GkTRAW%2Fc5ifDDAkmo%3D&reserved=0>
>                             :
>
>                             package com.adobe.fiber.core
>                             {
>                                public namespace model_internal =
>                             "http://www.adobe.com/2008/flex/model/internal"
>                             <http://www.adobe.com/2008/flex/model/internal>;
>                             }
>
>
>                             Ant the class piece which initialize the
>                             fault and and result functions that is the
>                             parent class of _Super_UserOps.as :
>
>                                   model_internal function initialize()
>                             : void
>                                   {
>                             this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>                             this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>                                   }
>
>                             Any help kindly appreciated,
>                             Thanks
>                             Serkan
>
>                             13.04.2019 00:34 tarihinde Alex Harui yazdı:
>
>                                 Hi Serkan,
>
>                                   
>
>                                 Does it call the faultHandler instead?  If so, there should be an error message in the fault event.
>
>                                   
>
>                                 What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.
>
>                                   
>
>                                 You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.
>
>                                   
>
>                                 HTH,
>
>                                 -Alex
>
>                                   
>
>                                 On 4/12/19, 2:25 PM, "Serkan Taş"<se...@likyateknoloji.com>  <ma...@likyateknoloji.com>  wrote:
>
>                                   
>
>                                      Hi Alex,
>
>                                      
>
>                                      I have service call in my project.
>
>                                      
>
>                                      <userops:UserOps id="userOpsService"
>
>                                      result="userOpsService_resultHandler(event)"
>
>                                      fault="userOpsService_faultHandler(event)" />
>
>                                      
>
>                                      Normally, I expect to call the result method
>
>                                      userOpsService_resultHandler for successfull operations, but it does not.
>
>                                      
>
>                                      Which way I should go through to find out what is going on after calling
>
>                                      the service ?
>
>                                      
>
>                                      Thanks,
>
>                                      Serkan
>
>                                      
>
>                                   
>
>
>
>
>
>                 -- 
>
>                 /Piotr Zarzycki /
>
>                 Patreon: _https://www.patreon.com/piotrzarzycki
>                 <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ca9abec2bfccf4e025b5608d6f948e13a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636970488757962212&sdata=hdt3NF%2FdwaK7wiREYqjWNN%2BIQCrSzfnS4RSGX%2FlNstY%3D&reserved=0>_
>
>
>
>
>
>


Re: Work on Emulation

Posted by Alex Harui <ah...@adobe.com>.
I made some changes almost 2 weeks ago.  Did you not get a notification from the bug tracker?
https://github.com/apache/royale-asjs/issues/419

-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, June 25, 2019 at 1:41 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Work on Emulation

Hi Alex, any progress ?
6.06.2019 11:09 tarihinde Alex Harui yazdı:
I’m backlogged on some other stuff.  Hope to get to it this week.

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Date: Tuesday, May 28, 2019 at 7:03 AM
To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Subject: Re: Work on Emulation

Kindly remind :)
14.05.2019 16:12 tarihinde Serkan Taş yazdı:
Hi Alex,

I prepared sample project. Please find : https://drive.google.com/open?id=1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL&data=02%7C01%7Caharui%40adobe.com%7Ca9abec2bfccf4e025b5608d6f948e13a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636970488757952217&sdata=t0ceXLYe8Pl0nhCfp5l9ChQcYdABNGEVv9T%2BUVafp2Y%3D&reserved=0>

You have to set to env vars for local to build the project :

CLOSURE_HOME
ROYALE_DIST_HOME

Thanks,
Serkan.
10.05.2019 00:53 tarihinde Serkan Taş yazdı:
Thanks :)
9.05.2019 19:35 tarihinde Piotr Zarzycki yazdı:
Well I explained to you how to check whether they are the latest, so you have your guarantee. :)

czw., 9 maj 2019 o 18:34 Serkan Taş <se...@likyateknoloji.com>> napisał(a):

I checked my git repo and it was good but to guarantee i downloaded the latest binaries from the url Piotr sent and tested with the latest binaries rather than the one I build locally  and getting the error below.

[cid:part3.34BD1132.7ABE3721@likyateknoloji.com]

And the js file :


32: main.mtest.Wrapper.prototype.http_$$www_adobe_com$2008$flex$model$internal__initialize = function() {
33:  main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents, this, 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
34:  main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents, this, 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
35: };

May be I am missing something,

Thanks,
Serkan
8.05.2019 06:19 tarihinde Alex Harui yazdı:
Look at the commits and see if the change I made is in the source.

Make sure you delete all of your bin/js-debug folders.

HTH,
-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Date: Tuesday, May 7, 2019 at 7:48 AM
To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Subject: Re: Work on Emulation

Hi Alex,

After getting the latest version I am still getting the same error. How can I check that I pulled the version that you have fixed ?

Thanks,
Serkan
25.04.2019 08:46 tarihinde Alex Harui yazdı:
File a bug an attach _Super_UserOps.js and _Super_UserOps.as and UserOps.js and UserOps.as

Thanks,
-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Date: Wednesday, April 24, 2019 at 8:52 PM
To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Subject: Re: Work on Emulation

Hi Alex,

I am still working on the issue which is related with third party library that we have discussed months ago.

I am not sure how to get rid of the error below, may be anyone on the list have an idea.

I am getting error below on chrome console:

[cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com]

Here is the _Super_UserOps.as source piece which couses the error :

model_internal::initialize();

converted to _Super_UserOps.js :

com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, this, 'http://www.adobe.com/2008/flex/model/internal::initialize')();


content of the file model_internal.as<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmodel_internal.as&data=02%7C01%7Caharui%40adobe.com%7Ca9abec2bfccf4e025b5608d6f948e13a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636970488757952217&sdata=rTVhId1det86ZVFpuinnqc4k48GkTRAW%2Fc5ifDDAkmo%3D&reserved=0> :

package com.adobe.fiber.core
{
   public namespace model_internal = "http://www.adobe.com/2008/flex/model/internal"<http://www.adobe.com/2008/flex/model/internal>;
}


Ant the class piece which initialize the fault and and result functions that is the parent class of _Super_UserOps.as :

      model_internal function initialize() : void
      {
         this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
         this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
      }

Any help kindly appreciated,
Thanks
Serkan
13.04.2019 00:34 tarihinde Alex Harui yazdı:

Hi Serkan,



Does it call the faultHandler instead?  If so, there should be an error message in the fault event.



What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.



You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.



HTH,

-Alex



On 4/12/19, 2:25 PM, "Serkan Taş" <se...@likyateknoloji.com> wrote:



    Hi Alex,



    I have service call in my project.



    <userops:UserOps id="userOpsService"

    result="userOpsService_resultHandler(event)"

    fault="userOpsService_faultHandler(event)" />



    Normally, I expect to call the result method

    userOpsService_resultHandler for successfull operations, but it does not.



    Which way I should go through to find out what is going on after calling

    the service ?



    Thanks,

    Serkan











--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ca9abec2bfccf4e025b5608d6f948e13a%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636970488757962212&sdata=hdt3NF%2FdwaK7wiREYqjWNN%2BIQCrSzfnS4RSGX%2FlNstY%3D&reserved=0>








Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Hi Alex, any progress ?

6.06.2019 11:09 tarihinde Alex Harui yazdı:
>
> I’m backlogged on some other stuff.  Hope to get to it this week.
>
> *From: *Serkan Taş <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, May 28, 2019 at 7:03 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Work on Emulation
>
> Kindly remind :)
>
> 14.05.2019 16:12 tarihinde Serkan Taş yazdı:
>
>     Hi Alex,
>
>     I prepared sample project. Please find :
>     https://drive.google.com/open?id=1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL
>     <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL&data=02%7C01%7Caharui%40adobe.com%7Ca6a204ba7ed14aab8d9908d6e3754ef4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636946490316602123&sdata=NC61NofUEP5iIQkGnJT01BMPGma30E3XfMMEUH3cxnw%3D&reserved=0>
>
>     You have to set to env vars for local to build the project :
>
>     CLOSURE_HOME
>     ROYALE_DIST_HOME
>
>     Thanks,
>     Serkan.
>
>     10.05.2019 00:53 tarihinde Serkan Taş yazdı:
>
>         Thanks :)
>
>         9.05.2019 19:35 tarihinde Piotr Zarzycki yazdı:
>
>             Well I explained to you how to check whether they are the
>             latest, so you have your guarantee. :)
>
>             czw., 9 maj 2019 o 18:34 Serkan Taş
>             <serkan.tas@likyateknoloji.com
>             <ma...@likyateknoloji.com>> napisał(a):
>
>
>                 I checked my git repo and it was good but to guarantee
>                 i downloaded the latest binaries from the url Piotr
>                 sent and tested with the latest binaries rather than
>                 the one I build locally  and getting the error below.
>
>                 cid:part3.34BD1132.7ABE3721@likyateknoloji.com
>
>                 And the js file :
>
>
>                 32:
>                 main.mtest.Wrapper.prototype.http_$$www_adobe_com$2008$flex$model$internal__initialize
>                 = function() {
>                 33:
>                 main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>                 this,
>                 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>                 34:
>                 main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>                 this,
>                 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>                 35: };
>
>                 May be I am missing something,
>
>                 Thanks,
>                 Serkan
>
>                 8.05.2019 06:19 tarihinde Alex Harui yazdı:
>
>                     Look at the commits and see if the change I made
>                     is in the source.
>
>                     Make sure you delete all of your bin/js-debug folders.
>
>                     HTH,
>
>                     -Alex
>
>                     *From: *Serkan Taş <se...@likyateknoloji.com>
>                     <ma...@likyateknoloji.com>
>                     *Reply-To: *"users@royale.apache.org"
>                     <ma...@royale.apache.org>
>                     <us...@royale.apache.org>
>                     <ma...@royale.apache.org>
>                     *Date: *Tuesday, May 7, 2019 at 7:48 AM
>                     *To: *"users@royale.apache.org"
>                     <ma...@royale.apache.org>
>                     <us...@royale.apache.org>
>                     <ma...@royale.apache.org>
>                     *Subject: *Re: Work on Emulation
>
>                     Hi Alex,
>
>                     After getting the latest version I am still
>                     getting the same error. How can I check that I
>                     pulled the version that you have fixed ?
>
>                     Thanks,
>                     Serkan
>
>                     25.04.2019 08:46 tarihinde Alex Harui yazdı:
>
>                         File a bug an attach _Super_UserOps.js and
>                         _Super_UserOps.as and UserOps.js and UserOps.as
>
>                         Thanks,
>
>                         -Alex
>
>                         *From: *Serkan Taş
>                         <se...@likyateknoloji.com>
>                         <ma...@likyateknoloji.com>
>                         *Reply-To: *"users@royale.apache.org"
>                         <ma...@royale.apache.org>
>                         <us...@royale.apache.org>
>                         <ma...@royale.apache.org>
>                         *Date: *Wednesday, April 24, 2019 at 8:52 PM
>                         *To: *"users@royale.apache.org"
>                         <ma...@royale.apache.org>
>                         <us...@royale.apache.org>
>                         <ma...@royale.apache.org>
>                         *Subject: *Re: Work on Emulation
>
>                         Hi Alex,
>
>                         I am still working on the issue which is
>                         related with third party library that we have
>                         discussed months ago.
>
>                         I am not sure how to get rid of the error
>                         below, may be anyone on the list have an idea.
>
>                         I am getting error below on chrome console:
>
>                         cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com
>
>                         Here is the _Super_UserOps.as source piece
>                         which couses the error :
>
>                         model_internal::initialize();
>
>                         converted to _Super_UserOps.js :
>
>                         com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize,
>                         this,
>                         'http://www.adobe.com/2008/flex/model/internal::initialize')();
>
>
>                         content of the file model_internal.as
>                         <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmodel_internal.as&data=02%7C01%7Caharui%40adobe.com%7Ca6a204ba7ed14aab8d9908d6e3754ef4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636946490316612121&sdata=vOQKzJr3D1C%2Fr5yv5gULFPMAkZuXlwEe3v7eR4HtDRw%3D&reserved=0>
>                         :
>
>                         package com.adobe.fiber.core
>                         {
>                            public namespace model_internal =
>                         "http://www.adobe.com/2008/flex/model/internal"
>                         <http://www.adobe.com/2008/flex/model/internal>;
>                         }
>
>
>                         Ant the class piece which initialize the fault
>                         and and result functions that is the parent
>                         class of _Super_UserOps.as :
>
>                               model_internal function initialize() : void
>                               {
>                         this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>                         this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>                               }
>
>                         Any help kindly appreciated,
>                         Thanks
>                         Serkan
>
>                         13.04.2019 00:34 tarihinde Alex Harui yazdı:
>
>                             Hi Serkan,
>
>                               
>
>                             Does it call the faultHandler instead?  If so, there should be an error message in the fault event.
>
>                               
>
>                             What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.
>
>                               
>
>                             You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.
>
>                               
>
>                             HTH,
>
>                             -Alex
>
>                               
>
>                             On 4/12/19, 2:25 PM, "Serkan Taş"<se...@likyateknoloji.com>  <ma...@likyateknoloji.com>  wrote:
>
>                               
>
>                                  Hi Alex,
>
>                                  
>
>                                  I have service call in my project.
>
>                                  
>
>                                  <userops:UserOps id="userOpsService"
>
>                                  result="userOpsService_resultHandler(event)"
>
>                                  fault="userOpsService_faultHandler(event)" />
>
>                                  
>
>                                  Normally, I expect to call the result method
>
>                                  userOpsService_resultHandler for successfull operations, but it does not.
>
>                                  
>
>                                  Which way I should go through to find out what is going on after calling
>
>                                  the service ?
>
>                                  
>
>                                  Thanks,
>
>                                  Serkan
>
>                                  
>
>                               
>
>
>
>
>             -- 
>
>             /Piotr Zarzycki /
>
>             Patreon: _https://www.patreon.com/piotrzarzycki
>             <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ca6a204ba7ed14aab8d9908d6e3754ef4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636946490316622114&sdata=8Q0BGCbUowrhy8xBnt%2FluHGS6zuSGgbQrmnVeowUPMU%3D&reserved=0>_
>
>
>


Re: Work on Emulation

Posted by Alex Harui <ah...@adobe.com>.
I’m backlogged on some other stuff.  Hope to get to it this week.

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, May 28, 2019 at 7:03 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Work on Emulation

Kindly remind :)
14.05.2019 16:12 tarihinde Serkan Taş yazdı:
Hi Alex,

I prepared sample project. Please find : https://drive.google.com/open?id=1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL&data=02%7C01%7Caharui%40adobe.com%7Ca6a204ba7ed14aab8d9908d6e3754ef4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636946490316602123&sdata=NC61NofUEP5iIQkGnJT01BMPGma30E3XfMMEUH3cxnw%3D&reserved=0>

You have to set to env vars for local to build the project :

CLOSURE_HOME
ROYALE_DIST_HOME

Thanks,
Serkan.
10.05.2019 00:53 tarihinde Serkan Taş yazdı:
Thanks :)
9.05.2019 19:35 tarihinde Piotr Zarzycki yazdı:
Well I explained to you how to check whether they are the latest, so you have your guarantee. :)

czw., 9 maj 2019 o 18:34 Serkan Taş <se...@likyateknoloji.com>> napisał(a):

I checked my git repo and it was good but to guarantee i downloaded the latest binaries from the url Piotr sent and tested with the latest binaries rather than the one I build locally  and getting the error below.

[cid:part3.34BD1132.7ABE3721@likyateknoloji.com]

And the js file :


32: main.mtest.Wrapper.prototype.http_$$www_adobe_com$2008$flex$model$internal__initialize = function() {
33:  main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents, this, 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
34:  main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents, this, 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
35: };

May be I am missing something,

Thanks,
Serkan
8.05.2019 06:19 tarihinde Alex Harui yazdı:
Look at the commits and see if the change I made is in the source.

Make sure you delete all of your bin/js-debug folders.

HTH,
-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Date: Tuesday, May 7, 2019 at 7:48 AM
To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Subject: Re: Work on Emulation

Hi Alex,

After getting the latest version I am still getting the same error. How can I check that I pulled the version that you have fixed ?

Thanks,
Serkan
25.04.2019 08:46 tarihinde Alex Harui yazdı:
File a bug an attach _Super_UserOps.js and _Super_UserOps.as and UserOps.js and UserOps.as

Thanks,
-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Date: Wednesday, April 24, 2019 at 8:52 PM
To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Subject: Re: Work on Emulation

Hi Alex,

I am still working on the issue which is related with third party library that we have discussed months ago.

I am not sure how to get rid of the error below, may be anyone on the list have an idea.

I am getting error below on chrome console:

[cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com]

Here is the _Super_UserOps.as source piece which couses the error :

model_internal::initialize();

converted to _Super_UserOps.js :

com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, this, 'http://www.adobe.com/2008/flex/model/internal::initialize')();


content of the file model_internal.as<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmodel_internal.as&data=02%7C01%7Caharui%40adobe.com%7Ca6a204ba7ed14aab8d9908d6e3754ef4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636946490316612121&sdata=vOQKzJr3D1C%2Fr5yv5gULFPMAkZuXlwEe3v7eR4HtDRw%3D&reserved=0> :

package com.adobe.fiber.core
{
   public namespace model_internal = "http://www.adobe.com/2008/flex/model/internal"<http://www.adobe.com/2008/flex/model/internal>;
}


Ant the class piece which initialize the fault and and result functions that is the parent class of _Super_UserOps.as :

      model_internal function initialize() : void
      {
         this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
         this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
      }

Any help kindly appreciated,
Thanks
Serkan
13.04.2019 00:34 tarihinde Alex Harui yazdı:

Hi Serkan,



Does it call the faultHandler instead?  If so, there should be an error message in the fault event.



What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.



You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.



HTH,

-Alex



On 4/12/19, 2:25 PM, "Serkan Taş" <se...@likyateknoloji.com> wrote:



    Hi Alex,



    I have service call in my project.



    <userops:UserOps id="userOpsService"

    result="userOpsService_resultHandler(event)"

    fault="userOpsService_faultHandler(event)" />



    Normally, I expect to call the result method

    userOpsService_resultHandler for successfull operations, but it does not.



    Which way I should go through to find out what is going on after calling

    the service ?



    Thanks,

    Serkan










--

Piotr Zarzycki

Patreon: https://www.patreon.com/piotrzarzycki<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ca6a204ba7ed14aab8d9908d6e3754ef4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636946490316622114&sdata=8Q0BGCbUowrhy8xBnt%2FluHGS6zuSGgbQrmnVeowUPMU%3D&reserved=0>





Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Kindly remind :)

14.05.2019 16:12 tarihinde Serkan Taş yazdı:
> Hi Alex,
>
> I prepared sample project. Please find : 
> https://drive.google.com/open?id=1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL
>
> You have to set to env vars for local to build the project :
>
> CLOSURE_HOME
> ROYALE_DIST_HOME
>
> Thanks,
> Serkan.
>
> 10.05.2019 00:53 tarihinde Serkan Taş yazdı:
>> Thanks :)
>>
>> 9.05.2019 19:35 tarihinde Piotr Zarzycki yazdı:
>>> Well I explained to you how to check whether they are the latest, so 
>>> you have your guarantee. :)
>>>
>>> czw., 9 maj 2019 o 18:34 Serkan Taş <serkan.tas@likyateknoloji.com 
>>> <ma...@likyateknoloji.com>> napisał(a):
>>>
>>>
>>>     I checked my git repo and it was good but to guarantee i
>>>     downloaded the latest binaries from the url Piotr sent and
>>>     tested with the latest binaries rather than the one I build
>>>     locally  and getting the error below.
>>>
>>>
>>>
>>>     And the js file :
>>>
>>>
>>>     32:
>>>     main.mtest.Wrapper.prototype.http_$$www_adobe_com$2008$flex$model$internal__initialize
>>>     = function() {
>>>     33:
>>>     main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>>>     this,
>>>     'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>>>     34:
>>>     main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>>>     this,
>>>     'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>>>     35: };
>>>
>>>     May be I am missing something,
>>>
>>>     Thanks,
>>>     Serkan
>>>
>>>     8.05.2019 06:19 tarihinde Alex Harui yazdı:
>>>>
>>>>     Look at the commits and see if the change I made is in the source.
>>>>
>>>>     Make sure you delete all of your bin/js-debug folders.
>>>>
>>>>     HTH,
>>>>
>>>>     -Alex
>>>>
>>>>     *From: *Serkan Taş <se...@likyateknoloji.com>
>>>>     <ma...@likyateknoloji.com>
>>>>     *Reply-To: *"users@royale.apache.org"
>>>>     <ma...@royale.apache.org> <us...@royale.apache.org>
>>>>     <ma...@royale.apache.org>
>>>>     *Date: *Tuesday, May 7, 2019 at 7:48 AM
>>>>     *To: *"users@royale.apache.org"
>>>>     <ma...@royale.apache.org> <us...@royale.apache.org>
>>>>     <ma...@royale.apache.org>
>>>>     *Subject: *Re: Work on Emulation
>>>>
>>>>     Hi Alex,
>>>>
>>>>     After getting the latest version I am still getting the same
>>>>     error. How can I check that I pulled the version that you have
>>>>     fixed ?
>>>>
>>>>     Thanks,
>>>>     Serkan
>>>>
>>>>     25.04.2019 08:46 tarihinde Alex Harui yazdı:
>>>>
>>>>         File a bug an attach _Super_UserOps.js and
>>>>         _Super_UserOps.as and UserOps.js and UserOps.as
>>>>
>>>>         Thanks,
>>>>
>>>>         -Alex
>>>>
>>>>         *From: *Serkan Taş <se...@likyateknoloji.com>
>>>>         <ma...@likyateknoloji.com>
>>>>         *Reply-To: *"users@royale.apache.org"
>>>>         <ma...@royale.apache.org> <us...@royale.apache.org>
>>>>         <ma...@royale.apache.org>
>>>>         *Date: *Wednesday, April 24, 2019 at 8:52 PM
>>>>         *To: *"users@royale.apache.org"
>>>>         <ma...@royale.apache.org> <us...@royale.apache.org>
>>>>         <ma...@royale.apache.org>
>>>>         *Subject: *Re: Work on Emulation
>>>>
>>>>         Hi Alex,
>>>>
>>>>         I am still working on the issue which is related with third
>>>>         party library that we have discussed months ago.
>>>>
>>>>         I am not sure how to get rid of the error below, may be
>>>>         anyone on the list have an idea.
>>>>
>>>>         I am getting error below on chrome console:
>>>>
>>>>         cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com
>>>>
>>>>         Here is the _Super_UserOps.as source piece which couses the
>>>>         error :
>>>>
>>>>         model_internal::initialize();
>>>>
>>>>         converted to _Super_UserOps.js :
>>>>
>>>>         com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize,
>>>>         this,
>>>>         'http://www.adobe.com/2008/flex/model/internal::initialize')();
>>>>
>>>>
>>>>         content of the file model_internal.as
>>>>         <http://model_internal.as> :
>>>>
>>>>         package com.adobe.fiber.core
>>>>         {
>>>>            public namespace model_internal =
>>>>         "http://www.adobe.com/2008/flex/model/internal"
>>>>         <http://www.adobe.com/2008/flex/model/internal>;
>>>>         }
>>>>
>>>>
>>>>         Ant the class piece which initialize the fault and and
>>>>         result functions that is the parent class of
>>>>         _Super_UserOps.as :
>>>>
>>>>               model_internal function initialize() : void
>>>>               {
>>>>         this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>>>>         this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>>>>               }
>>>>
>>>>         Any help kindly appreciated,
>>>>         Thanks
>>>>         Serkan
>>>>
>>>>         13.04.2019 00:34 tarihinde Alex Harui yazdı:
>>>>
>>>>             Hi Serkan,
>>>>
>>>>               
>>>>
>>>>             Does it call the faultHandler instead?  If so, there should be an error message in the fault event.
>>>>
>>>>               
>>>>
>>>>             What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.
>>>>
>>>>               
>>>>
>>>>             You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.
>>>>
>>>>               
>>>>
>>>>             HTH,
>>>>
>>>>             -Alex
>>>>
>>>>               
>>>>
>>>>             On 4/12/19, 2:25 PM, "Serkan Taş"<se...@likyateknoloji.com>  <ma...@likyateknoloji.com>  wrote:
>>>>
>>>>               
>>>>
>>>>                  Hi Alex,
>>>>
>>>>                  
>>>>
>>>>                  I have service call in my project.
>>>>
>>>>                  
>>>>
>>>>                  <userops:UserOps id="userOpsService"
>>>>
>>>>                  result="userOpsService_resultHandler(event)"
>>>>
>>>>                  fault="userOpsService_faultHandler(event)" />
>>>>
>>>>                  
>>>>
>>>>                  Normally, I expect to call the result method
>>>>
>>>>                  userOpsService_resultHandler for successfull operations, but it does not.
>>>>
>>>>                  
>>>>
>>>>                  Which way I should go through to find out what is going on after calling
>>>>
>>>>                  the service ?
>>>>
>>>>                  
>>>>
>>>>                  Thanks,
>>>>
>>>>                  Serkan
>>>>
>>>>                  
>>>>
>>>>               
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> -- 
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: _https://www.patreon.com/piotrzarzycki_
>>>
>>
>


Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Hi Alex,

I prepared sample project. Please find : 
https://drive.google.com/open?id=1jc0H1cf-Z2WJjeQy8Cy3rOuphrGjiNoL

You have to set to env vars for local to build the project :

CLOSURE_HOME
ROYALE_DIST_HOME

Thanks,
Serkan.

10.05.2019 00:53 tarihinde Serkan Taş yazdı:
> Thanks :)
>
> 9.05.2019 19:35 tarihinde Piotr Zarzycki yazdı:
>> Well I explained to you how to check whether they are the latest, so 
>> you have your guarantee. :)
>>
>> czw., 9 maj 2019 o 18:34 Serkan Taş <serkan.tas@likyateknoloji.com 
>> <ma...@likyateknoloji.com>> napisał(a):
>>
>>
>>     I checked my git repo and it was good but to guarantee i
>>     downloaded the latest binaries from the url Piotr sent and tested
>>     with the latest binaries rather than the one I build locally  and
>>     getting the error below.
>>
>>
>>
>>     And the js file :
>>
>>
>>     32:
>>     main.mtest.Wrapper.prototype.http_$$www_adobe_com$2008$flex$model$internal__initialize
>>     = function() {
>>     33:
>>     main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>>     this,
>>     'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>>     34:
>>     main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>>     this,
>>     'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>>     35: };
>>
>>     May be I am missing something,
>>
>>     Thanks,
>>     Serkan
>>
>>     8.05.2019 06:19 tarihinde Alex Harui yazdı:
>>>
>>>     Look at the commits and see if the change I made is in the source.
>>>
>>>     Make sure you delete all of your bin/js-debug folders.
>>>
>>>     HTH,
>>>
>>>     -Alex
>>>
>>>     *From: *Serkan Taş <se...@likyateknoloji.com>
>>>     <ma...@likyateknoloji.com>
>>>     *Reply-To: *"users@royale.apache.org"
>>>     <ma...@royale.apache.org> <us...@royale.apache.org>
>>>     <ma...@royale.apache.org>
>>>     *Date: *Tuesday, May 7, 2019 at 7:48 AM
>>>     *To: *"users@royale.apache.org" <ma...@royale.apache.org>
>>>     <us...@royale.apache.org> <ma...@royale.apache.org>
>>>     *Subject: *Re: Work on Emulation
>>>
>>>     Hi Alex,
>>>
>>>     After getting the latest version I am still getting the same
>>>     error. How can I check that I pulled the version that you have
>>>     fixed ?
>>>
>>>     Thanks,
>>>     Serkan
>>>
>>>     25.04.2019 08:46 tarihinde Alex Harui yazdı:
>>>
>>>         File a bug an attach _Super_UserOps.js and _Super_UserOps.as
>>>         and UserOps.js and UserOps.as
>>>
>>>         Thanks,
>>>
>>>         -Alex
>>>
>>>         *From: *Serkan Taş <se...@likyateknoloji.com>
>>>         <ma...@likyateknoloji.com>
>>>         *Reply-To: *"users@royale.apache.org"
>>>         <ma...@royale.apache.org> <us...@royale.apache.org>
>>>         <ma...@royale.apache.org>
>>>         *Date: *Wednesday, April 24, 2019 at 8:52 PM
>>>         *To: *"users@royale.apache.org"
>>>         <ma...@royale.apache.org> <us...@royale.apache.org>
>>>         <ma...@royale.apache.org>
>>>         *Subject: *Re: Work on Emulation
>>>
>>>         Hi Alex,
>>>
>>>         I am still working on the issue which is related with third
>>>         party library that we have discussed months ago.
>>>
>>>         I am not sure how to get rid of the error below, may be
>>>         anyone on the list have an idea.
>>>
>>>         I am getting error below on chrome console:
>>>
>>>         cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com
>>>
>>>         Here is the _Super_UserOps.as source piece which couses the
>>>         error :
>>>
>>>         model_internal::initialize();
>>>
>>>         converted to _Super_UserOps.js :
>>>
>>>         com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize,
>>>         this,
>>>         'http://www.adobe.com/2008/flex/model/internal::initialize')();
>>>
>>>
>>>         content of the file model_internal.as
>>>         <http://model_internal.as> :
>>>
>>>         package com.adobe.fiber.core
>>>         {
>>>            public namespace model_internal =
>>>         "http://www.adobe.com/2008/flex/model/internal"
>>>         <http://www.adobe.com/2008/flex/model/internal>;
>>>         }
>>>
>>>
>>>         Ant the class piece which initialize the fault and and
>>>         result functions that is the parent class of _Super_UserOps.as :
>>>
>>>               model_internal function initialize() : void
>>>               {
>>>         this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>>>         this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>>>               }
>>>
>>>         Any help kindly appreciated,
>>>         Thanks
>>>         Serkan
>>>
>>>         13.04.2019 00:34 tarihinde Alex Harui yazdı:
>>>
>>>             Hi Serkan,
>>>
>>>               
>>>
>>>             Does it call the faultHandler instead?  If so, there should be an error message in the fault event.
>>>
>>>               
>>>
>>>             What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.
>>>
>>>               
>>>
>>>             You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.
>>>
>>>               
>>>
>>>             HTH,
>>>
>>>             -Alex
>>>
>>>               
>>>
>>>             On 4/12/19, 2:25 PM, "Serkan Taş"<se...@likyateknoloji.com>  <ma...@likyateknoloji.com>  wrote:
>>>
>>>               
>>>
>>>                  Hi Alex,
>>>
>>>                  
>>>
>>>                  I have service call in my project.
>>>
>>>                  
>>>
>>>                  <userops:UserOps id="userOpsService"
>>>
>>>                  result="userOpsService_resultHandler(event)"
>>>
>>>                  fault="userOpsService_faultHandler(event)" />
>>>
>>>                  
>>>
>>>                  Normally, I expect to call the result method
>>>
>>>                  userOpsService_resultHandler for successfull operations, but it does not.
>>>
>>>                  
>>>
>>>                  Which way I should go through to find out what is going on after calling
>>>
>>>                  the service ?
>>>
>>>                  
>>>
>>>                  Thanks,
>>>
>>>                  Serkan
>>>
>>>                  
>>>
>>>               
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> -- 
>>
>> Piotr Zarzycki
>>
>> Patreon: _https://www.patreon.com/piotrzarzycki_
>>
>


Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Thanks :)

9.05.2019 19:35 tarihinde Piotr Zarzycki yazdı:
> Well I explained to you how to check whether they are the latest, so 
> you have your guarantee. :)
>
> czw., 9 maj 2019 o 18:34 Serkan Taş <serkan.tas@likyateknoloji.com 
> <ma...@likyateknoloji.com>> napisał(a):
>
>
>     I checked my git repo and it was good but to guarantee i
>     downloaded the latest binaries from the url Piotr sent and tested
>     with the latest binaries rather than the one I build locally  and
>     getting the error below.
>
>
>
>     And the js file :
>
>
>     32:
>     main.mtest.Wrapper.prototype.http_$$www_adobe_com$2008$flex$model$internal__initialize
>     = function() {
>     33:
>     main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>     this,
>     'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>     34:
>     main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
>     this,
>     'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
>     35: };
>
>     May be I am missing something,
>
>     Thanks,
>     Serkan
>
>     8.05.2019 06:19 tarihinde Alex Harui yazdı:
>>
>>     Look at the commits and see if the change I made is in the source.
>>
>>     Make sure you delete all of your bin/js-debug folders.
>>
>>     HTH,
>>
>>     -Alex
>>
>>     *From: *Serkan Taş <se...@likyateknoloji.com>
>>     <ma...@likyateknoloji.com>
>>     *Reply-To: *"users@royale.apache.org"
>>     <ma...@royale.apache.org> <us...@royale.apache.org>
>>     <ma...@royale.apache.org>
>>     *Date: *Tuesday, May 7, 2019 at 7:48 AM
>>     *To: *"users@royale.apache.org" <ma...@royale.apache.org>
>>     <us...@royale.apache.org> <ma...@royale.apache.org>
>>     *Subject: *Re: Work on Emulation
>>
>>     Hi Alex,
>>
>>     After getting the latest version I am still getting the same
>>     error. How can I check that I pulled the version that you have
>>     fixed ?
>>
>>     Thanks,
>>     Serkan
>>
>>     25.04.2019 08:46 tarihinde Alex Harui yazdı:
>>
>>         File a bug an attach _Super_UserOps.js and _Super_UserOps.as
>>         and UserOps.js and UserOps.as
>>
>>         Thanks,
>>
>>         -Alex
>>
>>         *From: *Serkan Taş <se...@likyateknoloji.com>
>>         <ma...@likyateknoloji.com>
>>         *Reply-To: *"users@royale.apache.org"
>>         <ma...@royale.apache.org> <us...@royale.apache.org>
>>         <ma...@royale.apache.org>
>>         *Date: *Wednesday, April 24, 2019 at 8:52 PM
>>         *To: *"users@royale.apache.org"
>>         <ma...@royale.apache.org> <us...@royale.apache.org>
>>         <ma...@royale.apache.org>
>>         *Subject: *Re: Work on Emulation
>>
>>         Hi Alex,
>>
>>         I am still working on the issue which is related with third
>>         party library that we have discussed months ago.
>>
>>         I am not sure how to get rid of the error below, may be
>>         anyone on the list have an idea.
>>
>>         I am getting error below on chrome console:
>>
>>         cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com
>>
>>         Here is the _Super_UserOps.as source piece which couses the
>>         error :
>>
>>         model_internal::initialize();
>>
>>         converted to _Super_UserOps.js :
>>
>>         com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize,
>>         this,
>>         'http://www.adobe.com/2008/flex/model/internal::initialize')();
>>
>>
>>         content of the file model_internal.as
>>         <http://model_internal.as> :
>>
>>         package com.adobe.fiber.core
>>         {
>>            public namespace model_internal =
>>         "http://www.adobe.com/2008/flex/model/internal"
>>         <http://www.adobe.com/2008/flex/model/internal>;
>>         }
>>
>>
>>         Ant the class piece which initialize the fault and and result
>>         functions that is the parent class of _Super_UserOps.as :
>>
>>               model_internal function initialize() : void
>>               {
>>         this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>>         this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>>               }
>>
>>         Any help kindly appreciated,
>>         Thanks
>>         Serkan
>>
>>         13.04.2019 00:34 tarihinde Alex Harui yazdı:
>>
>>             Hi Serkan,
>>
>>               
>>
>>             Does it call the faultHandler instead?  If so, there should be an error message in the fault event.
>>
>>               
>>
>>             What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.
>>
>>               
>>
>>             You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.
>>
>>               
>>
>>             HTH,
>>
>>             -Alex
>>
>>               
>>
>>             On 4/12/19, 2:25 PM, "Serkan Taş"<se...@likyateknoloji.com>  <ma...@likyateknoloji.com>  wrote:
>>
>>               
>>
>>                  Hi Alex,
>>
>>                  
>>
>>                  I have service call in my project.
>>
>>                  
>>
>>                  <userops:UserOps id="userOpsService"
>>
>>                  result="userOpsService_resultHandler(event)"
>>
>>                  fault="userOpsService_faultHandler(event)" />
>>
>>                  
>>
>>                  Normally, I expect to call the result method
>>
>>                  userOpsService_resultHandler for successfull operations, but it does not.
>>
>>                  
>>
>>                  Which way I should go through to find out what is going on after calling
>>
>>                  the service ?
>>
>>                  
>>
>>                  Thanks,
>>
>>                  Serkan
>>
>>                  
>>
>>               
>>
>>
>>
>>
>>
>>
>
>
>
> -- 
>
> Piotr Zarzycki
>
> Patreon: _https://www.patreon.com/piotrzarzycki_
>


Re: Work on Emulation

Posted by Piotr Zarzycki <pi...@gmail.com>.
Well I explained to you how to check whether they are the latest, so you
have your guarantee. :)

czw., 9 maj 2019 o 18:34 Serkan Taş <se...@likyateknoloji.com>
napisał(a):

>
> I checked my git repo and it was good but to guarantee i downloaded the
> latest binaries from the url Piotr sent and tested with the latest binaries
> rather than the one I build locally  and getting the error below.
>
>
>
> And the js file :
>
>
> 32:
> main.mtest.Wrapper.prototype.http_$$www_adobe_com$2008$flex$model$internal__initialize
> = function() {
> 33:
> main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
> this, 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
> 34:
> main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents,
> this, 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
> 35: };
>
> May be I am missing something,
>
> Thanks,
> Serkan
>
> 8.05.2019 06:19 tarihinde Alex Harui yazdı:
>
> Look at the commits and see if the change I made is in the source.
>
>
>
> Make sure you delete all of your bin/js-debug folders.
>
>
>
> HTH,
>
> -Alex
>
>
>
> *From: *Serkan Taş <se...@likyateknoloji.com>
> <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> <us...@royale.apache.org> <us...@royale.apache.org>
> *Date: *Tuesday, May 7, 2019 at 7:48 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> <us...@royale.apache.org> <us...@royale.apache.org>
> *Subject: *Re: Work on Emulation
>
>
>
> Hi Alex,
>
> After getting the latest version I am still getting the same error. How
> can I check that I pulled the version that you have fixed ?
>
> Thanks,
> Serkan
>
> 25.04.2019 08:46 tarihinde Alex Harui yazdı:
>
> File a bug an attach _Super_UserOps.js and _Super_UserOps.as and
> UserOps.js and UserOps.as
>
>
>
> Thanks,
>
> -Alex
>
>
>
> *From: *Serkan Taş <se...@likyateknoloji.com>
> <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> <us...@royale.apache.org> <us...@royale.apache.org>
> *Date: *Wednesday, April 24, 2019 at 8:52 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> <us...@royale.apache.org> <us...@royale.apache.org>
> *Subject: *Re: Work on Emulation
>
>
>
> Hi Alex,
>
> I am still working on the issue which is related with third party library
> that we have discussed months ago.
>
> I am not sure how to get rid of the error below, may be anyone on the list
> have an idea.
>
> I am getting error below on chrome console:
>
> [image: cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com]
>
> Here is the _Super_UserOps.as source piece which couses the error :
>
> model_internal::initialize();
>
> converted to _Super_UserOps.js :
>
> com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize,
> this, 'http://www.adobe.com/2008/flex/model/internal::initialize')();
>
>
> content of the file model_internal.as :
>
> package com.adobe.fiber.core
> {
>    public namespace model_internal =
> "http://www.adobe.com/2008/flex/model/internal"
> <http://www.adobe.com/2008/flex/model/internal>;
> }
>
>
> Ant the class piece which initialize the fault and and result functions
> that is the parent class of _Super_UserOps.as :
>
>       model_internal function initialize() : void
>       {
>
> this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>
> this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>       }
>
> Any help kindly appreciated,
> Thanks
> Serkan
>
> 13.04.2019 00:34 tarihinde Alex Harui yazdı:
>
> Hi Serkan,
>
>
>
> Does it call the faultHandler instead?  If so, there should be an error message in the fault event.
>
>
>
> What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.
>
>
>
> You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.
>
>
>
> HTH,
>
> -Alex
>
>
>
> On 4/12/19, 2:25 PM, "Serkan Taş" <se...@likyateknoloji.com> <se...@likyateknoloji.com> wrote:
>
>
>
>     Hi Alex,
>
>
>
>     I have service call in my project.
>
>
>
>     <userops:UserOps id="userOpsService"
>
>     result="userOpsService_resultHandler(event)"
>
>     fault="userOpsService_faultHandler(event)" />
>
>
>
>     Normally, I expect to call the result method
>
>     userOpsService_resultHandler for successfull operations, but it does not.
>
>
>
>     Which way I should go through to find out what is going on after calling
>
>     the service ?
>
>
>
>     Thanks,
>
>     Serkan
>
>
>
>
>
>
>
>
>
>
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
I checked my git repo and it was good but to guarantee i downloaded the 
latest binaries from the url Piotr sent and tested with the latest 
binaries rather than the one I build locally  and getting the error below.



And the js file :


32: 
main.mtest.Wrapper.prototype.http_$$www_adobe_com$2008$flex$model$internal__initialize 
= function() {
33: 
main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents, 
this, 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
34: 
main.mtest.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__propagateEvents, 
this, 'http://www.adobe.com/2008/flex/model/internal::propagateEvents');
35: };

May be I am missing something,

Thanks,
Serkan

8.05.2019 06:19 tarihinde Alex Harui yazdı:
>
> Look at the commits and see if the change I made is in the source.
>
> Make sure you delete all of your bin/js-debug folders.
>
> HTH,
>
> -Alex
>
> *From: *Serkan Taş <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Tuesday, May 7, 2019 at 7:48 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Work on Emulation
>
> Hi Alex,
>
> After getting the latest version I am still getting the same error. 
> How can I check that I pulled the version that you have fixed ?
>
> Thanks,
> Serkan
>
> 25.04.2019 08:46 tarihinde Alex Harui yazdı:
>
>     File a bug an attach _Super_UserOps.js and _Super_UserOps.as and
>     UserOps.js and UserOps.as
>
>     Thanks,
>
>     -Alex
>
>     *From: *Serkan Taş <se...@likyateknoloji.com>
>     <ma...@likyateknoloji.com>
>     *Reply-To: *"users@royale.apache.org"
>     <ma...@royale.apache.org> <us...@royale.apache.org>
>     <ma...@royale.apache.org>
>     *Date: *Wednesday, April 24, 2019 at 8:52 PM
>     *To: *"users@royale.apache.org" <ma...@royale.apache.org>
>     <us...@royale.apache.org> <ma...@royale.apache.org>
>     *Subject: *Re: Work on Emulation
>
>     Hi Alex,
>
>     I am still working on the issue which is related with third party
>     library that we have discussed months ago.
>
>     I am not sure how to get rid of the error below, may be anyone on
>     the list have an idea.
>
>     I am getting error below on chrome console:
>
>     cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com
>
>     Here is the _Super_UserOps.as source piece which couses the error :
>
>     model_internal::initialize();
>
>     converted to _Super_UserOps.js :
>
>     com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize,
>     this, 'http://www.adobe.com/2008/flex/model/internal::initialize')();
>
>
>     content of the file model_internal.as :
>
>     package com.adobe.fiber.core
>     {
>        public namespace model_internal =
>     "http://www.adobe.com/2008/flex/model/internal"
>     <http://www.adobe.com/2008/flex/model/internal>;
>     }
>
>
>     Ant the class piece which initialize the fault and and result
>     functions that is the parent class of _Super_UserOps.as :
>
>           model_internal function initialize() : void
>           {
>     this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>     this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>           }
>
>     Any help kindly appreciated,
>     Thanks
>     Serkan
>
>     13.04.2019 00:34 tarihinde Alex Harui yazdı:
>
>         Hi Serkan,
>
>           
>
>         Does it call the faultHandler instead?  If so, there should be an error message in the fault event.
>
>           
>
>         What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.
>
>           
>
>         You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.
>
>           
>
>         HTH,
>
>         -Alex
>
>           
>
>         On 4/12/19, 2:25 PM, "Serkan Taş"<se...@likyateknoloji.com>  <ma...@likyateknoloji.com>  wrote:
>
>           
>
>              Hi Alex,
>
>              
>
>              I have service call in my project.
>
>              
>
>              <userops:UserOps id="userOpsService"
>
>              result="userOpsService_resultHandler(event)"
>
>              fault="userOpsService_faultHandler(event)" />
>
>              
>
>              Normally, I expect to call the result method
>
>              userOpsService_resultHandler for successfull operations, but it does not.
>
>              
>
>              Which way I should go through to find out what is going on after calling
>
>              the service ?
>
>              
>
>              Thanks,
>
>              Serkan
>
>              
>
>           
>
>
>
>
>
>


Re: Work on Emulation

Posted by Alex Harui <ah...@adobe.com>.
Look at the commits and see if the change I made is in the source.

Make sure you delete all of your bin/js-debug folders.

HTH,
-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Tuesday, May 7, 2019 at 7:48 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Work on Emulation

Hi Alex,

After getting the latest version I am still getting the same error. How can I check that I pulled the version that you have fixed ?

Thanks,
Serkan
25.04.2019 08:46 tarihinde Alex Harui yazdı:
File a bug an attach _Super_UserOps.js and _Super_UserOps.as and UserOps.js and UserOps.as

Thanks,
-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Date: Wednesday, April 24, 2019 at 8:52 PM
To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Subject: Re: Work on Emulation

Hi Alex,

I am still working on the issue which is related with third party library that we have discussed months ago.

I am not sure how to get rid of the error below, may be anyone on the list have an idea.

I am getting error below on chrome console:

[cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com]

Here is the _Super_UserOps.as source piece which couses the error :

model_internal::initialize();

converted to _Super_UserOps.js :

com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, this, 'http://www.adobe.com/2008/flex/model/internal::initialize')();


content of the file model_internal.as :

package com.adobe.fiber.core
{
   public namespace model_internal = "http://www.adobe.com/2008/flex/model/internal"<http://www.adobe.com/2008/flex/model/internal>;
}


Ant the class piece which initialize the fault and and result functions that is the parent class of _Super_UserOps.as :

      model_internal function initialize() : void
      {
         this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
         this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
      }

Any help kindly appreciated,
Thanks
Serkan
13.04.2019 00:34 tarihinde Alex Harui yazdı:

Hi Serkan,



Does it call the faultHandler instead?  If so, there should be an error message in the fault event.



What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.



You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.



HTH,

-Alex



On 4/12/19, 2:25 PM, "Serkan Taş" <se...@likyateknoloji.com> wrote:



    Hi Alex,



    I have service call in my project.



    <userops:UserOps id="userOpsService"

    result="userOpsService_resultHandler(event)"

    fault="userOpsService_faultHandler(event)" />



    Normally, I expect to call the result method

    userOpsService_resultHandler for successfull operations, but it does not.



    Which way I should go through to find out what is going on after calling

    the service ?



    Thanks,

    Serkan










Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Hi Alex,

After getting the latest version I am still getting the same error. How 
can I check that I pulled the version that you have fixed ?

Thanks,
Serkan

25.04.2019 08:46 tarihinde Alex Harui yazdı:
>
> File a bug an attach _Super_UserOps.js and _Super_UserOps.as and 
> UserOps.js and UserOps.as
>
> Thanks,
>
> -Alex
>
> *From: *Serkan Taş <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, April 24, 2019 at 8:52 PM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Work on Emulation
>
> Hi Alex,
>
> I am still working on the issue which is related with third party 
> library that we have discussed months ago.
>
> I am not sure how to get rid of the error below, may be anyone on the 
> list have an idea.
>
> I am getting error below on chrome console:
>
> cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com
>
> Here is the _Super_UserOps.as source piece which couses the error :
>
> model_internal::initialize();
>
> converted to _Super_UserOps.js :
>
> com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, 
> this, 'http://www.adobe.com/2008/flex/model/internal::initialize')();
>
>
> content of the file model_internal.as :
>
> package com.adobe.fiber.core
> {
>    public namespace model_internal = 
> "http://www.adobe.com/2008/flex/model/internal" 
> <http://www.adobe.com/2008/flex/model/internal>;
> }
>
>
> Ant the class piece which initialize the fault and and result 
> functions that is the parent class of _Super_UserOps.as :
>
>       model_internal function initialize() : void
>       {
> this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
> this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>       }
>
> Any help kindly appreciated,
> Thanks
> Serkan
>
> 13.04.2019 00:34 tarihinde Alex Harui yazdı:
>
>     Hi Serkan,
>
>     Does it call the faultHandler instead?  If so, there should be an error message in the fault event.
>
>     What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.
>
>     You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.
>
>     HTH,
>
>     -Alex
>
>     On 4/12/19, 2:25 PM, "Serkan Taş"<se...@likyateknoloji.com>  <ma...@likyateknoloji.com>  wrote:
>
>          Hi Alex,
>
>          
>
>          I have service call in my project.
>
>          
>
>          <userops:UserOps id="userOpsService"
>
>          result="userOpsService_resultHandler(event)"
>
>          fault="userOpsService_faultHandler(event)" />
>
>          
>
>          Normally, I expect to call the result method
>
>          userOpsService_resultHandler for successfull operations, but it does not.
>
>          
>
>          Which way I should go through to find out what is going on after calling
>
>          the service ?
>
>          
>
>          Thanks,
>
>          Serkan
>
>          
>
>
>


Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
My AS knowledge is not so deep but I am going to try to find out a way.

Thanks Alex,
Serkan

26.04.2019 08:49 tarihinde Alex Harui yazdı:
> It is very difficult to tell from code in an email, but it looks like the compiler is not generating the right code for model_internal functions, so try using public or protected functions for now.
>
> -Alex
>
> On 4/24/19, 11:07 PM, "serkan.tas@likyateknoloji.com" <se...@likyateknoloji.com> wrote:
>
>      Thanks Alex, I am goint to file the bug after work.
>      
>      Can you suggest a workaround until the bug fixed ?
>      
>      Alıntı Alex Harui <ah...@adobe.com>:
>      
>      > File a bug an attach _Super_UserOps.js and _Super_UserOps.as and
>      > UserOps.js and UserOps.as
>      >
>      > Thanks,
>      > -Alex
>      >
>      > From: Serkan Taş <se...@likyateknoloji.com>
>      > Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
>      > Date: Wednesday, April 24, 2019 at 8:52 PM
>      > To: "users@royale.apache.org" <us...@royale.apache.org>
>      > Subject: Re: Work on Emulation
>      >
>      > Hi Alex,
>      >
>      > I am still working on the issue which is related with third party
>      > library that we have discussed months ago.
>      >
>      > I am not sure how to get rid of the error below, may be anyone on
>      > the list have an idea.
>      >
>      > I am getting error below on chrome console:
>      >
>      > [cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com]
>      >
>      > Here is the _Super_UserOps.as source piece which couses the error :
>      >
>      > model_internal::initialize();
>      >
>      > converted to _Super_UserOps.js :
>      >
>      > com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, this,
>      > 'http://www.adobe.com/2008/flex/model/internal::initialize')();
>      >
>      >
>      > content of the file model_internal.as :
>      >
>      > package com.adobe.fiber.core
>      > {
>      >    public namespace model_internal =
>      > "http://www.adobe.com/2008/flex/model/internal"<http://www.adobe.com/2008/flex/model/internal>;
>      > }
>      >
>      >
>      > Ant the class piece which initialize the fault and and result
>      > functions that is the parent class of _Super_UserOps.as :
>      >
>      >       model_internal function initialize() : void
>      >       {
>      >
>      > this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>      >
>      > this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>      >       }
>      >
>      > Any help kindly appreciated,
>      > Thanks
>      > Serkan
>      > 13.04.2019 00:34 tarihinde Alex Harui yazdı:
>      >
>      > Hi Serkan,
>      >
>      >
>      >
>      > Does it call the faultHandler instead?  If so, there should be an
>      > error message in the fault event.
>      >
>      >
>      >
>      > What kind of service is UserOps?  I would set breakpoints and debug
>      > to make sure it actually sent something (and maybe use a network
>      > monitor to see what was sent and to where).  And then verify that
>      > the code that finally sends (maybe via XmlHTTPRequest) also set up
>      > listeners for events and set breakpoints on those low-level event
>      > handlers.
>      >
>      >
>      >
>      > You can also use the network monitor against the Flex app and
>      > compare what is being sent to what Royale is sending.
>      >
>      >
>      >
>      > HTH,
>      >
>      > -Alex
>      >
>      >
>      >
>      > On 4/12/19, 2:25 PM, "Serkan Taş"
>      > <se...@likyateknoloji.com>
>      > wrote:
>      >
>      >
>      >
>      >     Hi Alex,
>      >
>      >
>      >
>      >     I have service call in my project.
>      >
>      >
>      >
>      >     <userops:UserOps id="userOpsService"
>      >
>      >     result="userOpsService_resultHandler(event)"
>      >
>      >     fault="userOpsService_faultHandler(event)" />
>      >
>      >
>      >
>      >     Normally, I expect to call the result method
>      >
>      >     userOpsService_resultHandler for successfull operations, but it does not.
>      >
>      >
>      >
>      >     Which way I should go through to find out what is going on after calling
>      >
>      >     the service ?
>      >
>      >
>      >
>      >     Thanks,
>      >
>      >     Serkan
>      
>      
>      --
>      Serkan Taş
>      Mobil : +90 532 250 07 71
>      Likya Bilgi Teknolojileri
>      ve İletişim Hiz. Ltd. Şti.
>      https://nam04.safelinks.protection.outlook.com/?url=www.likyateknoloji.com&amp;data=02%7C01%7Caharui%40adobe.com%7C170e06a32d7f427c6fe608d6c944599e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636917692765052576&amp;sdata=By2mOwwBUJ41ItMXHO5UqWs4%2FqCp5c4v%2Bgwc4Bk%2BnP4%3D&amp;reserved=0
>      
>      --------------------------------------
>      Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece
>      yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını
>      taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın
>      içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız
>      kesinlikle yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden
>      siliniz. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu
>      mesajın içeriği ile ilgili olarak hiç bir hukuksal sorumluluğu kabul
>      etmez.
>      
>      This electronic mail and any files transmitted with it are intended
>      for the private use of  the persons named above. If you received this
>      message in error, forwarding, copying or use of any of the information
>      is strictly prohibited. Please immediately notify the sender and
>      delete it from your system. Likya Bilgi Teknolojileri ve İletişim Hiz.
>      Ltd. Şti. does not accept legal responsibility for the contents of
>      this message.
>      --------------------------------------
>      
>      
>


Re: Work on Emulation

Posted by Alex Harui <ah...@adobe.com>.
It is very difficult to tell from code in an email, but it looks like the compiler is not generating the right code for model_internal functions, so try using public or protected functions for now.

-Alex

On 4/24/19, 11:07 PM, "serkan.tas@likyateknoloji.com" <se...@likyateknoloji.com> wrote:

    Thanks Alex, I am goint to file the bug after work.
    
    Can you suggest a workaround until the bug fixed ?
    
    Alıntı Alex Harui <ah...@adobe.com>:
    
    > File a bug an attach _Super_UserOps.js and _Super_UserOps.as and  
    > UserOps.js and UserOps.as
    >
    > Thanks,
    > -Alex
    >
    > From: Serkan Taş <se...@likyateknoloji.com>
    > Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
    > Date: Wednesday, April 24, 2019 at 8:52 PM
    > To: "users@royale.apache.org" <us...@royale.apache.org>
    > Subject: Re: Work on Emulation
    >
    > Hi Alex,
    >
    > I am still working on the issue which is related with third party  
    > library that we have discussed months ago.
    >
    > I am not sure how to get rid of the error below, may be anyone on  
    > the list have an idea.
    >
    > I am getting error below on chrome console:
    >
    > [cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com]
    >
    > Here is the _Super_UserOps.as source piece which couses the error :
    >
    > model_internal::initialize();
    >
    > converted to _Super_UserOps.js :
    >
    > com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, this,  
    > 'http://www.adobe.com/2008/flex/model/internal::initialize')();
    >
    >
    > content of the file model_internal.as :
    >
    > package com.adobe.fiber.core
    > {
    >    public namespace model_internal =  
    > "http://www.adobe.com/2008/flex/model/internal"<http://www.adobe.com/2008/flex/model/internal>;
    > }
    >
    >
    > Ant the class piece which initialize the fault and and result  
    > functions that is the parent class of _Super_UserOps.as :
    >
    >       model_internal function initialize() : void
    >       {
    >           
    > this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
    >           
    > this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
    >       }
    >
    > Any help kindly appreciated,
    > Thanks
    > Serkan
    > 13.04.2019 00:34 tarihinde Alex Harui yazdı:
    >
    > Hi Serkan,
    >
    >
    >
    > Does it call the faultHandler instead?  If so, there should be an  
    > error message in the fault event.
    >
    >
    >
    > What kind of service is UserOps?  I would set breakpoints and debug  
    > to make sure it actually sent something (and maybe use a network  
    > monitor to see what was sent and to where).  And then verify that  
    > the code that finally sends (maybe via XmlHTTPRequest) also set up  
    > listeners for events and set breakpoints on those low-level event  
    > handlers.
    >
    >
    >
    > You can also use the network monitor against the Flex app and  
    > compare what is being sent to what Royale is sending.
    >
    >
    >
    > HTH,
    >
    > -Alex
    >
    >
    >
    > On 4/12/19, 2:25 PM, "Serkan Taş"  
    > <se...@likyateknoloji.com>  
    > wrote:
    >
    >
    >
    >     Hi Alex,
    >
    >
    >
    >     I have service call in my project.
    >
    >
    >
    >     <userops:UserOps id="userOpsService"
    >
    >     result="userOpsService_resultHandler(event)"
    >
    >     fault="userOpsService_faultHandler(event)" />
    >
    >
    >
    >     Normally, I expect to call the result method
    >
    >     userOpsService_resultHandler for successfull operations, but it does not.
    >
    >
    >
    >     Which way I should go through to find out what is going on after calling
    >
    >     the service ?
    >
    >
    >
    >     Thanks,
    >
    >     Serkan
    
    
    -- 
    Serkan Taş
    Mobil : +90 532 250 07 71
    Likya Bilgi Teknolojileri
    ve İletişim Hiz. Ltd. Şti.
    https://nam04.safelinks.protection.outlook.com/?url=www.likyateknoloji.com&amp;data=02%7C01%7Caharui%40adobe.com%7C170e06a32d7f427c6fe608d6c944599e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636917692765052576&amp;sdata=By2mOwwBUJ41ItMXHO5UqWs4%2FqCp5c4v%2Bgwc4Bk%2BnP4%3D&amp;reserved=0
    
    --------------------------------------
    Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece  
    yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını  
    taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın  
    içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız  
    kesinlikle yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden  
    siliniz. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu  
    mesajın içeriği ile ilgili olarak hiç bir hukuksal sorumluluğu kabul  
    etmez.
    
    This electronic mail and any files transmitted with it are intended  
    for the private use of  the persons named above. If you received this  
    message in error, forwarding, copying or use of any of the information  
    is strictly prohibited. Please immediately notify the sender and  
    delete it from your system. Likya Bilgi Teknolojileri ve İletişim Hiz.  
    Ltd. Şti. does not accept legal responsibility for the contents of  
    this message.
    --------------------------------------
    
    


Re: Work on Emulation

Posted by se...@likyateknoloji.com.
Thanks Alex, I am goint to file the bug after work.

Can you suggest a workaround until the bug fixed ?

Alıntı Alex Harui <ah...@adobe.com>:

> File a bug an attach _Super_UserOps.js and _Super_UserOps.as and  
> UserOps.js and UserOps.as
>
> Thanks,
> -Alex
>
> From: Serkan Taş <se...@likyateknoloji.com>
> Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
> Date: Wednesday, April 24, 2019 at 8:52 PM
> To: "users@royale.apache.org" <us...@royale.apache.org>
> Subject: Re: Work on Emulation
>
> Hi Alex,
>
> I am still working on the issue which is related with third party  
> library that we have discussed months ago.
>
> I am not sure how to get rid of the error below, may be anyone on  
> the list have an idea.
>
> I am getting error below on chrome console:
>
> [cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com]
>
> Here is the _Super_UserOps.as source piece which couses the error :
>
> model_internal::initialize();
>
> converted to _Super_UserOps.js :
>
> com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, this,  
> 'http://www.adobe.com/2008/flex/model/internal::initialize')();
>
>
> content of the file model_internal.as :
>
> package com.adobe.fiber.core
> {
>    public namespace model_internal =  
> "http://www.adobe.com/2008/flex/model/internal"<http://www.adobe.com/2008/flex/model/internal>;
> }
>
>
> Ant the class piece which initialize the fault and and result  
> functions that is the parent class of _Super_UserOps.as :
>
>       model_internal function initialize() : void
>       {
>           
> this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
>           
> this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
>       }
>
> Any help kindly appreciated,
> Thanks
> Serkan
> 13.04.2019 00:34 tarihinde Alex Harui yazdı:
>
> Hi Serkan,
>
>
>
> Does it call the faultHandler instead?  If so, there should be an  
> error message in the fault event.
>
>
>
> What kind of service is UserOps?  I would set breakpoints and debug  
> to make sure it actually sent something (and maybe use a network  
> monitor to see what was sent and to where).  And then verify that  
> the code that finally sends (maybe via XmlHTTPRequest) also set up  
> listeners for events and set breakpoints on those low-level event  
> handlers.
>
>
>
> You can also use the network monitor against the Flex app and  
> compare what is being sent to what Royale is sending.
>
>
>
> HTH,
>
> -Alex
>
>
>
> On 4/12/19, 2:25 PM, "Serkan Taş"  
> <se...@likyateknoloji.com>  
> wrote:
>
>
>
>     Hi Alex,
>
>
>
>     I have service call in my project.
>
>
>
>     <userops:UserOps id="userOpsService"
>
>     result="userOpsService_resultHandler(event)"
>
>     fault="userOpsService_faultHandler(event)" />
>
>
>
>     Normally, I expect to call the result method
>
>     userOpsService_resultHandler for successfull operations, but it does not.
>
>
>
>     Which way I should go through to find out what is going on after calling
>
>     the service ?
>
>
>
>     Thanks,
>
>     Serkan


-- 
Serkan Taş
Mobil : +90 532 250 07 71
Likya Bilgi Teknolojileri
ve İletişim Hiz. Ltd. Şti.
www.likyateknoloji.com

--------------------------------------
Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir. Sadece  
yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını  
taşımaktadır. Size yanlışlıkla ulaşmışsa bu elektonik postanın  
içeriğini açıklamanız, kopyalamanız, yönlendirmeniz ve kullanmanız  
kesinlikle yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden  
siliniz. Likya Bilgi Teknolojileri ve İletişim Hiz. Ltd. Şti. bu  
mesajın içeriği ile ilgili olarak hiç bir hukuksal sorumluluğu kabul  
etmez.

This electronic mail and any files transmitted with it are intended  
for the private use of  the persons named above. If you received this  
message in error, forwarding, copying or use of any of the information  
is strictly prohibited. Please immediately notify the sender and  
delete it from your system. Likya Bilgi Teknolojileri ve İletişim Hiz.  
Ltd. Şti. does not accept legal responsibility for the contents of  
this message.
--------------------------------------


Re: Work on Emulation

Posted by Alex Harui <ah...@adobe.com>.
File a bug an attach _Super_UserOps.js and _Super_UserOps.as and UserOps.js and UserOps.as

Thanks,
-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, April 24, 2019 at 8:52 PM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Work on Emulation

Hi Alex,

I am still working on the issue which is related with third party library that we have discussed months ago.

I am not sure how to get rid of the error below, may be anyone on the list have an idea.

I am getting error below on chrome console:

[cid:part1.A0FA08BF.A86FA54D@likyateknoloji.com]

Here is the _Super_UserOps.as source piece which couses the error :

model_internal::initialize();

converted to _Super_UserOps.js :

com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, this, 'http://www.adobe.com/2008/flex/model/internal::initialize')();


content of the file model_internal.as :

package com.adobe.fiber.core
{
   public namespace model_internal = "http://www.adobe.com/2008/flex/model/internal"<http://www.adobe.com/2008/flex/model/internal>;
}


Ant the class piece which initialize the fault and and result functions that is the parent class of _Super_UserOps.as :

      model_internal function initialize() : void
      {
         this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
         this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
      }

Any help kindly appreciated,
Thanks
Serkan
13.04.2019 00:34 tarihinde Alex Harui yazdı:

Hi Serkan,



Does it call the faultHandler instead?  If so, there should be an error message in the fault event.



What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.



You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.



HTH,

-Alex



On 4/12/19, 2:25 PM, "Serkan Taş" <se...@likyateknoloji.com> wrote:



    Hi Alex,



    I have service call in my project.



    <userops:UserOps id="userOpsService"

    result="userOpsService_resultHandler(event)"

    fault="userOpsService_faultHandler(event)" />



    Normally, I expect to call the result method

    userOpsService_resultHandler for successfull operations, but it does not.



    Which way I should go through to find out what is going on after calling

    the service ?



    Thanks,

    Serkan







Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Hi Alex,

I am still working on the issue which is related with third party 
library that we have discussed months ago.

I am not sure how to get rid of the error below, may be anyone on the 
list have an idea.

I am getting error below on chrome console:



Here is the _Super_UserOps.as source piece which couses the error :

model_internal::initialize();

converted to _Super_UserOps.js :

com.adobe.fiber.core.model_internal.org.apache.royale.utils.Language.closure(this.http_$$www_adobe_com$2008$flex$model$internal__initialize, 
this, 'http://www.adobe.com/2008/flex/model/internal::initialize')();


content of the file model_internal.as :

package com.adobe.fiber.core
{
    public namespace model_internal = 
"http://www.adobe.com/2008/flex/model/internal";
}


Ant the class piece which initialize the fault and and result functions 
that is the parent class of _Super_UserOps.as :

       model_internal function initialize() : void
       {
this.serviceControl.addEventListener(ResultEvent.RESULT,model_internal::propagateEvents);
this.serviceControl.addEventListener(FaultEvent.FAULT,model_internal::propagateEvents);
       }

Any help kindly appreciated,
Thanks
Serkan

13.04.2019 00:34 tarihinde Alex Harui yazdı:
> Hi Serkan,
>
> Does it call the faultHandler instead?  If so, there should be an error message in the fault event.
>
> What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.
>
> You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.
>
> HTH,
> -Alex
>
> On 4/12/19, 2:25 PM, "Serkan Taş" <se...@likyateknoloji.com> wrote:
>
>      Hi Alex,
>      
>      I have service call in my project.
>      
>      <userops:UserOps id="userOpsService"
>      result="userOpsService_resultHandler(event)"
>      fault="userOpsService_faultHandler(event)" />
>      
>      Normally, I expect to call the result method
>      userOpsService_resultHandler for successfull operations, but it does not.
>      
>      Which way I should go through to find out what is going on after calling
>      the service ?
>      
>      Thanks,
>      Serkan
>      
>


Re: Work on Emulation

Posted by Alex Harui <ah...@adobe.com>.
Hi Serkan,

Does it call the faultHandler instead?  If so, there should be an error message in the fault event.

What kind of service is UserOps?  I would set breakpoints and debug to make sure it actually sent something (and maybe use a network monitor to see what was sent and to where).  And then verify that the code that finally sends (maybe via XmlHTTPRequest) also set up listeners for events and set breakpoints on those low-level event handlers.

You can also use the network monitor against the Flex app and compare what is being sent to what Royale is sending.

HTH,
-Alex

On 4/12/19, 2:25 PM, "Serkan Taş" <se...@likyateknoloji.com> wrote:

    Hi Alex,
    
    I have service call in my project.
    
    <userops:UserOps id="userOpsService" 
    result="userOpsService_resultHandler(event)" 
    fault="userOpsService_faultHandler(event)" />
    
    Normally, I expect to call the result method 
    userOpsService_resultHandler for successfull operations, but it does not.
    
    Which way I should go through to find out what is going on after calling 
    the service ?
    
    Thanks,
    Serkan
    


Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Hi Alex,

I have service call in my project.

<userops:UserOps id="userOpsService" 
result="userOpsService_resultHandler(event)" 
fault="userOpsService_faultHandler(event)" />

Normally, I expect to call the result method 
userOpsService_resultHandler for successfull operations, but it does not.

Which way I should go through to find out what is going on after calling 
the service ?

Thanks,
Serkan

Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Hi Alex,

I really do not remember why I added "as Array" to at the end for royale 
version of my source. I removed it and the evaluation is correct as flex 
version.

Sorry for taking your time.

Thanks,
Serkan

12.04.2019 20:19 tarihinde Serkan Taş yazdı:
> Sorry Alex, you are right, i am going to check it send you the right one.
>
> Thanks
> Serkan
>
> Android için Outlook <https://aka.ms/ghei36>'u edinin
>
>
>
> Kimden: Alex Harui
> Gönderildi: 12 Nisan Cuma 19:29
> Konu: Re: Work on Emulation
> Kime: users@royale.apache.org
>
>
> In your earlier email, you showed source code like this:
>
> service.headers = {Authorization:”Basic “ + encoder.toString()} as Array;
>
> Now you are saying the source code is:
>
> service.headers = {Authorization:”Basic “ + encoder.toString()}
>
> Certainly the first one with “as Array” would result in a call to 
> Language.as and return null since the expression is a Object and not 
> an Array.
> The second one should not result in a call to Language.as.  Please 
> verify that you have updated the .JS files and the debugger is using 
> those files.  Then try single-stepping to see when various expressions 
> return null, or use the console to evaluate expressions, or break up 
> that line of code into sub-expressions to see which one is null, such as:
>
> var foo:String = “Basic”:
> var bar:String = encoder.toString();
> var baz:Object = {};
> baz.Authorization = bar;
> service.headers = baz;
>
> HTH,
> -Alex
>
> *From: *Serkan Taş <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Friday, April 12, 2019 at 1:58 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Work on Emulation
>
> It is not string or Array, but "Object"
>
> Here is the code piece in source "as" file :
>
>     //----------------------------------
>     //  headers
>     //----------------------------------
>
> private var _headers:Object = {};
>
>     [Inspectable(defaultValue="undefined", category="General")]
>     /**
>      *  Custom HTTP headers to be sent to the third party endpoint. If 
> multiple headers need to
>      *  be sent with the same name the value should be specified as an 
> Array.
>      *
>      *  @langversion 3.0
>      *  @playerversion Flash 9
>      *  @playerversion AIR 1.1
>      *  @productversion Flex 3
>      */
>     public function get headers():Object
> {
> return _headers;
> }
> public function set headers(value:Object):void
> {
> _headers = value;
> }
>
> In flex version debug view, it is evaluated as below :
>
> cid:part1.80D078F9.B108FF77@likyateknoloji.com
>
>
> Thanks,
> Serkan
> 12.04.2019 06:16 tarihinde Alex Harui yazdı:
>> It looks like a String is passed in to see if it an Array. Should 
>> service.headers be an array or string?
>>
>> -Alex
>>
>> *From: *Serkan Taş <se...@likyateknoloji.com> 
>> <ma...@likyateknoloji.com>
>> *Reply-To: *"users@royale.apache.org" 
>> <ma...@royale.apache.org> <us...@royale.apache.org> 
>> <ma...@royale.apache.org>
>> *Date: *Wednesday, April 10, 2019 at 5:41 AM
>> *To: *"users@royale.apache.org" <ma...@royale.apache.org> 
>> <us...@royale.apache.org> <ma...@royale.apache.org>
>> *Subject: *Re: Work on Emulation
>>
>> Alex, thank you for PR-406.
>>
>> Regarding our last conversation about the Basic Authentication, do 
>> you have an idea why the evaluation is null ?
>>
>> cid:part1.38E9F6E2.6D6FE83E@likyateknoloji.com
>>
>>
>> Here is the piece in ActionScript :
>>
>> service.headers = {Authorization:"Basic " + encoder.toString()} as 
>> Array;
>>
>> Thanks in advance,
>> Serkan
>
>
>
>


Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
Sorry Alex, you are right, i am going to check it send you the right one.




Thanks


Serkan 




Android için Outlook'u edinin







Kimden: Alex Harui


Gönderildi: 12 Nisan Cuma 19:29


Konu: Re: Work on Emulation


Kime: users@royale.apache.org






In your earlier email, you showed source code like this:


 


service.headers = {Authorization:”Basic “ + encoder.toString()} as Array;  


 


Now you are saying the source code is:


 


service.headers = {Authorization:”Basic “ + encoder.toString()}


 


Certainly the first one with “as Array” would result in a call to Language.as and return null since the expression is a Object and not an Array.


The second one should not result in a call to Language.as.  Please verify that you have updated the .JS files and the debugger is using those files.  Then try single-stepping to see when various expressions return null, or use the console to evaluate expressions, or break up that line of code into sub-expressions to see which one is null, such as:


 


var foo:String = “Basic”:


var bar:String = encoder.toString();


var baz:Object = {};


baz.Authorization = bar;


service.headers = baz;


 


HTH,


-Alex


 


From: Serkan Taş <se...@likyateknoloji.com>


Reply-To: "users@royale.apache.org" <us...@royale.apache.org>


Date: Friday, April 12, 2019 at 1:58 AM


To: "users@royale.apache.org" <us...@royale.apache.org>


Subject: Re: Work on Emulation


 


It is not string or Array, but "Object"




Here is the code piece in source "as" file :




        //----------------------------------


        //  headers


        //----------------------------------


        


        private var _headers:Object = {};


        


        [Inspectable(defaultValue="undefined", category="General")]


        /**


         *  Custom HTTP headers to be sent to the third party endpoint. If multiple headers need to


         *  be sent with the same name the value should be specified as an Array.


         *  


         *  @langversion 3.0


         *  @playerversion Flash 9


         *  @playerversion AIR 1.1


         *  @productversion Flex 3


         */


        public function get headers():Object


        {


            return _headers;


        }


        public function set headers(value:Object):void


        {


            _headers = value;


        }




In flex version debug view, it is evaluated as below :











Thanks,


Serkan


12.04.2019 06:16 tarihinde Alex Harui yazdı:


It looks like a String is passed in to see if it an Array.  Should service.headers be an array or string?


 


-Alex


 


From: Serkan Taş <se...@likyateknoloji.com>


Reply-To: "users@royale.apache.org" <us...@royale.apache.org>


Date: Wednesday, April 10, 2019 at 5:41 AM


To: "users@royale.apache.org" <us...@royale.apache.org>


Subject: Re: Work on Emulation


 


Alex, thank you for PR-406.




Regarding our last conversation about the Basic Authentication, do you have an idea why the evaluation is null ?











Here is the piece in ActionScript :




service.headers = {Authorization:"Basic " + encoder.toString()} as Array;   




Thanks in advance,


Serkan













Re: Work on Emulation

Posted by Alex Harui <ah...@adobe.com>.
In your earlier email, you showed source code like this:

service.headers = {Authorization:”Basic “ + encoder.toString()} as Array;

Now you are saying the source code is:

service.headers = {Authorization:”Basic “ + encoder.toString()}

Certainly the first one with “as Array” would result in a call to Language.as and return null since the expression is a Object and not an Array.
The second one should not result in a call to Language.as.  Please verify that you have updated the .JS files and the debugger is using those files.  Then try single-stepping to see when various expressions return null, or use the console to evaluate expressions, or break up that line of code into sub-expressions to see which one is null, such as:

var foo:String = “Basic”:
var bar:String = encoder.toString();
var baz:Object = {};
baz.Authorization = bar;
service.headers = baz;

HTH,
-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Friday, April 12, 2019 at 1:58 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Work on Emulation

It is not string or Array, but "Object"

Here is the code piece in source "as" file :

        //----------------------------------
        //  headers
        //----------------------------------

        private var _headers:Object = {};

        [Inspectable(defaultValue="undefined", category="General")]
        /**
         *  Custom HTTP headers to be sent to the third party endpoint. If multiple headers need to
         *  be sent with the same name the value should be specified as an Array.
         *
         *  @langversion 3.0
         *  @playerversion Flash 9
         *  @playerversion AIR 1.1
         *  @productversion Flex 3
         */
        public function get headers():Object
        {
            return _headers;
        }
        public function set headers(value:Object):void
        {
            _headers = value;
        }

In flex version debug view, it is evaluated as below :

[cid:part1.80D078F9.B108FF77@likyateknoloji.com]

Thanks,
Serkan
12.04.2019 06:16 tarihinde Alex Harui yazdı:
It looks like a String is passed in to see if it an Array.  Should service.headers be an array or string?

-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Date: Wednesday, April 10, 2019 at 5:41 AM
To: "users@royale.apache.org"<ma...@royale.apache.org> <us...@royale.apache.org>
Subject: Re: Work on Emulation

Alex, thank you for PR-406.

Regarding our last conversation about the Basic Authentication, do you have an idea why the evaluation is null ?

[cid:part1.38E9F6E2.6D6FE83E@likyateknoloji.com]

Here is the piece in ActionScript :

service.headers = {Authorization:"Basic " + encoder.toString()} as Array;

Thanks in advance,
Serkan



Re: Work on Emulation

Posted by Serkan Taş <se...@likyateknoloji.com>.
It is not string or Array, but "Object"

Here is the code piece in source "as" file :

//----------------------------------
         //  headers
         //----------------------------------

         private var _headers:Object = {};

         [Inspectable(defaultValue="undefined", category="General")]
         /**
          *  Custom HTTP headers to be sent to the third party endpoint. 
If multiple headers need to
          *  be sent with the same name the value should be specified as 
an Array.
          *
          *  @langversion 3.0
          *  @playerversion Flash 9
          *  @playerversion AIR 1.1
          *  @productversion Flex 3
          */
         public function get headers():Object
         {
             return _headers;
         }
         public function set headers(value:Object):void
         {
             _headers = value;
         }

In flex version debug view, it is evaluated as below :



Thanks,
Serkan

12.04.2019 06:16 tarihinde Alex Harui yazdı:
>
> It looks like a String is passed in to see if it an Array.  Should 
> service.headers be an array or string?
>
> -Alex
>
> *From: *Serkan Taş <se...@likyateknoloji.com>
> *Reply-To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Date: *Wednesday, April 10, 2019 at 5:41 AM
> *To: *"users@royale.apache.org" <us...@royale.apache.org>
> *Subject: *Re: Work on Emulation
>
> Alex, thank you for PR-406.
>
> Regarding our last conversation about the Basic Authentication, do you 
> have an idea why the evaluation is null ?
>
> cid:part1.38E9F6E2.6D6FE83E@likyateknoloji.com
>
> Here is the piece in ActionScript :
>
> service.headers = {Authorization:"Basic " + encoder.toString()} as Array;
>
> Thanks in advance,
> Serkan
>


Re: Work on Emulation

Posted by Alex Harui <ah...@adobe.com>.
It looks like a String is passed in to see if it an Array.  Should service.headers be an array or string?

-Alex

From: Serkan Taş <se...@likyateknoloji.com>
Reply-To: "users@royale.apache.org" <us...@royale.apache.org>
Date: Wednesday, April 10, 2019 at 5:41 AM
To: "users@royale.apache.org" <us...@royale.apache.org>
Subject: Re: Work on Emulation

Alex, thank you for PR-406.

Regarding our last conversation about the Basic Authentication, do you have an idea why the evaluation is null ?

[cid:part1.38E9F6E2.6D6FE83E@likyateknoloji.com]

Here is the piece in ActionScript :

service.headers = {Authorization:"Basic " + encoder.toString()} as Array;

Thanks in advance,
Serkan