]
Xavier Coulon updated JBIDE-19061:
----------------------------------
Fix Version/s: 4.3.x
JAX-RS Web Services node sometimes does not show properly path
changes
----------------------------------------------------------------------
Key: JBIDE-19061
URL:
https://issues.jboss.org/browse/JBIDE-19061
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.2.2.Final
Reporter: Marián Labuda
Assignee: Xavier Coulon
Priority: Minor
Labels: jax-rs
Fix For: 4.3.x
If I am using for @PathParam injection of fields, sometimes changes are not shown
properly.
First issue is with showing error validation mark. This mark (red cross in left bottom
corner of Tree Item) is shown in case of deletion of injection field with their @PathParam
annotations. If I have a method annotated with
{code}@Path("{first}/{second}"){code} and I have fields annotated
@PathParam("first") and @PathParam("second"), after removing those
fields (holding backspace or marking whole area and delete) AND not saving opened java
file in editor, then the mentioned marker is shown. After saving class, marker is removed,
but nothing else is happened, even sometimes there should happen something (e.g.
propagating of changes of path params types in real time).
Second issue is showing correctly current content of editor in JAX-RS Web Services node.
Sometimes the change are not progapated correctly in real time and type of one or both
parameters are not correct. This is related to JBIDE-17663, but work flow in specified
JIRA is working for that issue. This is more like "clicking and trying to break
it" attempts which lead to inconsistencies. So far I have not noticed something what
could me tell specific use case to get broken URI matching patterns in JAX-RS Web Services
node.