2017-06-28 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'web/rdxport/carts.cpp' and 'web/rdxport/import.cpp'
	that caused the 'EditCart' web API call to return an error when
	attempting to set the Title field to its current value when
	Allow Duplicate Cart Titles was not enabled.
This commit is contained in:
Fred Gleason
2017-06-28 14:05:43 -04:00
parent ce40efc569
commit bec5067090
5 changed files with 12 additions and 6 deletions

View File

@@ -167,7 +167,7 @@ class RDCart
static void removePending(RDStation *station,RDUser *user,RDConfig *config);
static unsigned readXml(std::vector<RDWaveData> *data,const QString &xml);
static QString uniqueCartTitle(unsigned cartnum=0);
static bool titleIsUnique(const QString &str);
static bool titleIsUnique(unsigned except_cartnum,const QString &str);
private:
static QVariant GetXmlValue(const QString &tag,const QString &line);