Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-1168

Panels.NewPage should use "create" action instead of "xpage=create".

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 3.2.1, 3.5
    • Fix Version/s: None
    • Component/s: Navigation Application
    • Labels:
      None
    • Similar issues:

      Description

      In the panel "Panels.NewPage", after the user fills the form, the panel performs a page creation using "xpage=create" in the URL instead of the better action "xwiki/bin/create/Space/Page".

      The fix is to replace:
      <form method="post" action="$doc.getURL('view', 'xpage=create')" onsubmit="cancelCancelEdit()">
      by:
      <form method="post" action="$doc.getURL('create')" onsubmit="cancelCancelEdit()">

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                evalica Ecaterina Moraru (Valica)
                Reporter:
                gdelhumeau Guillaume Delhumeau
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

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