[daisy] [JIRA] Commented: (DSY-378) Better warning message when
blobstore is locked.
Bruno Dumon (JIRA)
issues at cocoondev.org
Wed May 30 03:42:46 CDT 2007
[ http://issues.cocoondev.org//browse/DSY-378?page=comments#action_13203 ]
Bruno Dumon commented on DSY-378:
---------------------------------
As a solution to solve some of the pain you might want to insert this into the error.xsl:
<xsl:if test="contains($pageURI, '/edit/')">
<p>
<b><a href="{$pageURI}">(Try to) go back to editor.</a></b>
</p>
</xsl:if>
This will allow one to go back to the editor, as long as the continuation id is still valid and it's not some sort of fatal bug.
For example insert it above the part where the normal error message is displayed:
<xsl:otherwise>
<!-- start of the new stuff -->
<xsl:if test="contains($pageURI, '/edit/')">
<p>
<b><a href="{$pageURI}">(Try to) go back to editor.</a></b>
</p>
</xsl:if>
<!-- end of the new stuff -->
<xsl:for-each select="exceptionChain/throwable">
<!-- The xsl:if test is for hiding the additional exception Cocoon wraps around exceptions that happen
in flow code (or actions when in a subsitemap) -->
<xsl:if test="not(@class='org.outerj.daisy.publisher.GlobalPublisherException' or starts-with(@message, 'Sitemap: error calling function') or starts-with(@message, 'Sitemap: error when calling sub-sitemap'))">
<xsl:value-of select="@message"/><br/>
</xsl:if>
</xsl:for-each>
<br/>
<br/>
<xsl:call-template name="exceptionDetails"/>
</xsl:otherwise>
BTW, we're well aware the editing situation is not ideal, but it will take time and money to resolve it.
> Better warning message when blobstore is locked.
> ------------------------------------------------
>
> Key: DSY-378
> URL: http://issues.cocoondev.org//browse/DSY-378
> Project: Daisy
> Type: Improvement
> Components: Frontend (wiki), Repository
> Versions: 1.5
> Reporter: Min Idzelis
> Priority: Minor
>
> Messages below often confuse our users. They should be more friendly. (Fields, Doctypes should not just specify the id - maybe the name of the field/doctype too)
> > Sitemap: error calling continuation
> > Received exception from repository server.
> > Problem storing document.
> > Error storing part data to blobstore.
> > Write access to the blobstore is currently disabled. Try again later.
>
> (the above happened when saving a document while it is locked)
> Sitemap: error calling continuation
> The document contains a not-allowed field (FieldType ID: 14).
> (This happens after the doctype had a field deleted, but a document still had a reference to that field)
> Having the name of the fieldtype would also be useful - also, a helpful hint like "Please delete this field before trying to save." would be helpful)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list