Uploaded image for project: 'Forum Application'
  1. Forum Application
  2. XAFORUM-193

Use the XWiki sheets system instead of the include macro

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: 1.9.6
    • Labels:
      None
    • Similar issues:

      Description

      Example: when you create a flag, the content of the entry is

      {{include reference="ForumCode.FlagSheet" /}}
      

      instead of using a ClassSheetBinding.

      Same in the FlagClass, the code is:

      {{include reference="XWiki.ClassSheet" /}}
      

      instead of using a DocumentSheetBinding.

      This is not the recommended practice as it can lead to some issue (see XAFORUM-192).

      So the idea is to replace everywhere the include macro is wrongly used by the sheet system (not only the Flag).

      Are concerned:

      • FlagClass
      • FlagTemplate
      • ForumGithubDescriptor
      • MostActiveTopicsPanel

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acotiuga Alex Cotiugă
                Reporter:
                gdelhumeau Guillaume Delhumeau
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: