OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Adding an internal reviewer that was deleted before

Are you responsible for making OMP work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, asmecher

Forum rules
What to do if you have a technical problem with OMP:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OMP Discussion subforum; if you have a development question, try the OMP Development subforum.

Adding an internal reviewer that was deleted before

Postby stefan » Mon Jun 03, 2013 6:28 am

Hi,

I added an internal reviewer and deleted it immediately. Then I wanted to add it again and the system hung.

Anything I can do about this?

Thanks!

Stefan
stefan
 
Posts: 81
Joined: Wed Feb 06, 2013 1:49 pm

Re: Adding an internal reviewer that was deleted before

Postby JasonNugent » Mon Jun 03, 2013 6:51 am

Hi Stefan,

Was there any error in your PHP or web server log when the problem happened?

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 895
Joined: Tue Jan 10, 2006 6:20 am

Re: Adding an internal reviewer that was deleted before

Postby stefan » Mon Jun 03, 2013 9:17 am

OK. Tried again. Did not work. Loged out, loged in again. Tried again. Did work. Hm.
stefan
 
Posts: 81
Joined: Wed Feb 06, 2013 1:49 pm

Re: Adding an internal reviewer that was deleted before

Postby stefan » Mon Jun 03, 2013 9:21 am

Just saw your reply:

[03-Jun-2013 18:15:29] omp: DB Error: Duplicate entry '17-2' for key 'user_user_groups_pkey'

Does this mean anything to you?

Best

Stefan
stefan
 
Posts: 81
Joined: Wed Feb 06, 2013 1:49 pm

Re: Adding an internal reviewer that was deleted before

Postby JasonNugent » Fri Jun 28, 2013 7:08 am

Hi Stefan,

Sorry for only seeing this now -- duplicate key errors occur when the database server tries to insert a record twice and there is a constraint that is going to be violated. The user_user_groups table maps users to user_groups, and it looks like a user was going to be added to the same group twice. I'll have a look at the code that removes a reviewer -- it may not be cleaning up the user_user_groups assignment correctly.

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 895
Joined: Tue Jan 10, 2006 6:20 am


Return to OMP Technical Support

Who is online

Users browsing this forum: No registered users and 0 guests