Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
b320bcef
Commit
b320bcef
authored
Oct 01, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Projectlist, errormessage for '_' in project name which is not allowed
parent
1ca1d276
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
wb/lib/wb/src/wb_pvd_pl.cpp
wb/lib/wb/src/wb_pvd_pl.cpp
+8
-2
No files found.
wb/lib/wb/src/wb_pvd_pl.cpp
View file @
b320bcef
...
...
@@ -246,7 +246,7 @@ bool wb_pvd_pl::check_list( pwr_tStatus *sts)
MsgWindow
::
message
(
'E'
,
msg
,
msgw_ePop_No
,
oid
);
error_cnt
++
;
}
if
(
strcmp
(
body
->
Version
,
""
)
==
0
)
{
else
if
(
strcmp
(
body
->
Version
,
""
)
==
0
)
{
sprintf
(
msg
,
"Version is missing, in object %s"
,
longname
(
m_list
[
i
].
oix
));
MsgWindow
::
message
(
'E'
,
msg
,
msgw_ePop_No
,
oid
);
error_cnt
++
;
...
...
@@ -264,7 +264,13 @@ bool wb_pvd_pl::check_list( pwr_tStatus *sts)
body
->
Path
[
strlen
(
body
->
Path
)
-
1
]
=
0
;
if
(
m_list
[
i
].
flags
&
procom_obj_mFlags_Created
)
{
if
(
strcmp
(
body
->
CopyFrom
,
""
)
==
0
)
{
if
(
strchr
(
body
->
Project
,
'_'
)
!=
0
)
{
sprintf
(
msg
,
"Invalid project name, '_' not allowed, in object %s"
,
longname
(
m_list
[
i
].
oix
));
MsgWindow
::
message
(
'E'
,
msg
,
msgw_ePop_No
,
oid
);
error_cnt
++
;
}
else
if
(
strcmp
(
body
->
CopyFrom
,
""
)
==
0
)
{
// Create project
// Check destination path
sprintf
(
cmd
,
"wb_pvd_pl.sh check create %s"
,
body
->
Path
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment