Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not view results-index - MiniProfiler.list is undefined #80

Closed
sigintarag opened this issue Jul 23, 2014 · 23 comments
Closed

Can not view results-index - MiniProfiler.list is undefined #80

sigintarag opened this issue Jul 23, 2014 · 23 comments

Comments

@sigintarag
Copy link

Feature to access the last 100 profiled requests via ~/mini-profiler-resources/results-index results in a javascript error that MiniProfiler.list is undefined.

Note that on application start Results_List_Authorize is set:

MiniProfiler.Settings.Results_List_Authorize = r => true;

@AkosLukacs
Copy link
Contributor

"+1" doesn't work in the latest version, or in v.3.0.10.
MVC5 webapp, latest nuget packages.

@imranq2
Copy link

imranq2 commented Aug 15, 2014

+1. same issue. can't use the list page. i think the issue is that the js is looking for a div with class profiler-result-full but the controller is returning an empty body.

@savehansson
Copy link

+1. Maybe http://stackoverflow.com/a/25776123/593779 gives some clues (haven't checked them out myself).

@GJStevenson
Copy link

👍 Still an issue on latest nuget package

@sergey-netdev
Copy link

Chrome console shows on this page:

Uncaught TypeError: Cannot read property 'init' of undefinedresults-index:5 (anonymous function)

and the line 5 is

<script type='text/javascript'>MiniProfiler.list.init({path: '/mini-profiler-resources/', version: 'nQJfBOIYjHhfi57AewnjVYff4P/VeR/FJNooarpTs18='})</script>

It has something to do with VS Browser Link (or not). After disabling it the error change:

 GET http://localhost/mini-profiler-resources/includes.css?v=nQJfBOIYjHhfi57AewnjVYff4P/VeR/FJNooarpTs18= 
results-index:3 GET http://localhost/mini-profiler-resources/includes.js?v=nQJfBOIYjHhfi57AewnjVYff4P/VeR/FJNooarpTs18= 
results-index:5 Uncaught ReferenceError: MiniProfiler is not defined

@dmarlow
Copy link

dmarlow commented Dec 19, 2014

+1

1 similar comment
@jurby
Copy link

jurby commented Dec 22, 2014

+1

@evilbloodydemon
Copy link

any feedback on this?

@fzhenmei
Copy link

fzhenmei commented Feb 9, 2015

+1

@magicodes
Copy link

i++

@Strandedpirate
Copy link

bueller... bueller....... .. bueller.....

@yellis
Copy link
Member

yellis commented Mar 3, 2015

To all who are waiting on this: this feature was built by someone who used to be (but is no longer) active on the project. WIth the upgrade to v3 a while back, something about the refactoring broke this. I spent some time trying to figure out why it isn't working. As you can tell by the lack of progress on this issue, I was not successful. And unfortunately, since this is not something that we really use anymore, I cannot justify spending more time on this right now. So from my perspective, unfortunately, this is an abandoned feature that will not come back...

...however, if someone wants to spend some time on this, get it working and submit the needed changes in a Pull Request, I would be ore than happy to merge that in.

@digitalpacman
Copy link

+1 ;( I'm gonna see if I can't fix it

@jakefoster
Copy link

+1

digitalpacman - you will be my hero if you can fix this...

@gawelczyk
Copy link

+1 same problem
I can see JavaScript error in FF:
TypeError: MiniProfiler.list is undefined results-index:5:0

and in the page source I have line 5:

<script type='text/javascript'>MiniProfiler.list.init({path: '/cwa/mini-profiler-resources/', version: 'uZxmJ8Mst1yfwoTlTBen3ZVQs12agJzT0AK6jmyml/s='})</script>

@nathangustafson
Copy link

+1

@ogun
Copy link
Contributor

ogun commented Apr 27, 2015

I've just committed the fix for this repository and ui repository. Hope it helps...

@StanleyGoldman
Copy link

Nice, when does the nuget package update?

@lydonchandra
Copy link

Great work @ogun !!
results-index is working again for me.
@ogun how many hours did it take you to fix this issue ?

@ogun
Copy link
Contributor

ogun commented May 4, 2015

Thank you :)

It didn't take so much time exactly because I copied it from the v2. I could say it took nearly one hour...

yellis added a commit that referenced this issue May 4, 2015
Fix issue #80: Can not view results-index
@leszekrogowski
Copy link

Great job @ogun!

However, there is still no updated NuGet package. @yellis, do you plan to release NuGet package in the nearest feature?

@akamud
Copy link

akamud commented Aug 14, 2015

I downloaded the project and built the package, I uploaded the nupkg to a MyGet feed so I can use it in my project, I'm not sure if I'm allowed to share this link (regarding license rights), so if this is ok, I can share it here until we have an official NuGet package updated

@yellis
Copy link
Member

yellis commented Aug 26, 2015

This was just included in nuget 3.2.0.157

@yellis yellis closed this as completed Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests