We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is not quite obvious how to install a theme based on the documentation.
I cloned two repos, put them in separate folders outside superdesk-web-publisher. I then ran the following commands.
php bin/console swp:theme:install tenant-code /var/www/theme-magazine/
Resulted in the following output:
Theme could not be installed, files are reverted to previous version! Error message: An exception occurred while executing 'INSERT INTO swp_route (host, schemes, methods, defaults, requirements, options, condition_expr, variable_pattern, staticPrefix, template_name, articles_template_name, type, cache_time_in_seconds, name, description, slug, position, lft, rgt, level, articles_updated_at, tenant_code, paywall_secured, parent_id, route_content_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["", "a:0:{}", "a:0:{}", "a:1:{s:4:"slug";N;}", "a:1:{s:4:"slug";s:16:"[a-zA-Z0-9*\-_]+";}", "a:0:{}", "", "/{slug}", "/business", null, null, "collection", 0, "Business", null, "business", 7, 0, 0, 0, null, "2v76qc", 0, null, null]:
SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "prefix_idx" DETAIL: Key (staticprefix, tenant_code)=(/business, tenant-code) already exists.
Any feedback welcome.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It is not quite obvious how to install a theme based on the documentation.
I cloned two repos, put them in separate folders outside superdesk-web-publisher. I then ran the following commands.
php bin/console swp:theme:install tenant-code /var/www/theme-magazine/
Resulted in the following output:
Theme could not be installed, files are reverted to previous version!
Error message: An exception occurred while executing 'INSERT INTO swp_route (host, schemes, methods, defaults, requirements, options, condition_expr, variable_pattern, staticPrefix, template_name, articles_template_name, type, cache_time_in_seconds, name, description, slug, position, lft, rgt, level, articles_updated_at, tenant_code, paywall_secured, parent_id, route_content_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["", "a:0:{}", "a:0:{}", "a:1:{s:4:"slug";N;}", "a:1:{s:4:"slug";s:16:"[a-zA-Z0-9*\-_]+";}", "a:0:{}", "", "/{slug}", "/business", null, null, "collection", 0, "Business", null, "business", 7, 0, 0, 0, null, "2v76qc", 0, null, null]:
SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "prefix_idx"
DETAIL: Key (staticprefix, tenant_code)=(/business, tenant-code) already exists.
Any feedback welcome.
The text was updated successfully, but these errors were encountered: