-
Notifications
You must be signed in to change notification settings - Fork 5
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
Warning when identify a wastewater node #379
Comments
Looks like there is a problem with the linking relation editor plugin. What version do you use? |
Linking Relation Editor Provides a relation editor widget with an alternative link child dialog Provides a relation editor widget with an alternative link child dialog 4 rating vote(s), 14834 downloads |
In QGIS, when we delete (maybe as well rename?) a relation, the corresponding relation editor widgets are not removed from the attribute forms. This is probably what happened with a relation in the table I made a pull request for the Linking relation editor to not show a python exception but log a little more explicative warning opengisch/qgis-linking-relation-editor#51 Still this kind of issue can be hard to find. It would be good to find a solution in QGIS to warn the user about such kind of misconfiguration |
@ponceta maybe in the similar direction of qgis/QGIS#58973 we could propose to add a warning icon o something visual in the column |
Very good idea, I open a feature request in that sense, then we look to provide an estimation of such estimations to the QGIS CH Grants. |
See the request QGIS Side : qgis/QGIS#59001 |
I have no such warning on #464 |
Describe the bug
I get this warning:
WARNING Traceback (most recent call last):
File "C:\Users/KAU/AppData/Roaming/QGIS/QGIS3\profiles\tww_test/python/plugins\linking_relation_editor\gui\linking_relation_editor_widget.py", line 774, in afterSetRelations
self._checkTransactionGroup()
File "C:\Users/KAU/AppData/Roaming/QGIS/QGIS3\profiles\tww_test/python/plugins\linking_relation_editor\gui\linking_relation_editor_widget.py", line 788, in _checkTransactionGroup
connectionString = PluginHelper.connectionString(self.relation().referencedLayer().source())
AttributeError: 'NoneType' object has no attribute 'source'
To Reproduce
Exact steps to reproduce the behavior:
Same behaviour when click on the Wastewater Nodes Tab in vw_tww_wastewater_structure
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots / data
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: