Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chandima Jayanath 12 posts 32 karma points
    May 20, 2010 @ 14:59
    Chandima Jayanath
    0

    Incorrect document types are accept in publishing time

    <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-alt:"Calisto MT"; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-alt:"Times New Roman"; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {mso-style-priority:34; mso-style-unhide:no; mso-style-qformat:yes; margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:2047290060; mso-list-type:hybrid; mso-list-template-ids:-1987152600 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 {mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-.25in;} @list l0:level2 {mso-level-tab-stop:1.0in; mso-level-number-position:left; text-indent:-.25in;} @list l0:level3 {mso-level-tab-stop:1.5in; mso-level-number-position:left; text-indent:-.25in;} @list l0:level4 {mso-level-tab-stop:2.0in; mso-level-number-position:left; text-indent:-.25in;} @list l0:level5 {mso-level-tab-stop:2.5in; mso-level-number-position:left; text-indent:-.25in;} @list l0:level6 {mso-level-tab-stop:3.0in; mso-level-number-position:left; text-indent:-.25in;} @list l0:level7 {mso-level-tab-stop:3.5in; mso-level-number-position:left; text-indent:-.25in;} @list l0:level8 {mso-level-tab-stop:4.0in; mso-level-number-position:left; text-indent:-.25in;} @list l0:level9 {mso-level-tab-stop:4.5in; mso-level-number-position:left; text-indent:-.25in;} ol {margin-bottom:0in;} ul {margin-bottom:0in;} -->

    Hi All,

    When I creating a new Content Node, Umbraco shows all the Document Types which can be created under that particular node. However, if I selects an incorrect document type Umbraco doesn’t show any notification. Also it allows to enter details and publish it successfully. Unfortunately It is not possible to identify the mistake until visit the website to check the modifications.


    Please suggest any workaround to overcome this issue

    Thanks!

  • Marthijn 6 posts 26 karma points
    May 20, 2010 @ 15:04
    Marthijn
    0

    Did you fill in the structure tab under the documenttypes?

  • Chandima Jayanath 12 posts 32 karma points
    May 20, 2010 @ 15:17
    Chandima Jayanath
    0

    Yes, but i have selected few node types in structure tab to support several node types.

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    May 20, 2010 @ 17:13
    Richard Soeteman
    0

    Hi,

    When you use the API there is no check for allowed child nodes. Sometimes this can be useful. When you want to allow website users to react on a piece of content you can create a reaction doctype which is never allowed but when  using the API you can create these documents in the right parent node. But if you want this fixed   I suggest you report it on codeplex.

    Cheers,

    Richard

  • Chandima Jayanath 12 posts 32 karma points
    May 21, 2010 @ 07:20
    Chandima Jayanath
    0

    Thanks for the answer Richard

Please Sign in or register to post replies

Write your reply to:

Draft