Comments (3)
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.
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.
@lotsaram Hi man, thanks for your notice. May I ask if it is a bug?
from bedrock.
Related Issues (20)
- hier.createfromrollup omitts the rollup if passed as alias not principal name
- hier.createfromsubset errors when attempting to write to rule calculated attributes
- SubsetAliasSet vs HierarchySubsetAliasSet HOT 2
- bedrock.hier.export & bedrock.hier.import should support localized attribute values
- Chore user not handled when getting user caption in server.executecommand
- }bedrock.security.group.delete.pro - incorrect line count for Prolog tab HOT 1
- bedrock.hier.create.fromattribute process not working properly with default params HOT 1
- }bedrock.chore.execution.check - inccorect determination of the day in the week HOT 3
- Planning Analytics version 12 and bedrock HOT 1
- }bedrock.cube.data.export - Transaction log left disabled when ProcessQuit is called
- }bedrock.cube.data.copy.intercube does not apply pDimDelim with more than 1 character correctly HOT 1
- }bedrock.cube.data.copy - watcher creates semaphore files for child threads HOT 1
- Sandbox and TI HOT 1
- bedrock.hier.import update to include Element Change Type HOT 2
- Bedrock.Dim.Destroy - pStrictErrorHandling param is string
- Bedrock.Dim.Sub.Delete - Blank dimension not changed to * when calling }bedrock.hier.sub.delete
- }bedrock.cube.data.export parallelisation doesn't produce cube name required for import
- Prolog of cube.view.create is truncated
- Cube rule gets deleted after removing a dimension from a cube HOT 2
- }bedrock.cube.data.import: Element checks fail with multi hierarchy dimensions HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bedrock.