Open Source Content Management Framework

Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

  1. Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

    Wed January 13 2010 17:55:07 UTC
    Hi,

    When creating or editing a "Page" in Asgard, it will not save the
    "Style" or "Under Page" values, so the
    page ends up being created (or moved ) under the root page of the site.
    Additionally, the selection widget for
    these fields is missing, they are just plain text fields. If I try to
    manually enter an ID or GUID, it is ignored.

    I recently upgraded to 8.09.7, but I remember seeing this problem with
    the Edit Page functionality prior to the
    update. I had not seen this problem previously when creating pages,
    though it's been a little while since I've tried.

    Is this a known problem? Any ideas on how to fix this?

    In an unrelated issue, when upgrading to 8.09.7, it broke Asgard
    completely until I manually added the "symlink" column to
    the topic table. FYI.

    Thanks.

    Martin
    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  2. Re: [midgard-user] Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

    Wed January 13 2010 19:50:06 UTC
    Martin Gottlieb pisze:
    > Hi,

    Hi!

    > In an unrelated issue, when upgrading to 8.09.7, it broke Asgard
    > completely until I manually added the "symlink" column to
    > the topic table. FYI.

    Did you ran `datagard -a dbupdate` ?

    Piotras
    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  3. Re: [midgard-user] Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

    Wed January 13 2010 19:55:04 UTC
    On 1/13/2010 2:39 PM, Piotr Pokora wrote:
    > Martin Gottlieb pisze:
    >
    >> Hi,
    >>
    > Hi!
    >
    >
    >> In an unrelated issue, when upgrading to 8.09.7, it broke Asgard
    >> completely until I manually added the "symlink" column to
    >> the topic table. FYI.
    >>
    > Did you ran `datagard -a dbupdate` ?
    >
    No, I wasn't aware that was necessary. I guess I assumed that running
    "yum update" would take care of everything.
    Should I remove the column that I added and run the datagard command?

    Thanks.

    Martin

    > Piotras
    > _______________________________________________
    > user mailing list
    > user@lists.midgard-project.org
    > http://lists.midgard-project.org/mailman/listinfo/user
    >

    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  4. Re: [midgard-user] Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

    Wed January 13 2010 20:10:04 UTC
    Martin Gottlieb pisze:

    Hi!

    >>> In an unrelated issue, when upgrading to 8.09.7, it broke Asgard
    >>> completely until I manually added the "symlink" column to
    >>> the topic table. FYI.
    >>>
    >> Did you ran `datagard -a dbupdate` ?
    >>
    > No, I wasn't aware that was necessary.

    It's necessary with every release.
    But if it is we mention it clearly in release notes.

    > I guess I assumed that running
    > "yum update" would take care of everything.

    This is a bit tricky from packaging point of view.
    Though, I do not know rpm routines.

    > Should I remove the column that I added and run the datagard command?

    Yes, it'll be safer.
    For example, indexes will be created internally.

    Piotras
    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  5. Eero 'Rambo' af Heurlin

    Re: [midgard-user] Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

    Thu January 14 2010 14:20:04 UTC
    Martin Gottlieb wrote:
    >
    > When creating or editing a "Page" in Asgard, it will not save the
    > "Style" or "Under Page" values, so the
    > page ends up being created (or moved ) under the root page of the site.
    > Additionally, the selection widget for
    > these fields is missing, they are just plain text fields. If I try to
    > manually enter an ID or GUID, it is ignored.
    >

    All link fields should be DM2 choosers in Asgard, if JavaScript is not
    enabled they will not work, but they should not lose old values either.


    >
    > In an unrelated issue, when upgrading to 8.09.7, it broke Asgard
    > completely until I manually added the "symlink" column to
    > the topic table. FYI.
    >

    You need to use datagard to update midcom (or know when to run -a
    dbupdate manually), and you need to update midgard and midcom at the
    same time.
    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  6. Re: [midgard-user] Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

    Thu January 14 2010 15:15:06 UTC
    On 1/13/2010 3:04 PM, Piotr Pokora wrote:
    > Martin Gottlieb pisze:
    >
    > Hi!
    >
    >
    >>>> In an unrelated issue, when upgrading to 8.09.7, it broke Asgard
    >>>> completely until I manually added the "symlink" column to
    >>>> the topic table. FYI.
    >>>>
    >>>>
    >>> Did you ran `datagard -a dbupdate` ?
    >>>
    >>>
    >> No, I wasn't aware that was necessary.
    >>
    > It's necessary with every release.
    > But if it is we mention it clearly in release notes.
    >
    ok, thamks. I've done this and it did create the symlink column (and
    whatever other updates were needed, I assume). Do I need
    to worry about all of the PHP warnings about bad character sets in my DB
    tables? e.g.:

    PHP Warning: (pid:5133): Table 'org_routamc_positioning_country' has
    invalid (latin1_swedish_ci) character set. in
    /usr/share/midgard/setup/php/midgard_setup_dabase.php on line 416.

    Thanks.

    Martin

    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  7. Re: [midgard-user] Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

    Thu January 14 2010 15:50:05 UTC
    On 1/13/2010 2:11 PM, Eero 'Rambo' af Heurlin wrote:
    > Martin Gottlieb wrote:
    >
    >> When creating or editing a "Page" in Asgard, it will not save the
    >> "Style" or "Under Page" values, so the
    >> page ends up being created (or moved ) under the root page of the site.
    >> Additionally, the selection widget for
    >> these fields is missing, they are just plain text fields. If I try to
    >> manually enter an ID or GUID, it is ignored.
    >>
    >>
    > All link fields should be DM2 choosers in Asgard, if JavaScript is not
    > enabled they will not work, but they should not lose old values either.
    >
    Javascript is definitely enabled and, strangely, the "contentowner"
    field is a "DM2 chooser". Since you mentioned JS, I just
    looked at the error console and found that the following error comes up
    when I select "Create Page":

    Error:
    jQuery("#net_nehmer_static_contentowner_chooser_widget_search_input").midcom_helper_datamanager2_widget_chooser_adjust_height
    is not a function
    Source file:
    http://www.mydomain.com/__mfa/asgard/object/create/midgard_page/1de85e2131ad46a85e211de95392ddc7c668d1e8d1e/
    Line: 268

    I checked several browsers and get the same behavior on Firefox, IE, and
    Chrome.

    Martin

    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  8. Re: [midgard-user] Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

    Thu January 14 2010 17:00:04 UTC
    Martin Gottlieb pisze:

    Hi!

    > ok, thamks. I've done this and it did create the symlink column (and
    > whatever other updates were needed, I assume). Do I need
    > to worry about all of the PHP warnings about bad character sets in my DB
    > tables? e.g.:
    >
    > PHP Warning: (pid:5133): Table 'org_routamc_positioning_country' has
    > invalid (latin1_swedish_ci) character set. in
    > /usr/share/midgard/setup/php/midgard_setup_dabase.php on line 416.

    Datagard can not do automatic table charset updates, that's why throws
    warning if table doesn't use utf-8 by default.
    It may be converted using MySQL command.

    Piotras
    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  9. Re: [midgard-user] Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard - [UPDATE - Problem solved]

    Fri January 15 2010 17:00:07 UTC
    Looks like there was a problem with my midcom-static directory. I've
    got the virtual
    host pointing to the right place now and everything works fine.

    Thanks for the help.

    Martin

    On 1/13/2010 11:48 AM, Martin Gottlieb wrote:
    > Hi,
    >
    > When creating or editing a "Page" in Asgard, it will not save the
    > "Style" or "Under Page" values, so the
    > page ends up being created (or moved ) under the root page of the site.
    > Additionally, the selection widget for
    > these fields is missing, they are just plain text fields. If I try to
    > manually enter an ID or GUID, it is ignored.
    >
    > I recently upgraded to 8.09.7, but I remember seeing this problem with
    > the Edit Page functionality prior to the
    > update. I had not seen this problem previously when creating pages,
    > though it's been a little while since I've tried.
    >
    > Is this a known problem? Any ideas on how to fix this?
    >
    > In an unrelated issue, when upgrading to 8.09.7, it broke Asgard
    > completely until I manually added the "symlink" column to
    > the topic table. FYI.
    >
    > Thanks.
    >
    > Martin
    > _______________________________________________
    > user mailing list
    > user@lists.midgard-project.org
    > http://lists.midgard-project.org/mailman/listinfo/user
    >

    _______________________________________________
    user mailing list
    user@lists.midgard-project.org
    http://lists.midgard-project.org/mailman/listinfo/user
    •  Reply
  10. Re: [midgard-user] Midgard 8.09 - Problems with Create/Edit Page functionality in Asgard

    Fri January 15 2010 22:36:19 UTC

    I assumed that running "yum update" would take care of everything.

    Actually it does for Midgard framework. But that feature was added only in 8.09.5 so if you have initially installed an older version it's not enabled in your case.

    To enable it, set:

    Database creation switch

    TableCreate=true

    Database update switch

    TableUpdate=true

    ...in /etc/midgard/conf.d/midgard (in case of the default "midgard" db/configuration name - change accordingly of course if you have used some other name).

    The RPMS don't upgrade Midgard CMS pear packages. You must run "datagard -a upgrade" to upgrade the PHP layer (the pear packages). That command updates the DB also if the pear packages bring changes to the DB.

    •  Reply
Designed by Nemein, hosted by Kafit