Skip to content

react-modern-birthdays - No upcoming birthdays #5394

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

Open
2 of 9 tasks
Cowman666 opened this issue Feb 12, 2025 · 2 comments
Open
2 of 9 tasks

react-modern-birthdays - No upcoming birthdays #5394

Cowman666 opened this issue Feb 12, 2025 · 2 comments
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@Cowman666
Copy link

Cowman666 commented Feb 12, 2025

Disclaimer

Yes

Sample

react-modern-birthdays

Contributor(s)

@smaity @joaojmendes

What happened?

EDIT
Just tested https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-birthdays and that one is working!
The issue is about https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-modern-birthdays

Image

Upcoming birthdays are not showed, while they should be.
No errors during building, deploying and in browser.
I'm a bit clueless what's going wrong.
I also tested to rename the SP list, such the list cannot be found. Than I got the error that the list cannot be found in the browser.
So the list is found.
Birthday date filled in: 2/13/2000 (date of today = 2/12/2025)
Upcoming days is set to 30 days.

Image
Testpage with React-modern-birthdays-part included:
Image

Testpage without React-modern-birthdays-part:
Image

Steps to reproduce

  1. Clone repository
  2. Build, add & deploy react-birthdays.sppkg
  3. Approve API access
    Image
  4. Create Sharepoint List in root
    Image
  5. Create index on Birthday column
    Image
    Image
  6. Fill SharePoint List
  7. Hoping for successful result, however, no Upcoming Birthdays:
    Image

Expected behavior

That there are upcoming birthdays ;-)

Target SharePoint environment

SharePoint Online

Developer environment

Windows

Browsers

  • Internet Explorer
  • Microsoft Edge
  • Google Chrome
  • FireFox
  • Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

What version of Node.js is currently installed on your workstation?

v18.20.6

What version of Node.js is required by the sample?

v18

Paste the results of SPFx doctor

CLI for Microsoft 365 SharePoint Framework doctor
Verifying configuration of your system for working with the SharePoint Framework

√ SharePoint Framework v1.20.0
√ Node v18.20.6
√ yo v5.1.0
√ gulp-cli v3.0.0
√ bundled typescript used

Image

Additional environment details

No response

@Cowman666 Cowman666 added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label Feb 12, 2025
@a1mery
Copy link
Contributor

a1mery commented Feb 24, 2025

Hello @Cowman666 ,

Try to refresh your cache (local storage) as this web part is using it to display birthdays.
Otherwise, of you wait for cache expiration (5 minutes) it should be fine as well 😊

@Cowman666
Copy link
Author

Hello @Cowman666 ,

Try to refresh your cache (local storage) as this web part is using it to display birthdays. Otherwise, of you wait for cache expiration (5 minutes) it should be fine as well 😊

Hi,

Unfortunately it doesn't work after a couple of days waiting time. Also tried to refresh and clear cache, still no upcoming birthdays, while https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-birthdays is working, with the same setup.
Therefore, I assume it is a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

2 participants