Skip to content

Commit

Permalink
fix #1145
Browse files Browse the repository at this point in the history
  • Loading branch information
lwtnb-wrk committed Aug 30, 2023
1 parent 6a50897 commit ea4e347
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 20 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

# Versão [1.3.23]

## Correções

### Aplicação de Patch [#1145](https://github.com/totvs/tds-vscode/issues/1145)

A aplicação de patches não carrega informação de servidor e não permite aplicação.

# Versão [1.3.22]

## Correções
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tds-vscode",
"displayName": "TOTVS Developer Studio for VSCode (AdvPL, TLPP e 4GL)",
"description": "%tds.package.description%",
"version": "1.3.22",
"version": "1.3.23",
"publisher": "TOTVS",
"author": {
"name": "TOTVS",
Expand Down
19 changes: 0 additions & 19 deletions src/patch/formApplyPatch.html
Original file line number Diff line number Diff line change
Expand Up @@ -239,25 +239,6 @@
document.getElementById('serverAddressID').value = server.address + ":" + server.port;
document.getElementById('serverEnvironmentID').value = server.environment
break;
case 'patchValidationRet':
const file = message.file.toLowerCase();
//console.log("file: "+file);
var patchs = tableAPI.data();
for (var i = 0; i < patchs.length; i++) {
var patchPath = patchs[i][3].replaceAll('\\\\', '/').toLowerCase();
//console.log("patchPath: "+patchPath);
if (patchPath === file) {
var validationMessage = message.message;
//console.log("FOUND! "+message.message);
tableAPI.cell(i,1).data(validationMessage);
var errorCode = message.errorCode;
//console.log("FOUND! "+message.errorCode);
tableAPI.cell(i,4).data(errorCode);
tableAPI.draw();
}
};
checkValidations();
break;
case 'patchValidationRet':
//console.log("patchValidationRet");
const file = message.file.toLowerCase();
Expand Down

0 comments on commit ea4e347

Please sign in to comment.