Hello.

When I go to /admin/settings/filters/customfilter/export and then choose one or more filters and press the Export button, I am taken to the page /admin/settings/customfilter/export/xml/1 but in fact this is just the Site Configuration page at /admin/settings. This doesn't seem right!

CommentFileSizeAuthor
#1 customfilter.export.inc_.patch660 bytesgustav

Comments

gustav’s picture

Status: Active » Needs review
StatusFileSize
new660 bytes

This is due to a typo in the URL. Just insert '/filters' before the '/customfilter' so that the URL has the form admin/settings/filters/customfilter/export/xml/$arg.

The attached patch fixes the file customfilter.export.inc so that it produces the correct URL

pillarsdotnet’s picture

Status: Needs review » Reviewed & tested by the community

The patch works as advertised.

avpaderno’s picture

+1
It works for me too.

avpaderno’s picture

This will be one of the first changes I will do to the code.

avpaderno’s picture

Title: Cannot export » Export code doesn't work
Component: User interface » Code
Status: Reviewed & tested by the community » Fixed

The issue has been fixed.

Thanks for your report, and help.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.