Dnn.Sites stays empty and gives Console errors
See original GitHub issueDescription of bug
Personbar Sites item stays empty and gives Console errors in the browser.
Steps to reproduce
- Install DNN
- Open Browser Console
- Open Personabar…Sites
- See error in console
Screenshots
Error information
09:34:30.156 TypeError: M(…).locale(…).fromNow is not a function value http://…/DesktopModules/admin/Dnn.PersonaBar/modules/Dnn.Sites/scripts/exportables/Sites/SitesListView.js?cdv=34:1
Related source file is Dnn.AdminExperience\ClientSide\Sites.Web\src_exportables\src\Components\ListView\index.jsx
On line 155 it says:
value: dayjs(portal.LastModifiedOnDate).locale(this.props.culture).fromNow()
Here it says that the fromNow function is in the RelativeTime plugin of DayJS, but I can’t see why they’re not available.
Affected version
- 10.00.00 alpha build
- [x ] 09.09.00 build from latest develop-branch
- [x ] 09.09.00 release candidate 2
- 09.08.01 latest supported release
Affected browser
- Chrome
- Firefox
- Safari
- Internet Explorer 11
- Microsoft Edge (Classic)
- Microsoft Edge Chromium
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Persona bar not displaying.
When looking at the developer console while using chrome, I see "Failed to load resource: the server responded with a status of 404...
Read more >DNN 9.8 dnnModuleManager - Forums
Anytime some content manager tries to add a module the floating icon never turns up and remains invisible until Personabar > host> empty...
Read more >DNN DevExpress error after refresh Server.Transfer cannot ...
Hi, Currently I Use DNN as my master page and create module using Devexpress. ... Empty) { ctrlTransactionDetail octrlTransactionDetail ...
Read more >DNN Errors, DotNetNuke Development Mistakes
DotNetNuke is a CMS used to create dynamic professional looking websites, but sometimes DNN errors may occur that affect your site performance...
Read more >DNN Extensions fail to load DNN 7.4.2 - paypal
My first DNN site. Please go easy. I'm trying to load some extensions (Blog & a PayPal extension). While the admin console show's...
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 Free
Top 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
That makes sense then. I’ll keep an eye on the issue. Since it’s not in the release branch, it’s not that urgent yet, I guess.
@skamphuis any issue with
Roles.Web
would be a different issue becausedayjs
is not used there. It previously referencedmoment
, but it was never used. So, I simply removed the package.