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

exception dans les logs pour infobulle si pas les droits sur l'uf #586

Open
landryb opened this issue Aug 18, 2021 · 2 comments
Open

exception dans les logs pour infobulle si pas les droits sur l'uf #586

landryb opened this issue Aug 18, 2021 · 2 comments

Comments

@landryb
Copy link
Member

landryb commented Aug 18, 2021

User does not have enough right to see information about parcelle
org.springframework.dao.EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0
        at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:69)
        at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:799)
        at org.springframework.jdbc.core.JdbcTemplate.queryForMap(JdbcTemplate.java:832)
        at org.georchestra.cadastrapp.service.InfoBulleController.getInfoBulleUniteFonciere(InfoBulleController.java:173)
@landryb
Copy link
Member Author

landryb commented Aug 18, 2021

c'est pour le cas ou l'utilisateur fait un hover sur une parcelle pour laquelle il n'a pas les droits cnil

@landryb
Copy link
Member Author

landryb commented Nov 22, 2021

@pierrejego on peut facilement corriger ce ticket pour la v2.0 ? j'imagine que c'est mineur mais ca peut spammer les logs ;)

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

No branches or pull requests

1 participant