[GeoNetwork-users] Error while updating publication rights

Dear list,
I am running a GN 3.12.2.0. When I try to change the publication rights for my metadata records I get a NullPointerException. This worked well in former times. As it is not under heavy use I can not tell when this error ocurred for the first time. I tried to change the rights with different useres of new and old records, the result is always the error. The error is displayed in my web frontend. If I tail my logfiles, ntohing is written there, which is kind of strange. I know that this kind of error is very unspecific, but any hint is much appreciated.
Thanks and regards
Andreas

Hi Andreas

Is it an option for you to try with the latest version 3.12.7?

I assume you are using the metadata privileges dialog, does it happen
always or with a certain change of privileges? Can you add some examples of
the privileges changes you are doing? Also do you have the metadata
workflow enabled?

Regards,
Jose García

On Tue, Oct 18, 2022 at 11:11 AM Andreas Böhme via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net> wrote:

Dear list,
I am running a GN 3.12.2.0. When I try to change the publication rights
for my metadata records I get a NullPointerException. This worked well
in former times. As it is not under heavy use I can not tell when this
error ocurred for the first time. I tried to change the rights with
different useres of new and old records, the result is always the error.
The error is displayed in my web frontend. If I tail my logfiles,
ntohing is written there, which is kind of strange. I know that this
kind of error is very unspecific, but any hint is much appreciated.
Thanks and regards
Andreas

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

Hi Andreas

The privileges dialog to share the metadata with other groups should work
with and without the workflow enabled.

I understand you have the workflow enabled in certain groups, and for that
metadata you can change the privileges, but for other records that doesn't
have the workflow enabled the privileges dialog doesn't work? If that's the
case, that seems like a bug, please if you can open a ticket in GitHub.

Regards,
Jose García

On Thu, Oct 20, 2022 at 1:35 PM Andreas Böhme <andreas.boehme@anonymised.com.> wrote:

Hi Jose,
thanks for your reply. I was just about to update and then saw that there
werre some records that were updateable, but those had the workflow
enabled. So I tried this and it worked. This leads to the fact that I
cannot change priviliges as long as the workflow is not enabled? is this a
feature or a bug? :slight_smile: Was this changed or corrected in later versions? This
would be an unwanted behaviour if we upload metadat via scripts or can you
also somehoe automatically enable the workflow via the API?
Many thanks and regards
Andreas
Am 19.10.2022 um 07:25 schrieb Jose Garcia:

Hi Andreas

Is it an option for you to try with the latest version 3.12.7?

I assume you are using the metadata privileges dialog, does it happen
always or with a certain change of privileges? Can you add some examples of
the privileges changes you are doing? Also do you have the metadata
workflow enabled?

Regards,
Jose García

On Tue, Oct 18, 2022 at 11:11 AM Andreas Böhme via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net> wrote:

Dear list,
I am running a GN 3.12.2.0. When I try to change the publication rights
for my metadata records I get a NullPointerException. This worked well
in former times. As it is not under heavy use I can not tell when this
error ocurred for the first time. I tried to change the rights with
different useres of new and old records, the result is always the error.
The error is displayed in my web frontend. If I tail my logfiles,
ntohing is written there, which is kind of strange. I know that this
kind of error is very unspecific, but any hint is much appreciated.
Thanks and regards
Andreas

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--

* Vriendelijke groeten / Kind regards, Jose García
<http://www.geocat.net/&gt; Veenderweg 13 6721 WD Bennekom The Netherlands
T: +31 (0)318 416664 <+31318416664> Please consider the environment before
printing this email. *

--
--------------------------------------------------------------------------------------------
            
Andreas Böhme
Techniker/Technician
Landschaftsökologie/Computational Landscape Ecology
        
Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Helmholtz Centre for Environmental Research GmbH - UFZ
Permoserstraße 15, 04318 Leipzig, Germany
Phone +49 341 235 1058andreas.boehme@anonymised.com, www.ufz.de

Sitz der Gesellschaft/Registered Office: Leipzig
Registergericht/Registration Office: Amtsgericht Leipzig
Handelsregister Nr./Trade Register Nr.: B 4703
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: N.N.
Wissenschaftlicher Geschäftsführer/Scientific Managing Director:
Prof. Dr. Rolf Altenburger
Administrative Geschäftsführerin/Administrative Managing Director:
Dr. Sabine König

Vermeiden Sie unnötige Ausdrucke./Think before printing.

Informationen aus der Wissenschaft (z.B. Veranstaltungshinweise, Projektangaben, Publikationen,
Bücher)

--------------------------------------------------------------------------------------------

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*