-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
https://sentry.io/organizations/starkast/issues/3737760062/
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "pages_shorthand_title_key"
DETAIL: Key (slug)=(test) already exists.
from sequel/adapters/postgres.rb:171:in `exec'
from sequel/adapters/postgres.rb:171:in `block in execute_query'
from sequel/database/logging.rb:38:in `log_connection_yield'
from sequel/adapters/postgres.rb:171:in `execute_query'
from sequel/adapters/postgres.rb:159:in `block in execute'
from sequel/adapters/postgres.rb:136:in `check_disconnect_errors'
from sequel/adapters/postgres.rb:159:in `execute'
from sequel/adapters/postgres.rb:528:in `_execute'
from sequel/adapters/postgres.rb:344:in `block (2 levels) in execute'
from sequel/adapters/postgres.rb:551:in `check_database_errors'
from sequel/adapters/postgres.rb:344:in `block in execute'
from sequel/connection_pool/threaded.rb:88:in `hold'
from sequel/database/connecting.rb:269:in `synchronize'
from sequel/adapters/postgres.rb:344:in `execute'
from sequel/dataset/actions.rb:1142:in `execute'
from sequel/adapters/postgres.rb:647:in `fetch_rows'
from sequel/dataset/actions.rb:995:in `with_sql_each'
from sequel/dataset/actions.rb:1003:in `with_sql_first'
from sequel/adapters/shared/postgres.rb:1743:in `insert_select'
from sequel/model/base.rb:1745:in `_insert_select_raw'
from sequel/model/base.rb:1718:in `_insert'
from sequel/model/base.rb:1790:in `block (2 levels) in _save'
from sequel/model/base.rb:1046:in `around_create'
from sequel/model/base.rb:1787:in `block in _save'
from sequel/model/base.rb:1046:in `around_save'
from sequel/model/base.rb:1782:in `_save'
from sequel/model/base.rb:1496:in `block (2 levels) in save'
from sequel/model/base.rb:1948:in `block in checked_transaction'
from sequel/database/transactions.rb:258:in `_transaction'
from sequel/database/transactions.rb:233:in `block in transaction'
from sequel/connection_pool/threaded.rb:92:in `hold'
from sequel/database/connecting.rb:269:in `synchronize'
from sequel/database/transactions.rb:195:in `transaction'
from sequel/model/base.rb:1948:in `checked_transaction'
from sequel/model/base.rb:1496:in `block in save'
from sequel/model/base.rb:1936:in `checked_save_failure'
from sequel/model/base.rb:1496:in `save'
from lib/controllers/page_controller.rb:71:in `block in <class:PageController>'
from sinatra/base.rb:1684:in `call'
from sinatra/base.rb:1684:in `block in compile!'
from sinatra/base.rb:1002:in `block (3 levels) in route!'
from sinatra/base.rb:1020:in `route_eval'
from sinatra/base.rb:1002:in `block (2 levels) in route!'
from sinatra/base.rb:1051:in `block in process_route'
from sinatra/base.rb:1049:in `catch'
from sinatra/base.rb:1049:in `process_route'
from sinatra/base.rb:1000:in `block in route!'
from sinatra/base.rb:997:in `each'
from sinatra/base.rb:997:in `route!'
from sinatra/base.rb:1121:in `block in dispatch!'
from sinatra/base.rb:1092:in `catch'
from sinatra/base.rb:1092:in `invoke'
from sinatra/base.rb:1116:in `dispatch!'
from sinatra/base.rb:932:in `block in call!'
from sinatra/base.rb:1092:in `catch'
from sinatra/base.rb:1092:in `invoke'
from sinatra/base.rb:932:in `call!'
from sinatra/base.rb:921:in `call'
from rack/flash.rb:124:in `call'
from rack/protection/xss_header.rb:20:in `call'
from rack/protection/path_traversal.rb:18:in `call'
from rack/protection/json_csrf.rb:28:in `call'
from rack/protection/base.rb:53:in `call'
from rack/protection/base.rb:53:in `call'
from rack/protection/frame_options.rb:33:in `call'
from rack/logger.rb:17:in `call'
from rack/common_logger.rb:38:in `call'
from sinatra/base.rb:261:in `call'
from sinatra/base.rb:254:in `call'
from rack/head.rb:12:in `call'
from sinatra/base.rb:219:in `call'
from sinatra/base.rb:1995:in `call'
from sinatra/base.rb:1554:in `block in call'
from sinatra/base.rb:1770:in `synchronize'
from sinatra/base.rb:1554:in `call'
from rack/urlmap.rb:74:in `block in call'
from rack/urlmap.rb:58:in `each'
from rack/urlmap.rb:58:in `call'
from rack/static.rb:161:in `call'
from rack/session/abstract/id.rb:266:in `context'
from rack/session/abstract/id.rb:260:in `call'
from rack/ssl-enforcer.rb:52:in `call'
from raven/integrations/rack.rb:51:in `call'
from puma/configuration.rb:268:in `call'
from puma/request.rb:89:in `block in handle_request'
from puma/thread_pool.rb:343:in `with_force_shutdown'
from puma/request.rb:88:in `handle_request'
from puma/server.rb:430:in `process_client'
from puma/server.rb:233:in `block in run'
from puma/thread_pool.rb:150:in `block in spawn_thread'