Giter Site home page Giter Site logo

Comments (9)

FranckyC avatar FranckyC commented on August 19, 2024 1

Hi @mag210, I will perform some tests to see what's going on. Thanks.

from pnp-modern-search.

FranckyC avatar FranckyC commented on August 19, 2024 1

Should be in the latest release.

from pnp-modern-search.

mag210 avatar mag210 commented on August 19, 2024 1

Good stuff, I'll update to the Jan release and let you know if we can still see the same error

from pnp-modern-search.

mag210 avatar mag210 commented on August 19, 2024 1

@FranckyC , I've deployed to my environment today and can confirm that the data disposal issue and associated error has been resolved. One point to note is that if you copy a page which has the search webpart and filter setup and setup navigation between the two pages, you will see filters being referenced incorrectly. To work round, you just create a new page with a new instance of the search webpart and you do not get the issue.

from pnp-modern-search.

mag210 avatar mag210 commented on August 19, 2024

@FranckyC I'm not sure if the 3.9.0 fix resolves this behavior? I couldn't see a direct ref in the change log.

from pnp-modern-search.

mag210 avatar mag210 commented on August 19, 2024

Full error from my console attached
console-error.txt
: The key bit I think is:
Uncaught (in promise) Error: ***The "DynamicData" object cannot be used because it has been disposed.

I think that when you navigate between pages in SharePoint, it's caching heavily and this seems to be causing issues with the webpart connection when you have multiple instances of it. Note the issue is not reproduced when you open the page in a new tab or do a full refresh...

from pnp-modern-search.

FranckyC avatar FranckyC commented on August 19, 2024

This PR should have resolved this #34. Weird.

from pnp-modern-search.

mag210 avatar mag210 commented on August 19, 2024

Is that PR in the Jan release? I'm currently running the December one

from pnp-modern-search.

FranckyC avatar FranckyC commented on August 19, 2024

@mag210 Does the latest release resolve the issue?

from pnp-modern-search.

Related Issues (20)

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.