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

Bug in WEB UI for some actions #9629

Closed
pititof opened this issue Jan 15, 2025 · 6 comments
Closed

Bug in WEB UI for some actions #9629

pititof opened this issue Jan 15, 2025 · 6 comments
Labels
bug Something isn't working P3

Comments

@pititof
Copy link

pititof commented Jan 15, 2025

Problem description

Hello :) ,
Sorry for my worth english ^^

i use uyuni from 1 year now. i am on 2024.12 version. (opensuse and uyuni up to date)
all working fine ! , but i discover a bug in the web UI
When i go to user, i select a user, i click on "delete user", the screen became white with old text, and the action is KO
Same when i schedule a reboot, i clic on "confirm" suddenly, white screen with old text...

So i inspect the source page, and i see, for each page :
Before confirm action
" body class="theme-uyuni new-theme" onload="" id="senna_surface_2

so you can read NEW THEME

when i confirm the action (delete user for example), the white screen appear with an old text..and when i inspect :

body class="theme-uyuni old-theme" onload=""

you can read OLD THEME

so...the web don't load the good theme... i don't know why....
i must to reclic on "uyuni main page " to reloadd the new theme....

but my user don't be deleted... :(

i try on Edge/ Firefo/Chrome...same .
i try the 3 theme ..same..;suse dark new and old appear...

for the rest, all work fine....

thank you

Steps to reproduce

1.UYUNI User
2.select user
3.clic on delete user
4. confirm action on red button
5. white page appear with old theme...

Uyuni version

Information for package Uyuni-Server-release:
---------------------------------------------
Repository     : @System
Name           : Uyuni-Server-release
Version        : 2024.12-241000.225.1.uyuni5
Arch           : x86_64
Vendor         : obs://build.opensuse.org/systemsmanagement:Uyuni
Installed Size : 1.4 KiB
Installed      : Yes
Status         : up-to-date
Source package : Uyuni-Server-release-2024.12-241000.225.1.uyuni5.src
Upstream URL   : https://www.uyuni-project.org/
Summary        : Uyuni Server
Description    :
    Uyuni lets you efficiently manage physical, virtual,
    and cloud-based Linux systems. It provides automated and cost-effective
    configuration and software management, asset management, and system
    provisioning.

Uyuni proxy version (if used)

Useful logs

nothing , no error inside the log....

Additional information

Image
Image

@pititof pititof added bug Something isn't working P5 labels Jan 15, 2025
@parlt91 parlt91 added P3 and removed P5 labels Jan 27, 2025
@pititof
Copy link
Author

pititof commented Feb 6, 2025

Hello

someone have some news about this bug ? (3 week ago)

@Etheryte
Copy link
Member

Are you sure that the latest update was correctly applied? I can't find any used references for the old theme in the 2024.12 version code and the issue doesn't replicate on a fresh setup for me. Are there any additional steps required to recreate the issue?

@pititof
Copy link
Author

pititof commented Feb 19, 2025

Hello ,
yes the update was full success. all work fine... a, but i always have this GUI issue, and i don't know why it try to load the Old theme. when i confirm the delete user for example, i arrive to an old wihte screen (photo)
Do you have a protocol to force or reinstall the update ? or a full check ?

@Etheryte
Copy link
Member

Out of curiosity, what do you get when you look for references for the theme?

mgrctl exec 'grep -r "theme" /usr/share/susemanager/www/tomcat/'

@pititof
Copy link
Author

pititof commented Feb 19, 2025

Error: uyuni container is not accessible with one of podman, podman-remote or kubectl

of course, because i am on OpenSuse, not on micro leap.
my proxy are on micro leap .
but i keep my central server on opensuse 15.6 with uyuni 2024.12
and all service are UP and running

so i launch the command without mgrctl, because,it is not a container...

result :

B_inary file /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/classes/org/apache/jsp/WEB_002dINF/decorators/layout_005fbare_jsp.class matches
Binary file /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/classes/org/apache/jsp/WEB_002dINF/decorators/layout_005fc_jsp.class matches
Binary file /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/classes/org/apache/jsp/WEB_002dINF/decorators/layout_005fequals_jsp.class matches
Binary file /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/classes/org/apache/jsp/WEB_002dINF/decorators/layout_005ferror_jsp.class matches
Binary file /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/classes/org/apache/jsp/WEB_002dINF/decorators/layout_005fhead_jsp.class matches
Binary file /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/classes/org/apache/jsp/WEB_002dINF/pages/admin/users/userpreferences_jsp.class matches
Binary file /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/classes/org/apache/jsp/WEB_002dINF/pages/common/fragments/user/preferences_jspf.class matches
Binary file /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/classes/org/apache/jsp/WEB_002dINF/pages/user/edit/yourpreferences_jsp.class matches
/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/decorators/layout_bare.jsp: <body class="theme-${webTheme} ${isUpdatedPage ? 'new-theme' : 'old-theme'}" onload="<decorator:getProperty property="body.onload" />">
/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/decorators/layout_c.jsp: <body class="theme-${webTheme} ${isUpdatedPage ? 'new-theme' : 'old-theme'}" onload="<decorator:getProperty property="body.onload" />">
/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/decorators/layout_equals.jsp: <body class="theme-${webTheme} ${isUpdatedPage ? 'new-theme' : 'old-theme'}" onload="<decorator:getProperty property="body.onload" />">
/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/decorators/layout_error.jsp:
/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/decorators/layout_error.jsp:
/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/decorators/layout_error.jsp: <body class="theme-${webTheme} ${isUpdatedPage ? 'new-theme' : 'old-theme'}" onload="<decorator:getProperty property="body.onload" />">
/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/decorators/layout_head.jsp:
/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/decorators/layout_head.jsp:
/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/pages/common/fragments/user/preferences.jspf:

<bean:message key="preferences.jsp.title.theme"/>


/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/pages/common/fragments/user/preferences.jspf:

<bean:message key="preferences.jsp.text.theme"/>


/usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/pages/common/fragments/user/preferences.jspf: /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/pages/common/fragments/user/preferences.jspf: <c:forEach var="item" items="${themes}"> /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/pages/common/fragments/user/preferences.jspf: <c:if test="${theme == item}"> /usr/share/susemanager/www/tomcat/webapps/rhn/WEB-INF/struts-config.xml: _

@Etheryte
Copy link
Member

Starting with version 2024.10, Uyuni is only available in containers. If you're not running it in a container then it sounds like you might've missed some of the required steps for updating. As is, this doesn't look like a bug in Uyuni, please feel free to reopen the ticket if the issue persists after you've successfully completed all the required steps to update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P3
Projects
None yet
Development

No branches or pull requests

3 participants