Resource Browser not showing asset name

Hey there,

Not sure if this is a bug or if it’s something local, noticed that Resource Browser has recently stopped showing the file name for us but instead a long string.

e.g. org.geoserver.platform.resource.Resources$SerializableResourceWrapper@9f18e426

Have checked the permissions to the datadir and the resource browser jar itself, both seem OK as far as I can see. Restart didn’t help.

Checked permissions groups for data directory, all set to the right group (tomcat) and I think the right permissions in general but I’m not 100% sure.

[root@geodevapp25 ~]# cd /data/geoserver-data
[root@geodevapp25 geoserver-data]# ls -l
total 88
-rw-r--r--.  1 tomcat tomcat  779 Jul  9 11:33 controlflow.properties
drwxr-s---.  6 tomcat tomcat   82 Sep 29  2023 coverages
drwxr-s---.  2 tomcat tomcat 4096 Sep 29  2023 demo
drwxr-x---.  2 tomcat tomcat    6 Oct 21 16:07 filelocks
-rw-r--r--.  1 tomcat tomcat  188 Aug 19 13:15 geoserver-environment.properties
-rw-r-----.  1 tomcat tomcat 4245 Oct 21 16:04 global.xml
drwxr-s---.  5 tomcat tomcat 4096 Aug 21 18:10 gwc
-rw-r-----.  1 tomcat tomcat 1643 Jul 16 12:23 gwc-gs.xml
drwxr-s---.  2 tomcat tomcat  117 Aug 19 13:26 gwc-layers
drwxr-s---. 10 tomcat tomcat  150 May  5 13:49 inspire
drwxr-s---.  2 tomcat tomcat    6 Apr 25  2024 layergroups
drwxr-s---.  2 tomcat tomcat   37 Sep 29  2023 layouts
drwxr-s---.  2 tomcat tomcat 4096 Jul 24 15:58 legendsamples
-rw-r-----.  1 tomcat tomcat  130 Aug 19 13:20 logging.xml
drwxr-s---.  2 tomcat tomcat 4096 Jul 24 16:13 logs
drwxr-s---.  2 tomcat tomcat   92 Sep 29  2023 ne
drwxr-s---.  2 tomcat tomcat 4096 Sep 29  2023 nyc
drwxr-s---.  2 tomcat tomcat   76 Sep 29  2023 palettes
drwxr-s---.  2 tomcat tomcat 4096 Sep 29  2023 plugIns
-rw-r-----.  1 tomcat tomcat 3399 Jul 21  2023 README.rst
drwxr-s---.  8 tomcat tomcat 4096 Aug 21 14:56 security
drwxr-s---.  2 tomcat tomcat 4096 Sep 29  2023 sf
drwxr-s---.  2 tomcat tomcat   78 Sep 29  2023 shapefiles
drwxr-s---.  2 tomcat tomcat 4096 Apr 25  2024 styles
drwxr-s---.  2 tomcat tomcat 4096 Sep 29  2023 taz_shapes
drwxr-s---.  2 tomcat tomcat   29 Aug 19 10:05 user_projections
drwxr-s---.  2 tomcat tomcat   56 Sep 29  2023 validation
-rw-r-----.  1 tomcat tomcat 1356 Jul 21  2023 wcs.xml
-rw-r-----.  1 tomcat tomcat 2292 Jul 10 09:49 wfs.xml
-rw-r-----.  1 tomcat tomcat 2863 Aug 18 18:36 wms.xml
-rw-r-----.  1 tomcat tomcat  701 Jul 21  2023 wmts.xml
drwxr-s---. 10 tomcat tomcat  168 Jul  4 12:24 workspaces
drwxr-s---. 12 tomcat tomcat 4096 Nov  1  2023 www
[root@geodevapp25 geoserver-data]# cd ..
[root@geodevapp25 data]# ls -l
total 4
drwxr-xr-x.  2 root   root    157 Sep 16 09:08 content_distribution
drwxr-xr-x. 25 tomcat tomcat 4096 Oct 21 16:04 geoserver-data

Resource Browser plugin permissions

[root@geodevapp25 /]# cd /apps/tomcat9/tomcata/webapps/geoserver/WEB-INF/lib/
[root@geodevapp25 lib]# ls -l | grep gs-web-resource
-rwxr-xr-x. 1 tomcat tomcat    77981 Sep 10 17:07 gs-web-resource-2.27.1.jar

Running 2.27.1 on RHEL 8.10. What could I have missed or any ideas?

Thanks! Joey

Hey there,

We updated to 2.28.0 and the error still persists, should I report this as a bug?

Thanks!

Yes, you are the first person to mention this :slight_smile:
Let me check if it happens for me on main… confirmed.

I also note that I cannot resize the text area used to show the contents of a file.

Do you have any indication during which version number this occurred? Or when it was last working. (We have been updating the user interface library “wicket”, so it would be handy to know at what release this stoped working so we can identify the change).

Thanks Jody! I’ve filed this here: Jira

Appeared when upgrading 2.26.0 to 2.27.1 and has then persisted at 2.28.0

Have popped that into the bug report too.