tag:help-archives.hannonhill.com,2010-02-09:/discussions/web-services/202-publishing-booleanCascade CMS: Discussion 2018-10-18T20:36:37Ztag:help-archives.hannonhill.com,2010-02-09:Comment/178727882012-08-07T15:02:11Z2012-08-07T15:02:11ZPublishing boolean<div><p>Hmm, weird. I wonder if this is a problem with the page. The
page in question has 5 publishable configurations: <a href=
"http://d.pr/i/upDg">http://d.pr/i/upDg</a><br>
However, when I try to publish the page, it only shows 4: <a href=
"http://d.pr/i/aFuc">http://d.pr/i/aFuc</a></p>
<p>Is there a maximum of publishing 4 configurations? When I
publish the page, or the site it's located in (via Cascade GUI),
all the configurations are published correctly. It's just WSDL
that's not working.</p></div>thugsbtag:help-archives.hannonhill.com,2010-02-09:Comment/178727882012-08-07T16:07:49Z2012-08-07T16:07:49ZPublishing boolean<div><p>Hi thugsb,</p>
<blockquote>
<p>First, it says it's optional, yet when I try to run a script
without setting it, it gives me this error...</p>
</blockquote>
<p>We have a <a href=
"https://hannonhill.jira.com/browse/CSI-408">known defect</a>
logged for this flag not properly defaulting to false and causing
the error message you encountered. Feel free to track its progress
to see if it is resolved in a future version of Cascade.</p>
<blockquote>
<p>Secondly, when I am including "'unpublish' => 'false'", it
seems to be unpublishing some of my configs, rather than publishing
them.</p>
</blockquote>
<p>Does this seem to only occur for this specific page, or all
pages?</p>
<blockquote>
<p>Is there a maximum of publishing 4 configurations? When I
publish the page, or the site it's located in (via Cascade GUI),
all the configurations are published correctly. It's just WSDL
that's not working.</p>
</blockquote>
<p>There shouldn't be a maximum number of configurations. Let me
see if our developers could take a look into this behavior and see
if they can provide any insight.</p>
<p>Please let us know if you have any questions.</p>
<p>Thanks.</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/178727882012-08-07T16:34:51Z2012-08-07T16:34:51ZPublishing boolean<div><p>| Does this seem to only occur for this specific page, or all
pages? It seems to be just for some configs of certain pages. It
doesn't unpublish other configs.</p>
<p>Thanks for contacting the devs for me.</p></div>thugsbtag:help-archives.hannonhill.com,2010-02-09:Comment/178727882012-08-09T21:14:41Z2012-08-09T21:14:41ZPublishing boolean<div><p>Hi,</p>
<p>When you have a chance, can you try changing your code from:</p>
<pre>
<code>'unpublish' => 'false'</code>
</pre>
<p>to:</p>
<pre>
<code>'unpublish' => false</code>
</pre>
<p>We are curious to see if it behaves any differently.</p>
<p>Let us know what you find.</p>
<p>Thanks!</p></div>Timtag:help-archives.hannonhill.com,2010-02-09:Comment/178727882012-08-10T13:02:55Z2012-08-10T13:02:55ZPublishing boolean<div><p>Ah yes, that makes the difference. Thanks!</p></div>thugsbtag:help-archives.hannonhill.com,2010-02-09:Comment/178727882012-08-10T13:06:40Z2012-08-10T13:06:40ZPublishing boolean<div><p>So that solves that part, but do you have any idea why the GUI
is only showing 4 publishable configs, instead of the 5 the page
has? Thanks!</p></div>thugsbtag:help-archives.hannonhill.com,2010-02-09:Comment/178727882012-08-10T13:07:55Z2012-08-10T13:07:55ZPublishing boolean<div><p>Haha, wait, sorry - someone had made the 1 config unpublishable!
Doh!</p></div>thugsb