﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
3095	Web Errors when clicking on collectors or donors on particular cooperators	Mark J. Millard	dbmulg	"The cooperators in the passport tabl on the public interface are giving public web errors.  Not all cooperators are a problem.  The coops on the passport page for these accessions are a problem:

https://npgsweb.ars-grin.gov/gringlobal/accessiondetail?accid=PI+441933
https://npgsweb.ars-grin.gov/gringlobal/accessiondetail?accid=Ames+21833

This one is OK:
https://npgsweb.ars-grin.gov/gringlobal/accessiondetail?accid=Ames+26693

Benjamin says the error log says this:

Exception information:
    Exception type: ArgumentException
    Exception message: Cannot set Column 'Name' property MaxLength to '100'. There is at least one string in the table longer than the new limit.
   at System.Data.DataColumn.set_MaxLength(Int32 value)
   at GrinGlobal.Business.SecureData.FinishProcessing(DataSet ds, Int32 languageID)
   at GrinGlobal.Business.SecureData.getData(Dictionary`2 dic, String dataviewNameOrSql, Int32 offset, Int32 limit, StreamWriter streamWriter, String streamFormat, Boolean prettyColumns, DataSet dsReturn, ReadOptions getOptions)
   at GrinGlobal.Business.SecureData.GetData(String dataviewNameOrSql, Dictionary`2 dic, Int32 offset, Int32 limit, String options)
   at GrinGlobal.Web.Utils.ReturnResults(String dataview, String ids)
   at GrinGlobal.Web.Cooperator.bindData(Int32 coopID)
   at GrinGlobal.Web.Cooperator.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Kurt says:This is caused by a quirk or how the Admin Tool set max field length in dataviews by matching to database fields. I've tested a fix on npgsdev. Would someone like to create a Trac ticket so this can be put on production?


"	defect	closed	medium		Public Website App.	N/A		fixed			N/A	N/A
