nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.22k stars 4.05k forks source link

[Bug]: user_status app issue #31156

Closed moatazrabeea closed 1 year ago

moatazrabeea commented 2 years ago

⚠️ This issue respects the following points: ⚠️

Bug description

there is no set status button in web ui when upgrade from nextcloud 21 to nextcloud 23.

the error in web console is Uncaught TypeError: q is null in main-user-status-menu.js:46

the app user status is enabled and the update goes well

but I have this unexpected error

also when click avatar it shows user statuses instead of set status in dropdown menu when click on it it redirects to dashboard.

Steps to reproduce

1.trying to disable and enable user status app again doesn't fix the proplem

Expected behavior

set status component show in the web view and in avatara dropdown menu

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 7.3

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?

Configuration report

No response

List of activated Apps

Accessibility
Activity
Auditing / Logging
Calendar
Collaborative tags
Comments
Contacts
Contacts Interaction
Dashboard
Deleted files
Draw.io
Federation
File access control
File sharing
Full text search
Log Reader
Monitoring
Nextcloud announcements
Notifications
Notifications for calendar event updates
Office Online integration
Password policy
PDF viewer
Photos
Privacy
Recommendations
Share by mail
Support
Talk
Text        
Update notification     
Usage survey        
User status     
Versions        
Video player        
Weather status      
Circles
Default encryption module   
External storage support        
First run wizard        
LDAP user and group backend 
Right click 
Theming

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

moatazrabeea commented 2 years ago

This only happen when using custom theme but when removing custom theme it shows again I don't know why my theme doesn't contain any thing related to javascript

moatazrabeea commented 2 years ago

@Georg Ehrke this error in web consoleUncaught TypeError: Cannot read properties of null (reading 'dataset')

rawtaz commented 2 years ago

Can you please edit the title of this issue so it's not empty after the [Bug]: part? :)

moatazrabeea commented 2 years ago

Ok I did it, thanks.

On Mon, Feb 14, 2022, 04:30 rawtaz @.***> wrote:

Can you please edit the title of this issue so it's not empty after the [Bug]: part? :)

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/server/issues/31156#issuecomment-1038561924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKXKOTED5XO5O76LNWRZYDU3BSKXANCNFSM5OJAHFSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

szaimen commented 2 years ago

So do I understand correctly that you tried to upgrade from NC21 directly to NC23 without updating to NC22 first?

moatazrabeea commented 2 years ago

@szaimen No I updated first to NC22 then to NC23 and suddenly there is error with user status as I described

moatazrabeea commented 2 years ago

this is the photo from NC21 21

and this is from NC23 23

and in avatar menu there is user status app image with user status text wich doesn't redirect to aplace only refresh the page

in NC21 there is icon related to user status with set status text which open modal to set status and status message

szaimen commented 1 year ago

Hi, please update to 24.0.9 or better 25.0.3 and report back if it fixes the issue. Thank you!

My goal is to add a label like e.g. 25-feedback to this ticket of an up-to-date major Nextcloud version where the bug could be reproduced. However this is not going to work without your help. So thanks for all your effort!

If you don't manage to reproduce the issue in time and the issue gets closed but you can reproduce the issue afterwards, feel free to create a new bug report with up-to-date information by following this link: https://github.com/nextcloud/server/issues/new?assignees=&labels=bug%2C0.+Needs+triage&template=BUG_REPORT.yml&title=%5BBug%5D%3A+