Closed (fixed)
Project:
XML sitemap
Version:
8.x-1.0-rc1
Component:
xmlsitemap.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2020 at 07:15 UTC
Updated:
19 Jun 2020 at 15:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dave reidYes, you're right. It appears that node/add uses the form operation of 'default', while the node/{node}/edit route has a form operation of 'edit'. So let's just make this check both for default or edit, instead of conditionally just one.
Comment #3
dave reidComment #4
dave reidLet's see if this adds the coverage we need.
Comment #5
andralex commentedTested and it works as expected with #4
Comment #6
alex_optimFor me too.
Comment #7
ilgnerfagundes commentedThe patch was applied correctly.
Comment #8
volegerPatch needs reroll
Comment #9
volegerI'll reroll it
Comment #10
volegerHere is rerolled patch
Comment #12
pifagor commentedComment #14
pifagor commentedComment #16
dave reidReopening for some additional test coverage I had intended to add.
Comment #18
dave reidOk so I needed to reset the entity access cache after saving a programmatic entity. And the form op for new users is 'register' so I added support for that.
Comment #20
dave reidCommitted #18 to 8.x-1.x. Glad to have increased test coverage around this.