MantisBT - Piwigo
View Issue Details
0002343Piwigoweb APIpublic2011.06.14 13:522011.06.14 14:07
plg 
plg 
normalminoralways
closedfixed 
2.2.2 
2.2.42.2.4 
any
Apache 1.3.x
0002343: [pwg.images.setInfo] privacy level should not be mandatory
With Piwigo 2.2.2, if you call pwg.images.setInfo without setting the level, then the privacy level is updated to "0" which means "visible to all". This is really a bad thing, the privacy level should be optional and if the client doesn't set the level, then it should not be modified.
No tags attached.
Issue History
2011.06.14 13:52plgNew Issue
2011.06.14 13:52plgStatusnew => assigned
2011.06.14 13:52plgAssigned To => plg
2011.06.14 13:52plgbrowser => any
2011.06.14 13:52plgWeb server => Apache 1.3.x
2011.06.14 14:06svnCheckin
2011.06.14 14:06svnNote Added: 0005232
2011.06.14 14:07svnCheckin
2011.06.14 14:07svnNote Added: 0005233
2011.06.14 14:07plgStatusassigned => closed
2011.06.14 14:07plgResolutionopen => fixed
2011.06.14 14:07plgFixed in Version => 2.2.4

Notes
(0005232)
svn   
2011.06.14 14:06   
[Subversion] r11365 by plg on branch 2.2

-----[Subversion commit log]----------------------------------------------------
bug 2343 fixed: pwg.images.setInfo, the "level" should not be mandatory. If
the caller doesn't send this property, the level is unchanged.
(0005233)
svn   
2011.06.14 14:07   
[Subversion] r11366 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r11365 from branch 2.2 to trunk

bug 2343 fixed: pwg.images.setInfo, the "level" should not be mandatory. If
the caller doesn't send this property, the level is unchanged.