extensions
extensions copied to clipboard
[Notion] Add page to database fails to load
Extension
https://www.raycast.com/notion/notion
Raycast Version
v 1.84.3
macOS Version
Sequoia 15.0.1
Description
Error:
TypeError: Cannot read properties of undefined (reading 'options')
rm:PagePropertyField.tsx:24:2
---
21: users: User[]
### Steps To Reproduce
1. Open the extension
2. Open the "Create new page in database"
### Current Behaviour
TypeError: Cannot read properties of undefined (reading 'options')
rm:PagePropertyField.tsx:24:2
---
21: users: User[];
22: }): JSX.Element;
23: export function PagePropertyField({
24: type,
25: databaseProperty,
26: itemProps,
27: relationPages,
---
at ray-form
te:index.js:20:19513
sm:create-database-page.js:74:14392
### Expected Behaviour
I should see an input form for adding pages to any of my databases
Thank you for opening this issue!
🔔 @HenriChabrand @mathieudutour @metakirby5 @thomaslombart @erics118 @bkeys818 @AlexIsMaking @Yakitrak @tleo19 @dariuszpaluch @zsidnam you might want to have a look.
💡 Author and Contributors commands
The author and contributors of notion/notion can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
Okay, this is due to our latest update. To confirm, can you reproduce this error every time you open the "Create new page in database" command?
Yes, the same happens when I run that command.
On Tue, Oct 22, 2024 at 6:11 AM Ben Keys @.***> wrote:
Okay, this is due to our latest update. To confirm, can you reproduce this error every time you open the "Create new page in database" command?
— Reply to this email directly, view it on GitHub https://github.com/raycast/extensions/issues/15025#issuecomment-2428991515, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCTSJK53JKYMPNEJCQPN3DTZ4YXF5AVCNFSM6AAAAABQLPCZFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRYHE4TCNJRGU . You are receiving this because you authored the thread.Message ID: @.***>
Could you directly email me the following folder? You can find my email on my GitHub profile page.
/Users/${user_name}/Library/Application Support/com.raycast.macos/extensions/5f2e08d5-fdf1-4171-b252-aa53065621b4
Just sent!
Ok, we're getting warmer.
Can you do the following?
- Clone this branch.
cdinto the notion extension directory.- Install dependencies with
npm i - Run
ray dev - Open the "Add page to database" command
- Copy the error that appears and paste it here.
It looks like you have experience as a developer, but if you need help with anything just let me know.
Hi!
Is there any alternative we can consider that does not imply me running a development branch locally? I wouldn't want any undesired effects in my personal computer.
On Fri, Oct 25, 2024 at 8:31 AM Ben Keys @.***> wrote:
Ok, we're getting warmer.
Can you do the following?
- Clone this branch https://github.com/bkeys818/raycast-extensions/tree/notion-refactor1-debug .
- cd into the notion extension directory.
- Install dependencies with npm i
- Run ray dev
- Open the "Add page to database" command
- Copy the error that appears and paste it here.
It looks like you have experience as a developer, but if you need help with anything just let me know.
— Reply to this email directly, view it on GitHub https://github.com/raycast/extensions/issues/15025#issuecomment-2437789963, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCTSJK2HED4UYC7WMBLVXFLZ5JB23AVCNFSM6AAAAABQLPCZFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZXG44DSOJWGM . You are receiving this because you authored the thread.Message ID: @.***>
Unless someone else has been able to repeat the issue, I'm unsure what else we could do.
If it makes any difference, the branch I linked is only one commit ahead of main. All that commit does is add some additional error throws.
Got it, thanks for the support Ben.
Funny thing, I just cleared the content cache and the problem is solved!
On Sat, Oct 26, 2024 at 9:33 AM Ben Keys @.***> wrote:
Unless someone else has been able to repeat the issue, I'm unsure what else we could do.
If it makes any difference, the branch I linked is only one commit ahead of main. All that commit does is add some additional error throws.
— Reply to this email directly, view it on GitHub https://github.com/raycast/extensions/issues/15025#issuecomment-2439603804, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCTSJKZFJCW6EMTVVVZCKOLZ5OR4BAVCNFSM6AAAAABQLPCZFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGYYDGOBQGQ . You are receiving this because you authored the thread.Message ID: @.***>
Odd, glad you found a fix! Hopefully that will be able to help out someone else too.
@raycastbot close this issue