| Anonymous | Login | Signup for a new account | 2013.05.23 12:34 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0001312 | [Piwigo] web API | feature | N/A | 2009.12.07 23:21 | 2009.12.09 23:19 | ||
| Reporter | plg | View Status | public | ||||
| Assigned To | plg | ||||||
| Priority | normal | Resolution | fixed | Platform | |||
| Status | closed | OS | |||||
| Projection | none | OS Version | |||||
| ETA | none | Fixed in Version | 2.0.7 | Product Version | |||
| Target Version | 2.0.7 | Product Build | |||||
| Summary | 0001312: [pwg.images.setInfo] ability to replace tags/categories | ||||||
| Description |
Currently (Piwigo 2.0.6) pwg.images.setInfo replaces single value properties (author, name, comment, creation date) and appends multiple values properties (tags and categories). We would like to have a "replace mode" in addition to the "append mode" for multiple values properties. |
||||||
| Steps To Reproduce | |||||||
| Additional Information | |||||||
| Tags | No tags attached. | ||||||
| browser | any | ||||||
| Database engine and version | |||||||
| PHP version | |||||||
| Web server | Apache 1.3.x | ||||||
| Attached Files | |||||||
|
|
|||||||
Notes |
|
|
(0003195) svn (reporter) 2009.12.07 23:28 |
[Subversion] r4444 by plg on branch 2.0 -----[Subversion commit log]---------------------------------------------------- feature 1312 added: pwg.images.setInfo can replace multiple values propreties (tags/categories). The primary condition is to provide "tag_ids" and/or "categories" input parameters, ie pwg.images.set won't create emptiness. You can reduce the set of tags/categories but not remove all tags/categories. bug 1277 fixed: with a stronger algorithm for adding/replacing categories, we now avoid to recreate an existing image_category association. When a remote client calls pwg.images.setInfo, Piwigo returns an error 500 if: 1. the "categories" parameter is malformed (no numeric id inside) 2. one of the input categories does not exist at database level. |
|
(0003197) svn (reporter) 2009.12.07 23:30 |
[Subversion] r4445 by plg on trunk -----[Subversion commit log]---------------------------------------------------- merge r4444 from branch 2.0 to trunk feature 1312 added: pwg.images.setInfo can replace multiple values propreties (tags/categories). The primary condition is to provide "tag_ids" and/or "categories" input parameters, ie pwg.images.set won't create emptiness. You can reduce the set of tags/categories but not remove all tags/categories. bug 1277 fixed: with a stronger algorithm for adding/replacing categories, we now avoid to recreate an existing image_category association. When a remote client calls pwg.images.setInfo, Piwigo returns an error 500 if: 1. the "categories" parameter is malformed (no numeric id inside) 2. one of the input categories does not exist at database level. |
|
(0003210) svn (reporter) 2009.12.09 23:14 |
[Subversion] r4459 by plg on branch 2.0 -----[Subversion commit log]---------------------------------------------------- feature 1316 added: we now have the ability to only fill the single value properties that are currently empty in the database instead of automatically replacing. feature 1312: as a matter of consistency, I have changed the replace_mode (that was only for multiple values properties) into multiple_value_mode + single_value_mode. |
|
(0003212) svn (reporter) 2009.12.09 23:19 |
[Subversion] r4460 by plg on trunk -----[Subversion commit log]---------------------------------------------------- merge r4459 from branch 2.0 to trunk feature 1316 added: we now have the ability to only fill the single value properties that are currently empty in the database instead of automatically replacing. feature 1312: as a matter of consistency, I have changed the replace_mode (that was only for multiple values properties) into multiple_value_mode + single_value_mode. |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group Contact |