Skip to content

Commit

Permalink
[Bugfix] fixed typo qsgmtime
Browse files Browse the repository at this point in the history
  • Loading branch information
mind84 authored and mdouchin committed Nov 16, 2023
1 parent e83415b commit 7cf9352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lizmap/modules/lizmap/lib/Project/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public function __construct($key, Repository $rep, App\AppContextInterface $appC
) {
$qgsProj = new QgisProject($layer['file'], $services, $this->appContext);
$newLayer = $qgsProj->getLayerDefinition($layer['id']);
$newLayer['qsgmtime'] = filemtime($layer['file']);
$newLayer['qgsmtime'] = filemtime($layer['file']);
$newLayer['file'] = $layer['file'];
$newLayer['embedded'] = 1;
$newLayer['projectPath'] = $layer['projectPath'];
Expand Down
2 changes: 1 addition & 1 deletion lizmap/modules/lizmap/lib/Project/QgisProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ protected function readLayers($xml)
$xmlFile = realpath(dirname($this->path).DIRECTORY_SEPARATOR.(string) $attributes->project);
$qgsProj = new QgisProject($xmlFile, $this->services, $this->appContext);
$layer = $qgsProj->getLayerDefinition((string) $attributes->id);
$layer['qsgmtime'] = filemtime($xmlFile);
$layer['qgsmtime'] = filemtime($xmlFile);
$layer['file'] = $xmlFile;
$layer['embedded'] = 1;
$layer['projectPath'] = (string) $attributes->project;
Expand Down

2 comments on commit 7cf9352

@3liz-bot
Copy link
Contributor

Choose a reason for hiding this comment

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

The latest weekly run of end2end "cypress" tests failed with this latest commit on the branch release_3_5 😣

CC @nboisteault and @Gustry, please have a look to the logs 💪 Maybe it's a false positive ? 🙍

Visit https://github.com/3liz/lizmap-web-client/actions/runs/6925080818

@3liz-bot
Copy link
Contributor

Choose a reason for hiding this comment

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

The latest weekly run of end2end "cypress" tests failed with this latest commit on the branch release_3_6 😣

CC @nboisteault and @Gustry, please have a look to the logs 💪 Maybe it's a false positive ? 🙍

Visit https://github.com/3liz/lizmap-web-client/actions/runs/6925080794

Please sign in to comment.