Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13909

[Schemas] Special symbols handling during Protobuf schema creation

XMLWordPrintable

      When creating a new protobuf schema and writing special symbols in the "Name" field, no error is shown, the schema is created but then in the listed schemas part, all special symbols are removed only `!`and `@` symbols are left. On the other hand, the message that is shown saying that the schema with name ... is created still contains the all symbols which were written (see the screenshot attached).

      Would be great to have some error message in the form while clicking `Add` button or at least to have somewhere written which symbols are allowed and which are not.

      UPDATE:

      If the name contains some word with `%` sign, it gives a huge error message (see the screenshot). The error message is in the attached log.html file.

      One more testcase: if the name contains '/' symbol the `Not Found` error is shown (see the screenshot). This happens because in case of / symbol in the name (e.g. "test/test", the request to REST api goes as POST:  http://localhost:11222/rest/v2/schemas/test/test and it gives 404 Not found.

            dipgupta@redhat.com Dipanshu Gupta
            amanukya@redhat.com Anna Manukyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: