Comments (18)
@JimBobSquarePants Was this an update from the previous version?
Initial thought would be to bump the ClientDependency version number, (unfortunately that's not automated).
I'll see if I can reproduce the error.
from umbraco-nested-content.
It was.
I'd already bumped the ClientDependency version number without change and manually copied the scripts, views etc from the packages folder to be sure. Unfortunately the error still remains.
Chrome Version 43.0.2357.130 m (64-bit)
from umbraco-nested-content.
I can reproduce the error. There are a few things going on, which we'll need to resolve.
- If the Umbraco package was originally installed, then the NuGet package (via MyGet in this case) is installed, then it seems that Visual Studio will not overwrite the existing files. (e.g. v0.1.1 files remain).
- Due to a change in how Nested Content, we now reference DocTypes by Alias not GUID, (see the discussion on #4), the DataType prevalues need to be re-saved. (We should look to avoid that step).
- After manually copying over files from the extracted NuGet package, (e.g. the "/App_Plugins" folder and assembly), then the ClientDependency version number needs to be bumped.
After that, it started to work fine. Existing property data was still there on the node, (no data loss).
// CC'ing you in @mattbrailsford - I'm not 100% sure how to resolve the above issues.
from umbraco-nested-content.
Ok....
So I think I did all of the above and it's still not working.
Could you clarify.
Due to a change in how Nested Content, we now reference DocTypes by Alias not GUID, (see the discussion on #4), the DataType prevalues need to be re-saved. (We should look to avoid that step).
I re-saved the datatype, is that all that entails?
Does this do anything to the db? I have completely cleared out everything and started again. Still throws the error?
from umbraco-nested-content.
That's the steps that I took to get it to work last night.
We'll need to bring @kjac and @mattbrailsford in to clarify this.
from umbraco-nested-content.
@leekelleher I can send you the json returned by GetNodes, PostSave, and GetContentTypes if that helps? It looks to my untrained eye that the scope.alias
property is not being output.
from umbraco-nested-content.
I'll really need @kjac or @mattbrailsford to take a look... my knowledge of the Angular side is somewhat lacking. (I believe they got notifications when I @ mention them?)
from umbraco-nested-content.
Yup, attach the JSON and I'll take a look.
from umbraco-nested-content.
@mattbrailsford Github won't let me add zip files directly so here's a dropbox link. Cheers!
https://dl.dropboxusercontent.com/u/78716633/NestedContent.zip
from umbraco-nested-content.
Did you re-save the nested content prevalues?
from umbraco-nested-content.
I went into the data type and re-saved. I did it a couple of times changing to different Document types also. Is that what you mean?
from umbraco-nested-content.
yup, and did you resave the nested content values in the content editor?
from umbraco-nested-content.
I can't edit or save preexisting items in the content tree nor add new ones.
My property containing nested content is stored in a composite document type. I have re-saved that, the doctype that is nested, and the doctypes that include the composite type.
All JavaScript files are definitely up to date also as I have fully cleared out and bumped client dependency.
from umbraco-nested-content.
Here's the DataType prevalue saved value from the db.
[
{
"ncAlias": "HeadlineSlide",
"ncTabAlias": "Headline Slides",
"nameTemplate": "{{title}}"
}
]
from umbraco-nested-content.
Is this anywhere public I would be able to see it from?
On 6 Jul 2015 5:23 pm, "James Jackson-South" [email protected]
wrote:
Here's the DataType prevalue saved value from the db.
[
{
"ncAlias": "HeadlineSlide",
"ncTabAlias": "Headline Slides",
"nameTemplate": "{{title}}"
}
]—
Reply to this email directly or view it on GitHub
#19 (comment)
.
from umbraco-nested-content.
@mattbrailsford I'll drop you a message on Skype with details.
from umbraco-nested-content.
Hmmm ... looks like there's no scaffold doc type to clone. Could you please try adding a console.log()
in the addNode()
function of nestedcontent.controllers.js (under App_Plugins > NestedContent > Js) right after var scaffold = $scope.getScaffold(alias);
and check the value of the scaffold - e.g. console.log("$scope.addNode", alias, scaffold);
?
from umbraco-nested-content.
Closing this issue, as @JimBobSquarePants had a Skype chat with @mattbrailsford, which they found it was a DataType config issue, and not an immediate bug with Nested Content.
from umbraco-nested-content.
Related Issues (20)
- Renamed document types are not resolved HOT 1
- What would it take to get OfType<T>() to work with NC HOT 3
- Doc Types - Tab Drop Down List Not Saving When Setting Up New Data Type HOT 1
- Nested content not working inside doctype grid editor that is inside a Vorto editor HOT 6
- Featured Request : Deletion of Item Alert Message HOT 1
- Cannot add a new content if multiple document types have been specified HOT 8
- Cannot resolve NestedContent values for indexing due to UmbracoContext.Current == null HOT 1
- {{ pickerAlias | ncNodeName }} don't works with media picker HOT 6
- "Choose type of content" dialog always opens on top of the edit page HOT 5
- Review "Content Type selection" modal position
- Data type using nested content defaults to first tab in document type after save HOT 1
- Remove labels on nested property types HOT 1
- Performance - Nested content with RTE HOT 2
- Error saving content HOT 3
- How to render widget template on page template HOT 1
- Nested content title formatting with properties HOT 3
- Make obvious names for overview of the items inside the content HOT 2
- ncNodeName and ncMediaName not documented HOT 1
- Feature Request - Tabbed Interface HOT 1
- Add documentation for adding programmatically
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umbraco-nested-content.