Issue with Feed Block

birwin's Avatar

birwin

30 Sep, 2015 06:52 PM

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:

http://adc.wlu.ca/activedata/downloadevents.aspx?export=export&type=B&ctgrys=49-0&ihc=y&locs=0-0,4-0-0-0,4-18-0-0,4-17-0-0,4-23-0-0,5-0-0-0,6-0-0-0,3-0-0-0,3-3-0-0,3-5-0-0,3-6-0-0,3-4-0-0,3-7-0-0,3-19-0-0,3-20-0-0,3-8-0-0,3-16-0-0,3-22-0-0,3-1-0-0,3-21-0-0,3-21-2-0,3-10-0-0,3-9-0-0,3-14-0-0,3-14-1-0,3-12-0-0,3-13-0-0,3-11-0-0,3-2-0-0,3-15-0-0&fType=xml&dType=&xmlbinary=&sort=id

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

  1. 1 Posted by birwin on 30 Sep, 2015 06:54 PM

    birwin's Avatar

    One thing to note, you may not be able to check those URLs as they're internal.

  2. Support Staff 2 Posted by Tim on 30 Sep, 2015 06:59 PM

    Tim's Avatar

    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

  3. Tim closed this discussion on 16 Oct, 2015 06:04 PM.

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

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM