Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2020-07-03 08:25:44

zuera
Member
Registered: 2020-06-16

Issue deleting users

Hi,

I have encountered the following error while trying to delete some users from ReportServer. The issue doesn't happen with most users, just with a couple of them, but apparently there's no way to delete them safely. I have tried removing these users from any Scheduled report, workspace... that they belonged, but the error keeps the same:

va:74)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:47)<br>    at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:72)<br>    at com.google.inject.internal.InterceptorStackCallback.intercept(InterceptorStackCallback.java:52)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl$$EnhancerByGuice$$65321ee5.deleteNode(&lt;generated&gt;)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>    at java.lang.reflect.Method.invoke(Method.java:498)<br>    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)<br>    at net.datenwerke.security.ext.server.usermanager.UserManagerTreeHandlerImpl$$EnhancerByGuice$$65321ee5.CGLIB$processCall$29(&lt;generated&gt;)<br>    at .........
.........
"REMOVED BY ME, BECAUSE MESSAGE TOO LONG POST"
........
........
org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:146)<br>    at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$100(JdbcResourceLocalTransactionCoordinatorImpl.java:38)<br>    at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:230)<br>    at org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:65)<br>    at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:61)<br>    ... 51 more<br>Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table &quot;rs_user&quot; violates foreign key constraint &quot;fk_1be2jre7ckkkf12dokmbj080v&quot; on table &quot;rs_favorite_list&quot;<br>  Detail: Key (id)=(1584070) is still referenced from table &quot;rs_favorite_list&quot;.<br>    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284)<br>    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003)<br>    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)<br>    at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)<br>    at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:161)<br>    at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:133)<br>    at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:1449)<br>    at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:204)<br>    ... 68 more<br>


Apparently the key of the error is this:

Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table &quot;rs_user&quot; violates foreign key constraint &quot;fk_1be2jre7ckkkf12dokmbj080v&quot; on table &quot;rs_favorite_list&quot;<br>  Detail: Key (id)=(1584070) is still referenced from table &quot;rs_favorite_list&quot;.

But I haven't found any feature related to "favorite_list" that may be assigned to those specific users. Am I doing something wrong, or is this a bug?

Best regards

Last edited by zuera (2020-07-03 08:26:17)

Offline

#2 2020-07-17 12:28:34

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Issue deleting users

Hi zuera,

this sounds like a bug. I raised RS-4279 for this. Can you please check if the user you cannot remove has any entries in the bookmark dadget ? https://reportserver.net/en/guides/user … Dashboard/ Bookmark Dadget    Allows to quickly jumpt to important report objects.

which version exactly are you using ? (rsversion.properties)

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB