fiware-sth-comet icon indicating copy to clipboard operation
fiware-sth-comet copied to clipboard

[BUG] Subscribing to many elements causes naming size error.

Open ezequiel-umu opened this issue 7 years ago • 2 comments

When subscribing to a recently updated Context Broker, the service-path value will be something like this:

/srvpath1,/srvpath2,/srvpath3...

This may exceed the restriction of 120 bytes placed here, raising this warning (in my opinion it should be an error, as it causes the comet to malfunction).

ezequiel-umu avatar Mar 08 '17 18:03 ezequiel-umu

Hi @ezequiel-umu , would you be so kind to provide me with further information about the subscription you are sending to the Context Broker? Thanks! :)

gtorodelvalle avatar Mar 09 '17 11:03 gtorodelvalle

Hi @gtorodelvalle, create 100 entities using a service-path larger than 6 bytes. For instance, /servicepath. Give those entities the IDs Entity:1, Entity:2, ..., Entity:100. After that, ask for a subscription with the regex pattern Entity:.*. That should trigger the error.

ezequiel-umu avatar Mar 09 '17 11:03 ezequiel-umu