Giter VIP home page Giter VIP logo

Comments (3)

lotsaram avatar lotsaram commented on August 22, 2024 1

Hi @AnthonyCool yes I agree it's a bug. The behaviour should be the same as bedrock 3. If the view already exists it should be modified and not cause an error.

from bedrock.

lotsaram avatar lotsaram commented on August 22, 2024 1

Hi @AnthonyCool I investigated this and eventually was able to replicate. But it isn't a bug (except in how you are creating the view or calling the process ... one or the other).

You get the error because you do the ViewCreate with AsTemporary=FALSE but then you call }bedrock.cube.view.create with AsTemporary=TRUE

You can't assign a temp subset to a permanent view which is why you get the error.

We can test for ViewExists and SubsetExists but there is no way in TI to return if the object is temp or permanent so there is no way to trap this.

You need to add AsTemporary when doing the ViewCreate, or otherwise make sure this value is consistent. Or else just remove the pre ViewCreate in this instance since it serves no purpose.

Closing this issue.

from bedrock.

AnthonyCool avatar AnthonyCool commented on August 22, 2024

@lotsaram Hi man, thanks for your notice. May I ask if it is a bug?

from bedrock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.