Issue with Feed Block
Hi there, I noticed an issue with our Cascade instance with regards to using a feed block. I tried to create a Feed block using this URL:
Which Fails and gives me the following error:
An error occurred during creation: could not insert: [com.hannonhill.cascade.model.dom.Block]; SQL [insert into cxml_foldercontent (name, lockId, isCurrentVersion, versionDate, metadataId, permissionsId, workflowId, isWorkingCopy, parentFolderId, relativeOrder, cachePath, isRecycled, recycleRecordId, workflowComment, draftUserId, draftAssetFactoryId, siteId, ownedBy, prevVersionId, nextVersionId, displayName, title, summary, teaser, keywords, description, author, startDate, endDate, reviewDate, metadataSetId, expirationNoticeSent, firstExpirationWarningSent, secondExpirationWarningSent, expirationFolderId, originalCopyId, workingCopyId, xmlId, blockIndexedFolderId, blockIndexedContentTypeId, structuredDataDefinitionId, blockType, indexBlockType, blockFeedURL, blockIndexTypesBitmask, blockIndexContentBitmask, blockIndexOtherBitmask, blockSortOption, blockSortOrder, blockDepthOfIndex, blockIncludePageXML, blockMaxRenderedEntities, draftOriginalId, structuredDataId, blockTwitterAccountName, blockTwitterSearchString, blockTwitterQueryType, blockTwitterDefaultStyle, blockTwitterExcludeJquery, assetType, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 'BLO', ?)]; nested exception is org.hibernate.exception.DataException: could not insert: [com.hannonhill.cascade.model.dom.Block]
I am assuming this is due to the length of the Feed URL because when I used a link shortener tool to convert the link to: http://goo.gl/UqAKG3 it seemed to work just fine.
Just wanted to check my assumption. A max-length on the input box should fix that right up.
Thanks,
Brendon
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by birwin on 30 Sep, 2015 06:54 PM
One thing to note, you may not be able to check those URLs as they're internal.
Support Staff 2 Posted by Tim on 30 Sep, 2015 06:59 PM
Hey Brendon,
Your assumption is correct. Based on that database column, it looks like it will only accept up to 250 characters. I found this related idea if you want to go ahead and vote it up.
As you mentioned, a workaround in the meantime would be to use a URL shortener.
Apologies for the inconvenience there! Let me know if I can help with anything else.
Thanks
Tim closed this discussion on 16 Oct, 2015 06:04 PM.