5.0.1 - publishing adds extra content to body text
First post here; please don't hate me if I'm missing detail or anything...
I've just created a local solution of Umbraco 5 (first time trying Umbraco 5, been using previous versions for a couple years), and started laying out my homepage templates. I created a test homepage to work with, and I have been making edits to it just fine. However, when I try to pull in content, I noticed some extra content that I didn't enter into the editor. Here's the situation:
Content entered into editor for page:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor congue nunc, quis cursus elit ultrices et. Nunc placerat est et neque aliquet imperdiet.
I save and choose 'publish', and my content is published. My basic test homepage.cshtml has the following line for output:
The content on the page when I save / run the solution is the following:
Body Text: Sub Page Title, entered into HTML directly through content editor Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor congue nunc, quis cursus elit ultrices et. Nunc placerat est et neque aliquet imperdiet.
Looking at the database, the following entry was added to the AttributeLongStringValue table:
2EA3262E-6B23-4F38-A269-A04600B519EC<h2>Sub Page Title, entered into HTML directly through content editor</h2> <p> </p> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor congue nunc, quis cursus elit ultrices et. Nunc placerat est et neque aliquet imperdiet.</p>Value3C17AB71-D866-43FA-8ACD-A04600B519EC00000000-0000-0000-0000-00000000656E
The extra text + h2 tag is being entered into the database on publish. I've done a search through my entire solution (which has my code + the Umbraco Areas directory, views, etc), and cannot even find the term "content editor" to give me clues as to what could be adding this in. It doesn't show up in a 'view source' while looking at the frame of the editor, and this item is not included in the raw html that we can edit when making changes through the Umbraco admin.
Has anyone seen this before? Any ideas as to how I could find what's adding it? Am I even adding this to the right section of the forum?
Nevermind. The problem was a corruption in the download that I had grabbed. I'm not sure which one I used. If you have this problem in the future, and you see this post, try grabbing the web app from another source; yours is probably corrupt. I couldn't find anywhere in the source where this item should be added to the database, and since it's not a basic function, the community probably won't help you. Best bet is to grab a new copy of the web app source.
5.0.1 - publishing adds extra content to body text
First post here; please don't hate me if I'm missing detail or anything...
I've just created a local solution of Umbraco 5 (first time trying Umbraco 5, been using previous versions for a couple years), and started laying out my homepage templates. I created a test homepage to work with, and I have been making edits to it just fine. However, when I try to pull in content, I noticed some extra content that I didn't enter into the editor. Here's the situation:
Content entered into editor for page:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor congue nunc, quis cursus elit ultrices et. Nunc placerat est et neque aliquet imperdiet.
I save and choose 'publish', and my content is published. My basic test homepage.cshtml has the following line for output:
The content on the page when I save / run the solution is the following:
Looking at the database, the following entry was added to the AttributeLongStringValue table:
The extra text + h2 tag is being entered into the database on publish. I've done a search through my entire solution (which has my code + the Umbraco Areas directory, views, etc), and cannot even find the term "content editor" to give me clues as to what could be adding this in. It doesn't show up in a 'view source' while looking at the frame of the editor, and this item is not included in the raw html that we can edit when making changes through the Umbraco admin.
Has anyone seen this before? Any ideas as to how I could find what's adding it? Am I even adding this to the right section of the forum?
Thanks!
Nevermind. The problem was a corruption in the download that I had grabbed. I'm not sure which one I used. If you have this problem in the future, and you see this post, try grabbing the web app from another source; yours is probably corrupt. I couldn't find anywhere in the source where this item should be added to the database, and since it's not a basic function, the community probably won't help you. Best bet is to grab a new copy of the web app source.
is working on a reply...