1a562cd8fef59468882dfb89925a40f6767ea8d5 lrnassar Thu Oct 1 15:53:05 2020 -0700 Shortening collection expry message in response to CR refs #26273 diff --git src/hg/lib/hubConnect.c src/hg/lib/hubConnect.c index bc0c6dc..76bd932 100644 --- src/hg/lib/hubConnect.c +++ src/hg/lib/hubConnect.c @@ -191,34 +191,34 @@ hub->id = id; hub->hubUrl = cloneString(row[0]); hub->status = sqlUnsigned(row[1]); hub->errorMessage = cloneString(row[2]); char *shortLabel = row[4]; if (isEmpty(row[2]) || hubTimeToCheck(hub, row[3])) { char *errorMessage = NULL; hub->trackHub = fetchHub( hub, &errorMessage); hub->errorMessage = cloneString(errorMessage); hubUpdateStatus( hub->errorMessage, hub); if (!isEmpty(hub->errorMessage)) { boolean isCollection = (strstr(hub->hubUrl, "hgComposite") != NULL); if (isCollection) - warn("It looks as though you made a <a href=\"/cgi-bin/hgCollection\"><b>Track " - "Collection</b></a> on a previous visit, which has since been deleted. Collections " - "expire 48 hours after their last use. You must <a href=\"/cgi-bin/hgSession\"><b>" - "save your session</b></a> to preserve collections long-term and to allow sharing."); + warn("You created a <a href=\"/cgi-bin/hgCollection\"><b>Track " + "Collection</b></a> that has expired and been removed. Track Collections " + "expire 48 hours after their last use. <a href=\"/cgi-bin/hgSession\"><b>" + "Save your session</b></a> to preserve collections long-term and to allow sharing."); else warn("Could not connect to hub \"%s\": %s", shortLabel, hub->errorMessage); } } } sqlFreeResult(&sr); return hub; } struct hubConnectStatus *hubConnectStatusListFromCartAll(struct cart *cart) /* Return list of all track hubs that are referenced by cart. */ { struct hubConnectStatus *hubList = NULL, *hub; struct slPair *pair, *pairList = cartVarsWithPrefix(cart, hgHubConnectHubVarPrefix); struct sqlConnection *conn = hConnectCentral();