I made a custom Angular-based property editor, and I'm ready to release it to our.umbraco.org, but when I package it up and install it on an empty Umbraco installation to test it, it doesn't install properly. No errors are shown during packaging or installation, and the property editor shows up in the Data Types list, but when I click on it I get the following message:
Server error: Contact administrator, see log for full details. Failed to retreive data for data type id 1078
The ID mentioned seems to vary. I looked in UmbracoTraceLog.txt, but I didn't see any errors logged at all. None of the property editor files show up in the App_Plugins folder, even though I had the correct data type checked for inclusion when creating the package. The macro I also checked for inclusion in the package did install properly, though.
Am I doing something wrong? I shouldn't need to include any package actions or additional package files for a simple property editor with all of its files contained in the property editor folder, right?
The property editor works fine when I manually install it, but trying to install via the package (created in 7.0.1) fails in both 7.0 and 7.0.1.
I managed to figure it out myself, so I'll share what I learned:
Selecting a 'data type' under the package contents tab of the package creation interface in the Umbraco developer section does not cause the property editor's files to be included in the package. Those checkboxes only mark the data type entry in the Developer 'Data Types' list for inclusion; the property editor files need to be selected separately in the Package Files tab. After doing this and reinstalling, I got the property editor package to install (albeit with a new, unrelated issue).
Self-created package won't install correctly
I made a custom Angular-based property editor, and I'm ready to release it to our.umbraco.org, but when I package it up and install it on an empty Umbraco installation to test it, it doesn't install properly. No errors are shown during packaging or installation, and the property editor shows up in the Data Types list, but when I click on it I get the following message:
The ID mentioned seems to vary. I looked in UmbracoTraceLog.txt, but I didn't see any errors logged at all. None of the property editor files show up in the App_Plugins folder, even though I had the correct data type checked for inclusion when creating the package. The macro I also checked for inclusion in the package did install properly, though.
Am I doing something wrong? I shouldn't need to include any package actions or additional package files for a simple property editor with all of its files contained in the property editor folder, right?
The property editor works fine when I manually install it, but trying to install via the package (created in 7.0.1) fails in both 7.0 and 7.0.1.
Download link to package file & unpackaged property editor files
Any suggestions would be appreciated.
Thanks,
David
I managed to figure it out myself, so I'll share what I learned:
Selecting a 'data type' under the package contents tab of the package creation interface in the Umbraco developer section does not cause the property editor's files to be included in the package. Those checkboxes only mark the data type entry in the Developer 'Data Types' list for inclusion; the property editor files need to be selected separately in the Package Files tab. After doing this and reinstalling, I got the property editor package to install (albeit with a new, unrelated issue).
is working on a reply...