question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DB error when Che 7 plugins list in a workspace is too long

See original GitHub issue

Description

When creating WS with attribute plugins with value che-machine-exec-plugin:0.0.1,https://raw.githubusercontent.com/garagatyi/brokertest/master/plugins/theia-plugin-test:0.0.1,https://raw.githubusercontent.com/garagatyi/brokertest/master/plugins/theia-remote-plugin:0.0.1,https://raw.githubusercontent.com/garagatyi/brokertest/master/plugins/vscode-test:0.0.1 DB doesn’t allow it cause field is not long enough. Error on UD:

Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.0.v20170811-d680af5): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(255) Error Code: 0 Call: INSERT INTO che_workspace_cfg_attributes (workspace_id, attributes, attributes_key) VALUES (?, ?, ?) bind => [3 parameters bound] Query: DataModifyQuery(sql="INSERT INTO che_workspace_cfg_attributes (workspace_id, attributes, attributes_key) VALUES (?, ?, ?)")

Reproduction Steps

OS and version:

Diagnostics:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mshaposhnikcommented, Dec 7, 2018

That is for workspace_attributes. Need to do same for che_workspace_cfg_attributes

0reactions
mshaposhnikcommented, Dec 7, 2018

Merged

Read more comments on GitHub >

github_iconTop Results From Across the Web

`Annotation key is too long` error when starting workspace ...
Message: Deployment.apps \"workspacet0so790bumywjht3.workspace\" is invalid: spec.template.annotations: Invalid value: \"org.eclipse.che.
Read more >
How to Fix the "There Has Been a Critical Error on Your ...
Step 2: Open the wp-content folder to find your plugins. Step 3: Rename the plugins folder to plugins_old and verify that your site...
Read more >
Database error WooCommerce list - WordPress.org
Hi there,. Have just installed your plugin, seems to do exactly what I need. However, I seem to bounce into an error when...
Read more >
Failed to execute goal org.apache.maven.plugins:maven ...
This error occurs if some unit test cases are failing. In my application, certain unit tests were not compatible with Java 8 so...
Read more >
How to Fix Fatal Error: Maximum Execution Time Exceeded in ...
Typically this problem occurs when a PHP code in WordPress takes a long time to run and reaches the maximum time limit set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found