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

bias of null #1080

Closed
vreezy opened this issue Jun 16, 2021 · 3 comments
Closed

bias of null #1080

vreezy opened this issue Jun 16, 2021 · 3 comments
Labels
bug Something isn't working v3 version 3

Comments

@vreezy
Copy link

vreezy commented Jun 16, 2021

Version used
4.2.3

Describe the bug
I used the 3.19 Version But got Problems so i updated to the newest Version. But both Version have the same Problem:
Cannot read property 'Bias' of null

To Reproduce
Steps to reproduce the behavior:
I used the Szenario 1 Tutorial https://microsoft-search.github.io/pnp-modern-search/scenarios/create-simple-search-page/

  • Created a new site
  • added PnP - Search Box
  • added PnP - Search Results
  • configurate the Results

Expected behavior
Normally the Results-Zone should show something like: "Go to config screen".
I can go into Config menu and select "SharePoint Search" and "Microsoft Search" But after this nothing happend. Normaly i can select more options after this.
I look into console there are this two Errors:

Error 1

modern-search-results-web-part_3e04f2f138516f5519c6.js:1 Uncaught (in promise) TypeError: Cannot read property 'Bias' of null
    at e.<anonymous> (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)
    at modern-search-results-web-part_3e04f2f138516f5519c6.js:1
    at Object.next (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)
    at modern-search-results-web-part_3e04f2f138516f5519c6.js:1
    at new Promise (<anonymous>)
    at y (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)
    at modern-search-results-web-part_3e04f2f138516f5519c6.js:1
    at e._processPendingCallbacks (sp-pages-assembly_de-de_96be9946e73d40d3a5273cf1c4e03935.js:65)
    at e.finish (sp-pages-assembly_de-de_96be9946e73d40d3a5273cf1c4e03935.js:65)
    at t.initializeWebPartServices (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)

Error 2

modern-search-results-web-part_3e04f2f138516f5519c6.js:1 Uncaught (in promise) TypeError: Cannot read property 'unregisterPartial' of undefined
    at e.<anonymous> (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)
    at modern-search-results-web-part_3e04f2f138516f5519c6.js:1
    at Object.next (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)
    at modern-search-results-web-part_3e04f2f138516f5519c6.js:1
    at new Promise (<anonymous>)
    at y (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)
    at e.registerResultTypes (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)
    at t.<anonymous> (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)
    at modern-search-results-web-part_3e04f2f138516f5519c6.js:1
    at Object.next (modern-search-results-web-part_3e04f2f138516f5519c6.js:1)

Screenshots
View from 4.2.3
pnp-search-4-error

Error in Version 3.19 here it shows the error in the webpart zone
pnp-search-3-error-2

Desktop (please complete the following information):
Chrome

Additional context
sppkg is installed Global.

@wobba
Copy link
Collaborator

wobba commented Jun 16, 2021

Seems for some reason it cannot read your sites time settings. Can you share the site's language/region/time settings?

@wobba wobba added v4 version 4 bug Something isn't working Needs: Triage Needs investigation and repro labels Jun 16, 2021
@vreezy
Copy link
Author

vreezy commented Jun 16, 2021

The requested Settings.
MicrosoftTeams-image
MicrosoftTeams-image (1)
MicrosoftTeams-image (2)

hmm after this i tested with timezone europa UTC+1 and it worked. THX for the hint.
Don't know if this is a Sharepoint or a WebPart Bug. Pls Decide how u want to handle the bug.
If you want i can test some things.

@wobba
Copy link
Collaborator

wobba commented Jun 20, 2021

We'll add a fix for this where a timezone don't have a defined bias.

wobba added a commit that referenced this issue Jul 6, 2021
wobba added a commit that referenced this issue Jul 6, 2021
@wobba wobba added v3 version 3 and removed v4 version 4 Needs: Triage Needs investigation and repro labels Jul 6, 2021
wobba added a commit that referenced this issue Jul 14, 2021
@wobba wobba closed this as completed Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v3 version 3
Projects
None yet
Development

No branches or pull requests

2 participants