Sp-dev-fx-webparts: react-events-dynamicdata - map web part gets an error: Cannot read property 'address' of undefined

Created on 1 Jul 2020  路  7Comments  路  Source: pnp/sp-dev-fx-webparts

Sample (which sample are you having trouble with)

react-events-dynamicdata

Authors

@waldekm

Expected or Desired Behavior

Show the map of the selected event.

Observed Behavior

Receive an error "Cannot read property 'address' of undefined"

image

Steps to Reproduce

Steps to reproduce the behavior:
Build and deployed the solution as described in the documentation => https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-events-dynamicdata#minimal-path-to-awesome

Environment Details (Development & Target environment)

  • OS: MacOS 10.15.5
  • Target Environment: SharePoint Online
  • Framework: Node.js v8.17.0
  • Browser(s): Chrome Version 83.0.4103.116
  • Tooling: VS Code
help wanted

All 7 comments

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@hugoabernier , i can check this one.

@ValerasNarbutas thanks for volunteering. I've assigned you to it.

@MarkusLanger , @hugoabernier
Looks like its a bug,
might be related to the version of spfx and current modern version of SP. SPFX used 1.7 and i see solution should work correctly as long dynamic properties will be returned with correct type.
i will investigate further.

@ValerasNarbutas do you want me to try upgrading the sample?

I know a quick way 馃か

@ValerasNarbutas do you want me to try upgrading the sample?

I know a quick way 馃か

yes :) of course!!!! Would be great, my way usually is quite long :)

@hugoabernier , thanks man. did you intended to close this issue? this could also be related to #5947 https://github.com/SharePoint/sp-dev-docs/issues/5947

Was this page helpful?
0 / 5 - 0 ratings