Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1018

Empty card in wizard when creating a news from FO side

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      4.4 RC2

      Description

      How to reproduce

      • From home catalog carousel, create a news
      • The 2nd card is empty

      The 2nd should not be present as we force template to page and content type news.

      Create page wizard is configured as following

      <xsl:with-param name="config">{
                                      "title": "<xsl:value-of select="ametys:escapeJS(ametys:translate(concat('skin.', $skin, ':SKIN_FO_ADD_ALERT_DIALOG_TITLE')))"/>",
                                      "force": true,
                                      "workflowInitActionId": "15", 
                                      "show-card-tags" : false,
                                      "show-card-content" : false, 
                                      "show-card-type" : false,  
                                      "default-pagetype" : "template",
                                      "default-template" : "page",
                                      "default-zone" : "default",
                                      "default-pagecontent-type" : "contenttype",
                                      "default-contenttype" :  "org.ametys.plugins.workspaces.Content.alert",
                                      "right-contenttype": "Plugin_Workspaces_Right_Alert_Create",
                                      "default-page-title" : "<xsl:value-of select="ametys:escapeJS(ametys:translate(concat('skin.', $skin, ':SKIN_FO_ADD_ALERT_DEFAULT_TITLE')))"/>",
                                      "default-contenttype-label" : "<xsl:value-of select="ametys:escapeJS(ametys:translate(concat('skin.', $skin, ':SKIN_FO_ADD_ALERT_CONTENT_TYPE_LABEL')))"/>",
                                      "pagecontent-service" : false}
                                      </xsl:with-param>
      

        Attachments

          Activity

            People

            • Assignee:
              laurence Laurence Aumeunier
              Reporter:
              laurence Laurence Aumeunier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: