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

Error marker being reported on incorrect line number during manifest validation #613

Closed
alshamams opened this issue Jun 10, 2023 · 0 comments · Fixed by #614
Closed

Error marker being reported on incorrect line number during manifest validation #613

alshamams opened this issue Jun 10, 2023 · 0 comments · Fixed by #614

Comments

@alshamams
Copy link
Contributor

alshamams commented Jun 10, 2023

In the MANIFEST.MF file, the error reporting in some cases is displayed on line 1 by default.

Pasted Graphic 6

Such a situation arises due to the difference in the validation process when :

  1. manifest is first loaded, and
  2. it is inline edited.

In the first case, the validation takes place in the OSGI layers without obtaining the erroneous line number, as is the case with bundle description validation, thereby displaying it on line 1.
In the second case, the line number is also taken into account and the error marker is displayed accordingly.
The former approach can lead to uncertainty with respect to the exact location of the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant