Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-1989

Endless updating of field definitions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • WCM 5.0 SP2, xCM 6.0.0
    • None
    • None

    Description

      On the homepage template the definition within box/declarations.inc sets this:

      <content:declareField name="title"
      title="Title" type="SmallText"
      titleKey="blog.title" bundleKey="<%=resBundleID%>"
      aliasNames="boxTitle"
      />

      and common/main_content.jsp sets this:
      <content:declareField name='content' title="Content"
      titleKey="mainContent.content" bundleKey="<%=resBundleID%>"
      type="BigText"
      aliasNames="contentContent"
      />

      On another page template, where box and main_content is not included, a customer sets this in his own container list:

      <content:declareField name="title" title="Title" type="SmallText"
      value="Lord of the Flies" />

      <content:declareField name="content" title="Content" type="BigText" />

      According to the database tables jahia_fields_def_prop, the field definition could be different for different page templates (although it is not advised to do so). The difference in the title and default Value is not the problem here, the current Jahia 5 seems to be able to handle that, the problem is only the aliasNames field. This property is causing that the definitions are always redefined.

      TestRail: Results

        Attachments

          Activity

            People

              tdraier_old Thomas Draier (Inactive)
              pap@commaro.com_old Benjamin Papez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      WCM 5.0 SP2
                      xCM 6.0.0