Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Reload Issue when using Eclipse OrionCodeEdit-Widget

Hi Philipp,
I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=522667. Mike Rennie is looking at it now.
 
Thanks Sebastian for your comments!
 
Regards,
Libing
 
----- Original message -----
From: Sebastian Pahnke <pahnke.sebastian@xxxxxxxxx>
Sent by: orion-dev-bounces@xxxxxxxxxxx
To: Orion developer discussions <orion-dev@xxxxxxxxxxx>
Cc:
Subject: Re: [orion-dev] Reload Issue when using Eclipse Orion CodeEdit-Widget
Date: Fri, Sep 22, 2017 11:35 AM
 
Hi,
 
I am having similar issues but using the Aurelia SPA framework, so I think SPA frameworks in general are affected. I didn’t have much time to analyse it, but here is what I have found so far. Maybe it helps tracking this down. Note that I’m using the CodeEditWidget successfully in the SPA setting with a version prior to the first bad commit I found below.
 
git bisect:
 
first bad commit is
commit 2bf1ab574d900f603f6e6a0891b11e31b04a57a7
Author: Mike Rennie <Michael_Rennie@xxxxxxxxxx>
Date:   Thu Mar 2 09:55:11 2017 -0500
 
    Bug 512847 - Race condition getting computed environment
 
Further Analysis:
 
- TernServer is not restarted after a navigation took place
   - TernProjectManager.loadTernProjectOptions is not called
   - should be coming from refresh
   - which in turn should be coming from onModified or onInputChanged (if I analysed correctly)
- When setting a breakpoint in the first line of onModified it seems to trigger a race condition, which actually leads to the server being restarted. But this is not reproducible every time.
 
Regards,
Sebastian
 
Am 22.09.2017 um 17:23 schrieb Philipp Meyer <meyer.github@xxxxxxxxx>:
 
Hi,
 
We are trying to embedd the Eclipse Orion CodeEdit-Widget into an Angular2 application. When navigating away from a page and back to the same page, the Orion does not load in our setting. The issue is described in pictures at https://github.com/meyerpp/orion-codeedit-example/issues/1 and in code at https://github.com/meyerpp/orion-codeedit-example/blob/reloadIssue/src/app/orion/orion.component.ts and https://github.com/meyerpp/orion-codeedit-example/blob/reloadIssue/src/app/app.component.ts.
 
We have the hope that there is someone with Angular and Eclipse Orion skills immediatly seeing what is going wrong there. :-)
 
Cheers,
 
Philipp
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_orion-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=BgBvIq6DHf-hWNQjee5lDLAzM_phVPuxRu-VLOqCqWM&m=piNlIzYop1F_UE8YTlW0wG5fC-IBPv6m6MFErK5agTY&s=XBRnE94rnXKqtF8yCFj3cqkc6dPO4cksm806yJt7Ij0&e= 
 


Back to the top