XWiki Platform
  1. XWiki Platform
  2. XWIKI-4802

Add MetaData Block/Events to allow specifying meta data to XDOM/Listeners

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2 M2
    • Fix Version/s: 3.0 M2
    • Component/s: {Unused} Rendering 2.0
    • Labels:
      None
    • Tests:
      Unit, Integration
    • Difficulty:
      Unknown
    • Similar issues:
      XWIKI-10840Invalid HTML5 meta tags used in flamingo
      XWIKI-2972Hide rendering meta data from the edited document
      XWIKI-2831Add/Modify data via DocumentAccessBridge
      XWIKI-2614Allow more internationalization document bundles to be specified
      XWIKI-4957Allow entering @, ? and # characters in link references
      XWIKI-3041Element meta data is not copied using the standard Copy&Paste process
      XWIKI-750EditObjects should allow editing a specified object
      XWIKI-5107URLs are not escaped in link labels if link meta data is missing
      XWIKI-2433Add ability to specify what syntax a document is written in
      XWIKI-778Important problem with the content and metadata dirty status and versioning

      Description

      Several use cases that already cause issues now:

      • source name
        • to test right for script macros
        • to resolve include document name
      • source syntax
        • to know how to re-parse macros like box, script, etc. when a page containing a macro in some syntax is included in a page using another syntax
        • when the syntax inside the generated macro are not the same as the source syntax like in xwiki/1.0 parser which internally convert content to xwiki/2.0 syntax before using xwiki/2.0 parser

        Issue Links

          Activity

          Thomas Mortagne made changes -
          Field Original Value New Value
          Assignee Thomas Mortagne [ tmortagne ]
          Fix Version/s 2.3 M1 [ 11395 ]
          Jean-Vincent Drean made changes -
          Fix Version/s 2.3 M2 [ 11497 ]
          Fix Version/s 2.3 M1 [ 11395 ]
          Jean-Vincent Drean made changes -
          Fix Version/s 2.3 M2 [ 11497 ]
          Fix Version/s 2.3 RC1 [ 11520 ]
          Thomas Mortagne made changes -
          Fix Version/s 2.4 M1 [ 11551 ]
          Fix Version/s 2.3 RC1 [ 11520 ]
          Thomas Mortagne made changes -
          Fix Version/s 2.4 M2 [ 11615 ]
          Fix Version/s 2.4 M1 [ 11551 ]
          Thomas Mortagne made changes -
          Fix Version/s 2.4 M2 [ 11615 ]
          Fix Version/s 2.4 RC1 [ 11616 ]
          Thomas Mortagne made changes -
          Fix Version/s 2.5 M1 [ 11686 ]
          Fix Version/s 2.4 RC1 [ 11616 ]
          Sergiu Dumitriu made changes -
          Fix Version/s 2.5 M2 [ 11687 ]
          Fix Version/s 2.5 M1 [ 11686 ]
          Sergiu Dumitriu made changes -
          Fix Version/s 2.5 RC1 [ 11688 ]
          Fix Version/s 2.5 M2 [ 11687 ]
          Sergiu Dumitriu made changes -
          Fix Version/s 2.6 M1 [ 11778 ]
          Fix Version/s 2.5 RC1 [ 11688 ]
          Vincent Massol made changes -
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Vincent Massol made changes -
          Fix Version/s 2.6 RC2 [ 11806 ]
          Fix Version/s 2.6 RC1 [ 11778 ]
          Vincent Massol made changes -
          Fix Version/s 2.7 RC1 [ 11819 ]
          Fix Version/s 2.6 RC2 [ 11806 ]
          Sergiu Dumitriu made changes -
          Fix Version/s 2.7RC2 [ 11878 ]
          Fix Version/s 2.7 RC1 [ 11819 ]
          Sergiu Dumitriu made changes -
          Fix Version/s 3.0 M1 [ 11875 ]
          Fix Version/s 2.7 [ 11878 ]
          Vincent Massol made changes -
          Assignee Thomas Mortagne [ tmortagne ] Vincent Massol [ vmassol ]
          Vincent Massol made changes -
          Link This issue blocks XWIKI-5902 [ XWIKI-5902 ]
          Marius Dumitru Florea made changes -
          Fix Version/s 3.0 M2 [ 11903 ]
          Fix Version/s 3.0 M1 [ 11875 ]
          Vincent Massol made changes -
          Summary Macros blocks/events should contains informations about its source Add MetaData Block/Events to allow specifying meta data to XDOM/Listeners
          Description The idea is to associate a kind of "context" to a macro block containing custom informations.

          I see several use cases that already cause issues now:
          * source name
          ** to test right for script macros
          ** to resolve include document name
          * source syntax
          ** to know how to re-parse macros like box, script, etc. when a page containing a macro in some syntax is included in a page using another syntax
          ** when the syntax inside the generated macro are not the same as the source syntax like in xwiki/1.0 parser which internally convert content to xwiki/2.0 syntax before using xwiki/2.0 parser
          Several use cases that already cause issues now:
          * source name
          ** to test right for script macros
          ** to resolve include document name
          * source syntax
          ** to know how to re-parse macros like box, script, etc. when a page containing a macro in some syntax is included in a page using another syntax
          ** when the syntax inside the generated macro are not the same as the source syntax like in xwiki/1.0 parser which internally convert content to xwiki/2.0 syntax before using xwiki/2.0 parser
          Tests [Unit, Integration]
          Vincent Massol made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Vincent Massol
              Reporter:
              Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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