Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSP pages contain wrong method references when properties have same name #230

Open
berezovskyi opened this issue Feb 10, 2022 · 0 comments
Assignees
Labels
Status: Abandoned This doesn't seem right Type: Bug Something isn't working

Comments

@berezovskyi
Copy link
Member

berezovskyi commented Feb 10, 2022

image

image

This leads to compilation errors on the SysML adaptor:

Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: [1,428] in the jsp file: [/org/oasis/oslcop/sysml/feature.jsp]
The method getDctermsIdentifier() is undefined for the type Feature
1425:             <dt  class="col-sm-2 text-right"><a href="<%=method.getAnnotation(OslcPropertyDefinition.class).value() %>"><%=method.getAnnotation(OslcName.class).value()%></a></dt>
1426:             <dd class="col-sm-9">
1427:             <%
1428:             if (aFeature.getDctermsIdentifier() == null) {
1429:                 out.write("<em>null</em>");
1430:             }
1431:             else {

LyoD@#228 and SysML generation on top of oslc-op/sysml-oslc-server#20. Re-generated both the domain and the toolchain models.

@berezovskyi berezovskyi added Type: Bug Something isn't working Status: Blocked labels Feb 10, 2022
@berezovskyi berezovskyi added Status: Abandoned This doesn't seem right and removed Status: Blocked labels Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Abandoned This doesn't seem right Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants