Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9950

Prevent sheet overriding for applications created with AWM

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 5.4-milestone-1
    • App Within Minutes
    • None
    • Unknown

    Description

      There is an increasing number of applications created with AWM. The problem is that after you generate the structure, the devs are overriding the sheet and add extra logic. If a normal user installs that application and 'edit' it, it will override the extra customisations with the default AWM sheet. See ( XAMEETINGS-19 , FILEMAN-9 , etc. )

      There are several solutions for solving this problem:
      A. When creating the application let the developers customise the 'Actions' entries, removing the problematic end-user 'Edit application' action. Related to XWIKI-8940

      B. AWM could compare the default generated sheet it creates with the current version of the sheet. If there are changes it means someone interfered with it. Related to XWIKI-9324
      In this case:
      B.1 Have 'Update class sheet' checkbox unchecked + Hint that the dev might need to manually update dependencies;
      B.2 Have an alert message asking if the user want to override the customisations with the default sheet.

      C. Solve the problem by using our right system. Related to XWIKI-8757

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              evalica Ecaterina Moraru (Valica)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: