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

Versão 4.11.13: Novo processo de validação bd #788

Merged
merged 13 commits into from Sep 27, 2023
Merged

Versão 4.11.13: Novo processo de validação bd #788

merged 13 commits into from Sep 27, 2023

Conversation

matheusalsilva98
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@phborba phborba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Renomear o nome do processo para Identify Differences Between Database Models
  • trocar o texto Ip para IP
  • trocar o texto Insert the port para Port
  • trocar o texto Name of database para Database Name
  • trocar o texto Insert the user of PostgreSQL para Database User
  • trocar o texto Insert the password of PostgreSQL para Database Password
  • inserir espaços entre o conjunto de tipos de erro
  • inserir saida como formato txt
  • agrupar erros por tabela e formatar melhor o texto

@phborba
Copy link
Collaborator

phborba commented Sep 25, 2023

Erro após rodar a alteração:

image

Traceback (most recent call last):
File "C:\Users/borba.1CGEO/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DsgTools\core\DSGToolsProcessingAlgs\Algs\OtherAlgs\identifyDifferencesBetweenDatabaseModelsAlgorithm.py", line 150, in processAlgorithm
nameTableMsgDictTwo = self.validateCheckConstraint(masterDict, abstractDb)
File "C:\Users/borba.1CGEO/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DsgTools\core\DSGToolsProcessingAlgs\Algs\OtherAlgs\identifyDifferencesBetweenDatabaseModelsAlgorithm.py", line 662, in validateCheckConstraint
nameTableMsgDict = self.validateCheckConstraintSet(
File "C:\Users/borba.1CGEO/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DsgTools\core\DSGToolsProcessingAlgs\Algs\OtherAlgs\identifyDifferencesBetweenDatabaseModelsAlgorithm.py", line 781, in validateCheckConstraintSet
nameTableMsgDict[table][
KeyError: 'As chaves check que estão presentes no Materfile, mas não estão no database: '

Execution failed after 1.08 seconds
```

@phborba
Copy link
Collaborator

phborba commented Sep 25, 2023

Deu algum erro na forma de agrupar na saída, só deu uma tabela com erro no meu teste, mas no teste anterior apareceram mais (talvez foi na hora de agrupar para apresentar os resultados)

@phborba
Copy link
Collaborator

phborba commented Sep 25, 2023

image

File "C:\Users/borba.1CGEO/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DsgTools\core\DSGToolsProcessingAlgs\Algs\OtherAlgs\identifyDifferencesBetweenDatabaseModelsAlgorithm.py", line 143, in processAlgorithm
msg, nameTableMsgDict = self.validateEDGVTables(masterDict, abstractDb)
File "C:\Users/borba.1CGEO/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DsgTools\core\DSGToolsProcessingAlgs\Algs\OtherAlgs\identifyDifferencesBetweenDatabaseModelsAlgorithm.py", line 582, in validateEDGVTables
nameTableMsgDict[edgvName][
KeyError: 'Os seguintes valores estão presentes no Masterfile, mas não estão no database: '

Execution failed after 1.10 seconds

@phborba
Copy link
Collaborator

phborba commented Sep 26, 2023

Amanhã quando for terminar, troca por gentileza a versão desse branch para 4.11.14, pois subi para o dev uma melhoria que ficou com a versão 4.11.13.

@phborba phborba merged commit 61bf4f6 into dev Sep 27, 2023
1 check failed
@phborba phborba deleted the dev_comp_bd branch September 27, 2023 14:44
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 this pull request may close these issues.

None yet

2 participants