ostreifel / wiql-editor

Search work items with wiql queries.
https://marketplace.visualstudio.com/items?itemName=ottostreifel.wiql-editor
MIT License
32 stars 8 forks source link

1.6.36 version is tacking longer than expected to load. #5

Closed EnriGrossi closed 7 years ago

EnriGrossi commented 7 years ago

I've TFS 2015 update 3 and before 1.6.36 version it was ok. With this version the extension is always stuck in "loading..." mode stuck

Enri

Kujawadl commented 7 years ago

I also experienced this issue. Downgrading to 1.6.22 works as a workaround for me.

ostreifel commented 7 years ago

Are you getting any browser exceptions or script timeouts in the dev console for this?

ostreifel commented 7 years ago

Are there a lot of teams/boards on the accounts that this fails for?

Kujawadl commented 7 years ago

I do get some exceptions in the browser, I just left work so I couldn't tell you off the top of my head. I'll send them tomorrow morning.

As for the projects, our team has about 9 or 10 team projects, but only one of those uses work item tracking.

Hope this helps.

On Tue, May 16, 2017, 6:35 PM Otto Streifel notifications@github.com wrote:

Are there a lot of teams/boards on the accounts that this fails for?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ostreifel/wiql-editor/issues/5#issuecomment-301944109, or mute the thread https://github.com/notifications/unsubscribe-auth/AOPw_HEGIDVGIzxScME9ov13aljh51x0ks5r6jLVgaJpZM4NYLEk .

Kujawadl commented 7 years ago

Okay here's the stack trace:

Uncaught TypeError: this.getWitClient is not a function
    at CachedValue.getFields [as generator] (fields.js:22)
    at CachedValue.getValue (CachedValue.js:26)
    at Object.format (wiqlFormatter.js:283)
    at Object.setupEditor (wiqlEditor.js:33)
    at Object.<anonymous> (playground.js:72)
    at Object.execCb (basejs:53)
    at pt.check (basejs:53)
    at pt.<anonymous> (basejs:53)
    at basejs:53
    at basejs:53
getFields            @ fields.js:22
CachedValue.getValue @ CachedValue.js:26
format               @ wiqlFormatter.js:283
setupEditor          @ wiqlEditor.js:33
(anonymous)          @ playground.js:72
execCb               @ basejs:53
check                @ basejs:53
(anonymous)          @ basejs:53
(anonymous)          @ basejs:53
(anonymous)          @ basejs:53
f                    @ basejs:53
emit                 @ basejs:53
check                @ basejs:53
(anonymous)          @ basejs:53
(anonymous)          @ basejs:53
(anonymous)          @ basejs:53
f                    @ basejs:53
emit                 @ basejs:53
check                @ basejs:53
(anonymous)          @ basejs:53
(anonymous)          @ basejs:53
(anonymous)          @ basejs:53
f                    @ basejs:53
emit                 @ basejs:53
check                @ basejs:53
(anonymous)          @ basejs:53
(anonymous)          @ basejs:53
(anonymous)          @ basejs:53
f                    @ basejs:53
emit                 @ basejs:53
check                @ basejs:53
enable               @ basejs:53
init                 @ basejs:53
ei                   @ basejs:53
completeLoad         @ basejs:53
onScriptLoad         @ basejs:53

I also get a lot of warnings, though I don't think they're related. I'm including them as well just in case:

Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq @ editor.main.js:37
Failed to construct 'Worker': Script at 'http://tfs.elliottelectric.com/tfs/_apis/public/gallery/publisher/ottostrei…modules/monaco-editor/min/vs/base/worker/workerMain.js#editorWorkerService' cannot be accessed from origin 'null'. @ editor.main.js:37
AI: CannotSerializeObjectNonSerializable message:"Attempting to serialize an object which does not implement ISerializable" props:"{name:baseData}" @ ai.0.js:1
EnriGrossi commented 7 years ago

I've the same exception:

Uncaught TypeError: this.getWitClient is not a function
    at CachedValue.getFields [as generator] (fields.js:22)
    at CachedValue.getValue (CachedValue.js:26)
    at Object.format (wiqlFormatter.js:283)
    at Object.setupEditor (wiqlEditor.js:33)
    at Object.<anonymous> (queryEditor.js:22)
    at Object.execCb (basejs:53)
    at pt.check (basejs:53)
    at pt.<anonymous> (basejs:53)
    at basejs:53
    at basejs:53

Enri

ostreifel commented 7 years ago

Published, please verify that issue is fixed.

Kujawadl commented 7 years ago

Now I get a new error:

Uncaught TypeError: Cannot read property 'ExtensionFields' of undefined
    at CachedValue.getFields [as generator] (fields.js:22)
    at CachedValue.getValue (CachedValue.js:26)
    at Object.format (wiqlFormatter.js:283)
    at Object.setupEditor (wiqlEditor.js:33)
    at Object.<anonymous> (playground.js:81)
    at Object.execCb (basejs:53)
    at pt.check (basejs:53)
    at pt.<anonymous> (basejs:53)
    at basejs:53
    at basejs:53
ostreifel commented 7 years ago

Updated

Kujawadl commented 7 years ago

Fixed for me!

EnriGrossi commented 7 years ago

Well done!

Enri