Server error on admin preview of VirtualSourceObject
See original GitHub issueShould a virtual object be treated differently by the admin UI in regards to the navigation redirect? The highlighted snippet above results in a TypeError: object is not subscriptable
on the attributes _path
and _alt
. Further, if you provide a path, the admin UI will redirect to that path. Which is funny because the error happens while the correct page is being displayed. I believe the correct behaviour is to prevent any further navigation if isinstance(record, VirtualSourceObject)
?
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (13 by maintainers)
Top Results From Across the Web
OSF: "Internal Server Error" Error or 500 Error in Admin ...
No calls found with 500 error in browser's Dev Tools > Network. Reproducible Steps 1. Log into occs-admin and open Preview or 1....
Read more >Troubleshooting Salesforce Sites Using Administrator Preview ...
To access administrator preview mode: From Setup, enter Sites in the Quick Find box, then select Sites. Click the name of the site...
Read more >500 internall server error when I am (loged in admin)
Hello there, I have been having 500 internal server error for about 3 months. nowadays it is occurring more often. I am so...
Read more >How to Fix the 500 Internal Server Error on Your WordPress Site
WordPress 500 Internal Server error can occur on your website that eventually results in downtime. Learn how to fix this error in multiple ......
Read more >How to Fix the 500 Internal Server Error in WordPress
Simply go to the WordPress admin area and click on 'Plugins'. Now you need to reactivate one plugin at a time until you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Indeed. I think you maybe missed the
not
in front ofisinstance
. 😉Great! I’ll close this issue. Feel free to re-open if there’s trouble.
Yes, that is why I ask. Should a Page not return
jsonify(exists=True,...
instead ofjsonify(exists=False,...
? I thought a Page should evaluate as it did before? Only virtual objects and assets cause problems, so these two should returnFalse
whereas a page should returnTrue
? – Or: which records remain if you test for isinstance Record? When does it evaluate to true?No need for me, I’ll update once its ready.