Project

General

Profile

Actions

Bug #950

closed

dbo: natural ins seem to cause linkage errors when the model is used by QueryModel

Added by Boris Nagaev over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/12/2011
Due date:
% Done:

0%

Estimated time:

Description

Error message:

In function
    `void Wt::Dbo::id<Wt::Dbo::FromAnyAction, facts::CommentId>(Wt::Dbo::FromAnyAction&,
    facts::CommentId&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
/usr/include/Wt/Dbo/Field_impl.h:128: undefined reference to
    `void Wt::Dbo::FromAnyAction::actId<facts::CommentId>(facts::CommentId&,
    std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'

Possible work around:

namespace Wt {
namespace Dbo {

template<>
void id(FromAnyAction&, facts::CommentId&, const std::string&, int) {
    throw std::logic_error("Can't set CommentId from any");
}

}
}
Actions #1

Updated by Koen Deforche over 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.1.11

Hey Starius,

Indeed these were missing. I've implemented them now.

I'll push to the public git repo later today.

Regards,

koen

Actions #2

Updated by Koen Deforche over 12 years ago

  • Status changed from Resolved to Closed

Resolved in Wt 3.1.11

Actions

Also available in: Atom PDF