Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002681Piwigoinstallation & upgradepublic2012.07.07 15:022015.02.18 16:35
Reporterplg 
Assigned Toplg 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version2.4.1 
Target Version2.5.0RC1Fixed in Version 
Summary0002681: the message "a new version is available" still displayed after upgrade
DescriptionOn administration home page. The only solution to hide this message is to disconnect and reconnect (ie create a new session)

Maybe there is a variable to unset in the session.
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0006517)
plg (manager)
2012.07.25 12:52

Actually in function upgrade_to() of file admin/include/updates.class.php performs the appropriate :

unset($_SESSION['need_update']);

For now, I don't understand why the message still occurs once updated.
(0006530)
plg (manager)
2012.07.27 10:24

I've performed several tests while upgrading to 2.4.2 and 2.4.3 and I can't reproduce the bug.
(0006618)
plg (manager)
2012.09.14 12:59

I have been able to reproduce with a manual upgrade.
(0007772)
plg (manager)
2015.02.18 16:00

xbgmsharp has found something on http://piwigo.org/forum/viewtopic.php?id=25182 [^]
(0007773)
xbgmsharp (reporter)
2015.02.18 16:35

I narrow down the issue to the javascript call by the "intro.tpl"
The following URL is call:
"ws.php?method=pwg.extensions.checkUpdates&format=json"

This return the following json:
{"stat":"ok","result":{"piwigo_need_update":true,"ext_need_update":true}}

As "piwigo_need_update" is set to true, the message "A new version of Piwigo is available." show up.

I did not see any HTTP sent header that include the version.

I believe it is in cookie or somewhere else.

- Issue History
Date Modified Username Field Change
2012.07.07 15:02 plg New Issue
2012.07.07 15:02 plg Status new => assigned
2012.07.07 15:02 plg Assigned To => plg
2012.07.07 15:02 plg browser => any
2012.07.07 15:02 plg Web server => Apache 1.3.x
2012.07.25 12:52 plg Note Added: 0006517
2012.07.26 22:39 plg Target Version 2.4.2 => 2.4.3
2012.07.27 10:24 plg Note Added: 0006530
2012.07.27 10:24 plg Target Version 2.4.3 => 2.4.4
2012.09.14 12:59 plg Note Added: 0006618
2012.09.25 23:41 plg Target Version 2.4.4 => 2.4.5
2012.10.19 23:10 plg Target Version 2.4.5 => 2.5.0beta1
2012.11.02 14:49 plg Target Version 2.5.0beta1 => 2.5.0beta2
2012.11.06 10:18 plg Target Version 2.5.0beta2 => 2.5.0beta3
2012.11.19 23:56 plg Target Version 2.5.0beta3 => 2.5.0RC1
2015.02.18 16:00 plg Note Added: 0007772
2015.02.18 16:35 xbgmsharp Note Added: 0007773


Copyright © 2000 - 2018 MantisBT Team
Contact
Powered by Mantis Bugtracker