the issue is, that I completely understand the functionality of Data Types, but when I try to create a custom Dropdown Data Type ina 7.0.0. installation no "add prevalue" is displayed.
I cannot solve that, I tried couple of times and similar forum questions are beyond that basic issue.
Could you perhaps show a screendump of the datatype you're trying to create? Have you chosen a datatype from the dropdown list that allows you to add a prevalue? Like dropdown list or radio button list?
Tried to create the custom DocType on a new installation (Starter template under Developer/Packages removed.) and received the following error: Contact administrator, see log for full details. Failed to save data for datatype id 0
2014-04-23 12:18:50,796 [7] INFO Umbraco.Core.Publishing.PublishingStrategy - [Thread 44] Content 'Start' with Id '0' has been published.
2014-04-23 12:57:13,452 [7] INFO Umbraco.Web.Security.WebSecurity - [Thread 36] User Id: 0 logged in
2014-04-23 12:58:31,389 [7] INFO Umbraco.Core.PluginManager - [Thread 9] Starting resolution types of Umbraco.Web.Trees.TreeController
2014-04-23 12:58:31,389 [7] INFO Umbraco.Core.PluginManager - [Thread 9] Completed resolution of types of Umbraco.Web.Trees.TreeController, found 4 (took 0ms)
2014-04-23 13:04:42,811 [7] WARN Umbraco.Web.Models.Mapping.PreValueDisplayResolver - [Thread 18] Could not find persisted pre-value for field multiPicker
2014-04-23 13:05:04,046 [7] WARN Umbraco.Web.Models.Mapping.PreValueDisplayResolver - [Thread 84] Could not find persisted pre-value for index 1
2014-04-23 13:12:17,139 [7] INFO Umbraco.Core.PluginManager - [Thread 33] Starting resolution types of Umbraco.Web.Trees.TreeController
2014-04-23 13:12:17,139 [7] INFO Umbraco.Core.PluginManager - [Thread 33] Completed resolution of types of Umbraco.Web.Trees.TreeController, found 4 (took 0ms)
Is it an option for you to try and upgrade to latest release of v7 so you go from 7.0.0 to 7.1.1 - Not sure if the issues you're having are perhaps fixed in this release?
I'm really glad to hear you got it working :) - Please remember to mark the answer that helped you solve your issue as the solution so others can benefit from this if they should have the same issue.
In 7.5.3 we still get many of these WARN messages in the tracelog like "[P3372/D2/T49] WARN Umbraco.Web.Models.Mapping.PreValueDisplayResolver - Could not find persisted pre-value for field startNodeId". Not sure what's causing them or if it's an issue we need to resolve, since the site continues to function properly.
What worked for me was to go over all of the Data Types and re-save those that had issues in them.
Open the umbraco error.log (from App_Data\Logs...) in the text editor and watch for changes in the log.
Go to the Umbraco backoffice - Developer - Data Types and click on each of them, watching for the error.log emitting WARN line. When you click on such a Data Type, simply re-save it, clicking on the Save button.
Custom Datatype not created
Hello,
the issue is, that I completely understand the functionality of Data Types, but when I try to create a custom Dropdown Data Type ina 7.0.0. installation no "add prevalue" is displayed.
I cannot solve that, I tried couple of times and similar forum questions are beyond that basic issue.
An advice is very much appreciated.
Thanks.
Hi xme
Could you perhaps show a screendump of the datatype you're trying to create? Have you chosen a datatype from the dropdown list that allows you to add a prevalue? Like dropdown list or radio button list?
Do you see any errors when trying?
/Jan
Dear /Jan,
thank you for your interest.
Sure:
I try to fulfill the tutorials: http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/document-types/customizing-data-types/
No errors. Just the field "add prevalue" is missing.
Kind regards
Hello!
I have to add an error.
Tried to create the custom DocType on a new installation (Starter template under Developer/Packages removed.) and received the following error: Contact administrator, see log for full details. Failed to save data for datatype id 0
Could not find a quick solution in the forum.
Keep on..
Hi xme
Hmm yeah those screendumps do look a bit weird.
Could you try going to the /app_data/logs file and see what the error message is? Then please post it in here.
Cheers, Jan
Hello, you want to see this:
...
2014-04-23 12:18:50,796 [7] INFO Umbraco.Core.Publishing.PublishingStrategy - [Thread 44] Content 'Start' with Id '0' has been published.
2014-04-23 12:57:13,452 [7] INFO Umbraco.Web.Security.WebSecurity - [Thread 36] User Id: 0 logged in
2014-04-23 12:58:31,389 [7] INFO Umbraco.Core.PluginManager - [Thread 9] Starting resolution types of Umbraco.Web.Trees.TreeController
2014-04-23 12:58:31,389 [7] INFO Umbraco.Core.PluginManager - [Thread 9] Completed resolution of types of Umbraco.Web.Trees.TreeController, found 4 (took 0ms)
2014-04-23 13:04:42,811 [7] WARN Umbraco.Web.Models.Mapping.PreValueDisplayResolver - [Thread 18] Could not find persisted pre-value for field multiPicker
2014-04-23 13:05:04,046 [7] WARN Umbraco.Web.Models.Mapping.PreValueDisplayResolver - [Thread 84] Could not find persisted pre-value for index 1
2014-04-23 13:12:17,139 [7] INFO Umbraco.Core.PluginManager - [Thread 33] Starting resolution types of Umbraco.Web.Trees.TreeController
2014-04-23 13:12:17,139 [7] INFO Umbraco.Core.PluginManager - [Thread 33] Completed resolution of types of Umbraco.Web.Trees.TreeController, found 4 (took 0ms)
Hi xme
Are there any entries tagged with "ERROR"?
Is it an option for you to try and upgrade to latest release of v7 so you go from 7.0.0 to 7.1.1 - Not sure if the issues you're having are perhaps fixed in this release?
/Jan
I found 1-2 ERROR messages, infact:
...
2014-04-23 12:07:10,374 [67] ERROR Umbraco.Core.PluginManager - [Thread 44] Error creating type Umbraco.Core.Models.PublishedContent.PublishedPropertyType+CompatConverter
...
2014-04-23 12:07:27,139 [55] ERROR Umbraco.Core.PluginManager - [Thread 27] Error creating type Umbraco.Core.Models.PublishedContent.PublishedPropertyType+CompatConverter
Yeah, I try to update!
Thanks for hint.
..
Dear /Jan,
I can confirm, with the update to Umbraco 7.1.1 the "add prevalue" field for creating custom Data Types is visible and works fine.
Thank you for guidance!
Hi xme
I'm really glad to hear you got it working :) - Please remember to mark the answer that helped you solve your issue as the solution so others can benefit from this if they should have the same issue.
Happy umbracoing :)
/Jan
In 7.5.3 we still get many of these WARN messages in the tracelog like "[P3372/D2/T49] WARN Umbraco.Web.Models.Mapping.PreValueDisplayResolver - Could not find persisted pre-value for field startNodeId". Not sure what's causing them or if it's an issue we need to resolve, since the site continues to function properly.
I am also seeing below warning error getting logged in file. Is there any fix for this? Please help.
WARN Umbraco.Web.Models.Mapping.PreValueDisplayResolver - Could not find persisted pre-value for field XYZ
Did anyone get any further with this issue? I have the same thing (below). Where should I look to troubleshoot it?
What worked for me was to go over all of the Data Types and re-save those that had issues in them.
Open the umbraco error.log (from App_Data\Logs...) in the text editor and watch for changes in the log.
Go to the Umbraco backoffice - Developer - Data Types and click on each of them, watching for the error.log emitting WARN line. When you click on such a Data Type, simply re-save it, clicking on the Save button.
is working on a reply...