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

Some ports (those on branches?) result in more-than-one-row error on upload to watch list. #34

Closed
CambridgeDave opened this issue Nov 22, 2016 · 3 comments

Comments

@CambridgeDave
Copy link

When uploading a watch list, if it contains certain ports, the following error is returned, and the watch list is unchanged:

ERROR: more than one row returned by a subquery used as an expression CONTEXT: SQL statement "UPDATE watch_list_staging SET element_id = ( SELECT ports.element_id FROM ports, categories, element WHERE element.name = watch_list_staging.port AND categories.name = watch_list_staging.category AND ports.element_id = element.id AND ports.category_id = categories.id) WHERE user_id = UserID" PL/pgSQL function watchliststagingprocess(integer) line 17 at SQL statement sql = select WatchListStagingProcess(13320)

I find that any of these ports in the watch list result in the problem:

  • dns/bind911
  • security/ca_root_nss
  • ftp/curl
  • multimedia/ffmpeg
  • devel/jsoncpp
  • www/mod_php56
  • lang/perl5.24
  • lang/php56 (and probably all its slave ports)
  • ports-mgmt/pkg
  • security/sudo
@dlangille
Copy link
Contributor

This is related to branches.

@dlangille
Copy link
Contributor

I think I have fixed this. Please verify.

@CambridgeDave
Copy link
Author

Yes, this looks to be fixed for me now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants