Summary: | Images are not associated to album if album name contains & | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Kef <kefen> |
Component: | Plugin-WebService-Piwigo | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | minor | CC: | caulier.gilles, frederic.coiffier |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 3.0.0 | |
Sentry Crash Report: | |||
Attachments: |
Album name correctly appears in Piwogo Export dialog
Test album created in Piwigo to demonstrate the bug Administration page showing the properly uploaded but orphan image |
Created attachment 74562 [details]
Test album created in Piwigo to demonstrate the bug
Created attachment 74563 [details]
Administration page showing the properly uploaded but orphan image
*sigh* Guess it took setting up a whole test case to only THEN discover the even more obvious: using '&' in place of '&' works just as it should. That's another lesson in humility, one shouldn't try to be too clever. Apologies. |
Created attachment 74561 [details] Album name correctly appears in Piwogo Export dialog When using the Piwigo Export Plugin to export images to an album whose name contains the HTML entity &, the album name appears correctly in the export dialog (i.e. "Cats & Dogs"), the images are properly uploaded to Piwigo (see below), but are not associated to the album: * On the Piwigo site, the album appears empty after the import. * When going into the administration section and into "Photos -> Batch Manager" and using "Predefined Filter: With no album", the imported images appear in the list. From there, they can be associated to the album manually. I have only seen this behavior occur with albums containing & in their name. While there are obvious workarounds (not using HTML entities in album titles for starters), it would still be nice if the import worked seamlessly for such albums. Reproducible: Always Steps to Reproduce: 1. In Piwigo, create a new album whose title contains & (i.e. Cats & Dogs) 2. Upload any image to that Piwigo server using the plugin (the album name should appear correctly as 'Cats & Dogs' in the list of albums). 3. Check the album on Piwigo: it should be empty. 4. Confirm, via Piwigo's administration page, that the image was uploaded properly, just not associated to the album. Actual Results: Image was uploaded but not associated to any album. Expected Results: Images should be associated to the album selected in the albums list displayed in the Piwigo Export dialog.