XF 2.3 Add-on data template.xml keep old data

FoxSecrets

Well-known member
I am facing a weird situation.

I own an add-on and now I've updated it for XF 2.3 (changed a line), however the data/template.xml insists in keep the old data, even if I delete the file or rebuild all cache files.

I've already saved a lot of times, generate several new versions and still the same.

How can I have my add-on to recognize the changes? Am I missing something?
 
To get the data/template/xml to update you would either have to:
php cmd.php xf-addon:build-release [addon_id] or
php cmd.php xf-addon:export [addon_id]

Hope this helps
 
The XML isn't generated from thin air, it's just the content that is stored in the database.

Did you triple-check if the correct version of the template is in the db?
 
The XML isn't generated from thin air, it's just the content that is stored in the database.

Did you triple-check if the correct version of the template is in the db?
I believe you are missing something.
The template.xml I mentioned is inside _data folder from the add-on, not in db.
 
Back
Top Bottom