Giter Site home page Giter Site logo

Comments (13)

dannysummerlin avatar dannysummerlin commented on August 23, 2024 1

@benji1304 thanks for bringing this up, sorry for the enormous delay! I have done some updates since this was posted, and I use it in sandboxes a good bit at this point, is it a) still not working for you and b) have you noticed any patterns with it, like particular pages in a sandbox, or just the whole thing?

from force-navigator.

hubsonx avatar hubsonx commented on August 23, 2024 1

the line:
orgId = document.cookie.match(/sid=([\w\d]+)/)[1]

in main.js fails silently as it tries to reference the [1] from null object

from force-navigator.

benji1304 avatar benji1304 commented on August 23, 2024

Hey @dannysummerlin !
I'll have another test and let you know. It's been a little while since I checked it properly 😉

from force-navigator.

benji1304 avatar benji1304 commented on August 23, 2024

re-tested on my work laptop - absolutely fine now.

from force-navigator.

CKloppel avatar CKloppel commented on August 23, 2024

Hello @dannysummerlin
Might need to reopen this.

This appears to be specific to some orgs. Possibly a setting within Salesforce Setup.
image

In a personal developer org, and a very well lived in full copy sandbox, I'm able to use Navigator for Lightning without issue. Just got access to a new Developer Sandbox and I'm seeing the same error listed above.

It is the entire sandbox, so not page dependent.

from force-navigator.

dannysummerlin avatar dannysummerlin commented on August 23, 2024

Hi @CKloppel , thanks for that info and screenshot, what the heck?! That would indicate that it never added the sfnav_searchBox element to the page - I could make it not error out by just doing a check for the box first, but if the box doesn't get added the extension won't be much help! Have you noticed any other errors, especially ones that have to do with XHR requests? I'll try to see where something might prevent sfnav_searchBox from being added to the page

from force-navigator.

CKloppel avatar CKloppel commented on August 23, 2024

I do see the following when refreshing the page. Possibly related?

image

from force-navigator.

hubsonx avatar hubsonx commented on August 23, 2024

The reason is that the 'sid' cookie is marked as 'Http Only' and therefore it's not accessible by JS code.
Not sure though how can we obtain a session id in a better way - other chrome extensions (ie Salesforce Inspector) can do that, so there is a way.

from force-navigator.

benji1304 avatar benji1304 commented on August 23, 2024

I'm not seeing any issues in my sandboxes, tried full and dev.

from force-navigator.

benji1304 avatar benji1304 commented on August 23, 2024

Weird- i'm getting this issue again on my sandbox, but only in an incognito window!

@dannysummerlin did we ever work out the cause or fix for this?

from force-navigator.

dannysummerlin avatar dannysummerlin commented on August 23, 2024

from force-navigator.

benji1304 avatar benji1304 commented on August 23, 2024

I can't seem to reproduce it again right now! I'll keep trying and update if possible

from force-navigator.

dannysummerlinjstartorg avatar dannysummerlinjstartorg commented on August 23, 2024

Okay, I finally had a chance to do some cleanups and fixes, just pushed 2.8.1 to Chrome, will update Firefox soon. Thanks for all the details and back and forth folks!

from force-navigator.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.