Dnn.Platform icon indicating copy to clipboard operation
Dnn.Platform copied to clipboard

[Bug]: creating template generates error

Open b-creative opened this issue 1 year ago • 9 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues

What happened?

An error occurs when wanting to create a template from a certain page.

Steps to reproduce?

  1. Click on a page in the Pages overview
  2. On top, click on Save as Template
  3. fill in the values in Template Name and Description fields
  4. Click on Save

Current Behavior

A (misspelled) error occurs: 'Error accessing to the templates folder'

Expected Behavior

The expected behaviour is that a template, based on the selected page, is saved in the Templates folder.

Relevant log output

No log error

Anything else?

This happens on v9.13.1 (the latest release)

Affected Versions

9.13.1 (alpha)

What browsers are you seeing the problem on?

Firefox, Chrome

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

b-creative avatar Dec 07 '23 17:12 b-creative

I just confirmed this on my upgraded DNN v9.13.01 (not the RC) site. No console errors logged. No errors in the PB/Manage/Admin Logs either. Also, went to the files, checked /Portals/_default/Logs/2023.12.07.log.resources and nothing there either.

image

jeremy-farrance avatar Dec 07 '23 18:12 jeremy-farrance

Same for us.

in8dna avatar Jan 17 '24 21:01 in8dna

Possibly related to Issue #5894 ?

jeremy-farrance avatar Jan 17 '24 23:01 jeremy-farrance

I've just run into this too. Also on DNN 9.13.1 🤔

WillStrohl avatar Feb 12 '24 20:02 WillStrohl

What workarounds are people using in the meantime? Maybe an earlier version of the site with the same content? 🤔

WillStrohl avatar Feb 12 '24 21:02 WillStrohl

This is fixed by https://github.com/dnnsoftware/Dnn.Platform/pull/5930 but it open some can of worms for XML serialization of obsolete properties. I am working on an analyzer so that we have an alternate way to send build-time warnigns/errors without using that attribute for special cases like this one (XML serializaer skips obsolete properties)

valadas avatar Feb 13 '24 01:02 valadas

I went old-school... copy-paste

in8dna avatar Feb 14 '24 21:02 in8dna