Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Drafts showing in Navigation using Structure

Status Resolved
Add-on / Version Publisher Lite 2.8.2
Severity
EE Version 4.2.3

James Carter

Aug 14, 2018

 

 

Description:
When creating a new page in Structure and sending it for approval as a draft, I am seeing it in the navigation before it is approved resulting in a 404 error. Is this an issue with the integration with Structure?

Detailed steps to reproduce the issue:
1. From Structure, Click “Add Page”
2. Select “Pages” for the page type.
3. Fill the content in for the entry.
4. Check “Submit for Approval” and click “Save & Close”.
5. Before it is approved, it is showing in the navigation.

 

 

 

 

 

 

#1

BoldMinded (Brian)

It looks like you’re a few versions behind on Publisher. What version of Structure are you using? The latest?

#2

Megan Miriello

I’m on 4.3.11 currently. I’ll update both to see if this resolves the issue.

#3

BoldMinded (Brian)

I’ve been testing a separate Structure issue from another ticket, and if an entry has never been published live, meaning it only has a draft, the navigation isn’t showing the entry when viewing the open/published content. Are you able to provide a video of the issue? Have you tried to replicate it in a new clean EE environment with only Publisher and Structure installed?

#4

Megan Miriello

I have updated to the latest versions and it appears to be something is wrong with the status selection. So when creating a new page, I cannot save the entry because it is missing a status. Which is odd since it should select one on its own, correct? To bypass this I select “Draft” as the status and I am able to save. Since the update, it no longer shows in the navigation. The entry is then approved and saved as published which saves fine but still is showing as a draft. To sum it up, the status is not being saved/selected properly.

#5

Megan Miriello

Any update on this item?

#6

BoldMinded (Brian)

Not yet, sorry. I’ll try to look at it this week.

#7

BoldMinded (Brian)

Could you provide more info about this statement? “So when creating a new page, I cannot save the entry because it is missing a status.”

If the status is not being saved and you’re getting an error that sounds like a separate issue.

Did you try re-creating this in a new clean EE environment with the default install options of EE, Publisher, and Structure?

#8

BoldMinded (Brian)

James, any chance you could respond to my questions if you’re still seeing the issue?

#9

Megan Miriello

I apologize the alert must have threaded in my inbox. I cannot save the entry because I get an error saying I have not filled out a required field. This field is the Status field. I have not tried to recreate the issue in a fresh install at this time. I can do this in the coming week.

#10

BoldMinded (Brian)

Ok, this sounds like a different problem. Try increasing your max_input_vars in your php.ini to like 10,000. If you’re posting an entry form with a ton of input fields, which would happen if you’re using Grid/Matrix/Bloqs/Fluid, you may be running into an issue where it prevents all the form fields from being posted, thus EE is giving a random error at the last item not in the POST array. I’ve seen this happen several times.

#11

Megan Miriello

I increased max_input_vars to 10,000 with no luck and no luck at 100,000 as well. I can check in with Ellis Labs if that’s where you think the issue lies?

#12

BoldMinded (Brian)

I can take a peek at the CP, but you’d have to edit the ticket and add the login info, but this doesn’t sound like something Publisher would interfere with.

#13

Megan Miriello

Am I overlooking the edit button? I cannot find it but I’m sure I’m just missing it.

#14

Megan Miriello

I found it and submitted but the page just reloads on submission so let me know if it didn’t go through.

#15

BoldMinded (Brian)

I don’t know what edit button you’re talking about. This is all I see. https://www.dropbox.com/s/eeyxduw69rvs745/Screenshot 2018-09-11 17.15.45.png?dl=0

TBH, at this point, you’re going to need to provide a video of what you’re doing to clearly demonstrate the bug. Did you try setting the status parameter on the Structure tags to open? Have you tried re-creating in a fresh install? As it stands right now I don’t clearly understand the issue or see an obvious bug. This sounds like something else is involved.

#16

Megan Miriello

Sorry, I’m referring to the ticket system. I’m unable to edit the ticket until I submit a response to your last ticket. I attempted to submit the CP credentials but upon submission, it only reloads the page so I’m not sure if you are receiving the information.

#17

Megan Miriello

Comment has been marked private.

#18

BoldMinded (Brian)

Ok. Was the Status field left blank before you submitted it? What option is selected before you hit submit? You didn’t show that in the video.

#19

BoldMinded (Brian)

The CP login you added to the ticket no longer works.

#20

Megan Miriello

The status is empty when creating a new page prior to clicking save.

#21

Megan Miriello

I have updated credentials and verified they work.

#22

BoldMinded (Brian)

Ok, so that is the problem. Need to find out why status is empty. It should be defaulting to something. Does this happen on all entries, just this one, or just entries in that channel?

#23

Megan Miriello

It’s only happening on channels that are managed by Structure. Sounds like an issue with Structure, maybe? I’ll check in with them. Thanks for your help.

Login to reply