Hi everyone, Hi flocondetoile,

I use your modules to manage a multisite for a french university.

Problem/Motivation

The webmasters of micro sites create nodes they sometimes want to preview. To preview their node before publish it, a micro-path is generated based on node title. When saving the node, it generates a new path also based on node title then the path ends with "-0" because the proper path is already taken.
The first path generated by the preview has "/" as source URI.
The second one has the good URI "node/{nid}"
We have to go (as administrator) to micro_path list to delete the wrong micro_path (first one) and edit node again.

To reproduce

  • micro_node (8.x-1.0-alpha6), micro_site (8.x-1.0-alpha7)
  • Create a node on a micro-site.
  • Preview node before saving content.
  • Save content
  • Go to micro_path list /admin/config/micro_site/micro_path/list
CommentFileSizeAuthor
#3 3203813-3.patch619 bytesflocondetoile
bug_micro_node.png34.22 KBlilyanah_cz

Comments

lilyanah_cz created an issue. See original summary.

flocondetoile’s picture

Probably because the preview feature "save" a clone of the node to be able to preview it. This needs to be handle effectively.

flocondetoile’s picture

StatusFileSize
new619 bytes

This should do the trick

flocondetoile’s picture

Status: Active » Needs review

  • flocondetoile authored 69e7232 on 8.x-1.x
    Issue #3203813 by flocondetoile: Temporary micro path generated when...
flocondetoile’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.