XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: High High
    • 2015.09
    • 2015.07
    • Landing Page Manager
    • None

    Description

      Request:
      {
      'page':

      { ... }

      ,
      'blockId': '...',
      'date': 0123456789
      }

      Improve previewBlockAction in BlockController.

      • decode page structure,
      • call schedule from PageService,
      • find blocks using getBlockById from Page class,
      • encode using blocksToArray from JSONConverter,

      Response:

      {
      'block_id':

      { 'html': '...', 'json': '...' }

      }

      • validate page object in controller,
      • extract validation logic into new PageValidator class.

      Attachments

        Activity

          People

            Unassigned Unassigned
            michal.pipa-obsolete@ez.no Michal Pipa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: