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

TypeError: a._getHostElement is not a function #3917

Open
Joel-Baptista opened this issue Jan 20, 2025 · 6 comments
Open

TypeError: a._getHostElement is not a function #3917

Joel-Baptista opened this issue Jan 20, 2025 · 6 comments

Comments

@Joel-Baptista
Copy link

Steps to Reproduce

Error Log (Desktop only)

Console Output

Meta Info

META: SP11.1.2 __ Electron – en-US – Linux x86_64 – Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) superProductivity/11.1.2 Chrome/130.0.6723.137 Electron/33.2.1 Safari/537.36

Stacktrace

TypeError: a._getHostElement is not a function
    at file:///opt/Super%20Productivity/resources/app.asar/dist/browser/main-SJHKELZT.js:390:8143
    at Array.findIndex (<anonymous>)
    at n.checkFocusProject (file:///opt/Super%20Productivity/resources/app.asar/dist/browser/main-SJHKELZT.js:390:8114)
    at file:///opt/Super%20Productivity/resources/app.asar/dist/browser/main-SJHKELZT.js:390:1047
    at NX (file:///opt/Super%20Productivity/resources/app.asar/dist/browser/main-SJHKELZT.js:79:111756)
    at r (file:///opt/Super%20Productivity/resources/app.asar/dist/browser/main-SJHKELZT.js:79:111942)
    at HTMLElement.<anonymous> (file:///opt/Super%20Productivity/resources/app.asar/dist/browser/main-SJHKELZT.js:130:26916)
    at s.invokeTask (file:///opt/Super%20Productivity/resources/app.asar/dist/browser/polyfills-VRABRW6Y.js:1:43147)
    at Object.onInvokeTask (file:///opt/Super%20Productivity/resources/app.asar/dist/browser/main-SJHKELZT.js:79:25409)
    at s.invokeTask (file:///opt/Super%20Productivity/resources/app.asar/dist/browser/polyfills-VRABRW6Y.js:1:43068)

Actions Before Error

1737394889959: [Task] SetSelectedTask 
1737394889979: [Bookmark] Load Bookmark State 
1737394889979: [Project] Load Project related Data Success 
1737394889980: [Improvement] Clear Hidden Improvements 
1737394889980: [Improvement] Delete multiple Improvements 
1737394890342: [WorkContext] Set Active Work Context 
1737394890361: [Task] SetSelectedTask 
1737394890367: [Bookmark] Load Bookmark State 
1737394890367: [Project] Load Project related Data Success 
1737394890368: [Improvement] Clear Hidden Improvements 
1737394890368: [Improvement] Delete multiple Improvements 
1737394900378: [WorkContext] Set Active Work Context 
1737394900410: [Task] SetSelectedTask 
1737394900444: [Bookmark] Load Bookmark State 
1737394900444: [Project] Load Project related Data Success 
1737394900445: [Improvement] Clear Hidden Improvements 
1737394900451: [Improvement] Delete multiple Improvements 
1737394901984: [Task] SetSelectedTask 
1737394901985: [Layout] Hide Notes 
1737394907261: [Task] Update Task 
1737394907263: [Persistence] Save to DB 
1737394907276: [Task] Update Task 
1737394907277: [Persistence] Save to DB 
1737394909126: [Task] SetSelectedTask 
1737394923657: [WorkContext] Set Active Work Context 
1737394923694: [Task] SetSelectedTask 
1737394923757: [Bookmark] Load Bookmark State 
1737394923757: [Project] Load Project related Data Success 
1737394923757: [Improvement] Clear Hidden Improvements 
1737394923757: [Improvement] Delete multiple Improvements
Copy link

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

Copy link

Hello there Joel-Baptista! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

For more open ended discussions and/or specific questions, please visit the discussions page. 💖

@Joel-Baptista
Copy link
Author

I do not know how did I got this error, so I did not provide the step by step bug reproduction. A simple app reload fixed it, but I thought it would be helpful for the contributors for me to report it

@johannesjo
Copy link
Owner

Thank you very much for reporting this! I am unable to reproduce this, but maybe an update of angular and angular material will fix this, as the error seems to refer to some framework functions.

@Joel-Baptista
Copy link
Author

Hello again! Utilizing the app I was able to reproduce the bug. Basically, it happens when you select a project and then click the left arrow key.

This is not a major issue, because a quick reloads fixes it, and no data seems to be lost, but I thought I should mention it.

Thank you very much for you response, and I hope this helps!

@johannesjo
Copy link
Owner

Thank you very much! I was able to fix this now! The fix will be available with the next release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants