Ticket #169 (closed defect: fixed)

Opened 1 year ago

Last modified 2 months ago

midcom.admin.settings doesn't respect inheritance rules

Reported by: flack Assigned to: tarjei
Priority: major Milestone: 1.8 Thor
Component: MidCOM component Version:
Keywords: Cc:

Description

When you click "Website Configuration" from a Midgard Page which is not the Root Page of the current website, you get an error 500:

Failed to load 'code-init' for the website with root page ID XXX

where XXX is the ID of the current page, not of the Host's Root Page.

Normally, the code-init Page Element of the Root Page is inherited to the sub-Pages, so the website works fine, but midcom.admin.settings doesn't look for inherited code-init elements, so effectively, you can only change the website configuration when you're on the Host's Root Page (which is kind of a problem if MidCOM doesn't run on the Root Page, but only on one of the sub pages).

Change History

11/15/07 06:01:26 changed by solt

  • status changed from new to closed.
  • resolution set to fixed.

(In [13427]) Refactored plugin. Partially fixes #169

09/30/08 15:04:25 changed by bergie

  • milestone set to 1.8 Thor.