Creating a space with a long space key works but the space can't be deleted afterwards

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • Component/s: Space - Create
    • None
    • Severity 3 - Minor

      Issue Summary

      Creating a space with a long space key works but the space can't be deleted afterwards.

      Steps to Reproduce

      1. Create a new space with a long space key (e.g. pACifiSwDbjc5xPCgVirK5s4hDfE4PLJXPJ1r15vTEkjJUPI6dqZV6cx5AfoqNsYLpzHUSmCgCSVSu6dLd2oAviqr9ZlqweFQiybJH9OD1spmGpFCHeqvTSLyMijRtqKm7OWJbHzZ7vDaJfxMUQd2ZdBh8NlvekrZBUoyCbH0bGA0H1YicCdL3knmOCpq2v1t4foB31hDqyVvoUV49MXIHJEs2HOZhNZFzruwCGCTWXpUsJdVnk1f9WunAr49Vw
      2. Attempt to delete the spce

      Expected Results

      The space can be deleted.

      Actual Results

      The space can't be deleted and the UI shows the following error:

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Notes

      The space creation is successful when using both the UI or the REST APIs.

      When using the UI
      The response is:

      {"errorCode":500,"errorType":"UNKNOWN","errorMessage":"Transaction rolled back because it has been marked as rollback-only"}
      

      When using the /rest/api/space API
      The response is:

      {"statusCode":500,"message":"org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; nested exception is org.hibernate.exception.DataException: could not execute statement"}
      

            Assignee:
            Andrew Macheret
            Reporter:
            Caterina Curti
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: